问题描述
从Xcode 4.5开始,不再提供构建armv6设备的可能性(iPhone / iPod touch第1代和第2代)。这意味着我们的iPhone 2G和3G应用程序没有新版本,这是非常不吉利的。有谁知道是否会有解决方法?我真的没有看到任何技术原因。
Starting with Xcode 4.5 the possibility of building for armv6 devices is not given anymore (iPhone/iPod touch 1st and 2nd generation). This means no new versions of our app for iPhone 2G and 3G which is very unlucky. Does anyone know if there will be a workaround? I really don´t see any technical reasons for this.
推荐答案
您可以安装多个版本的xcode。在过去,这是需要使用旧的xcode功能的修复。
You can have multiple versions of xcode installed. In the past, that has been the fix needing to use an older xcode feature.
这是一种解决方法,项目文件最终可能会以不再支持旧工具的方式发展,但目前,这将允许您构建对于旧目标。
It is a workaround, and the project files may eventually evolve in a way that no longer supports the older tools, but for the time being, that will allow you to build for older targets.
如果您想在两个版本的XCode中使用单个项目,那么您可能最终必须通过以下方式管理单独的项目控制文件源代码控制技巧和/或文件改组。
If you have a single project that you want to work with in both versions of XCode, then you may end up having to manage separate project control files via source control tricks and/or file shuffling.
我还建议项目结构更改和二进制文件管理(例如核心数据模型)通过旧版本发生,如XCode 4.5将向后兼容,但很少保证向前兼容。
I would also recommend that project structure changes and binary file management (e.g. Core Data models) happen via the old version, as XCode 4.5 will be backward compatible, but forward compat is rarely assured.
这篇关于iOS:在Xcode 4.5中完全没有办法构建armv6吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!