Is it possible to create an app iOS 4 - iOS 7 compatible with Xcode 5.0.2 on Mavericks?

℡╲_俬逩灬. 提交于 2019-12-04 23:52:27

问题


I need to develop an app who support iOS 4 - iOS 7, is it possible to do it on XCode 5.0.2 on Mavericks?

The lowest deployment target xcode provide me is iOS 6.


回答1:


In Project > Target > Build Settings > Architectures:

change the Architectures from Standard Architectures (including 64-bit) to Standard Architectures ,or if you want to support older devices, type armv6 armv7 armv7s in Others

Then, you can change the deployment target to lower versions (just type 4.0 or 4.3 in the Deployment Target box)

But why do you want to target iOS 4 still?




回答2:


Yes, supporting iOS4 is possible, the problem is supporting ARMv6 (iPhone 3G and iPod Touch 2G). To support ARMv6, you need iOS SDK 5.x with is available in Xcode 4.4. But you also need to support the widescreen iPhone resolution, so you need to use two different Xcode versions for it




回答3:


Try this , You will get the deployement Target till from lowerEnd . Its mainly due to the >XCode 5.0 choses by default architecture as including 64-bit this only supports >IOS 6.0

iPhone 5S is powered by A7 64bit processor. From apple docs

Xcode can build your app with both 32-bit and 64-bit binaries included. This combined binary requires a minimum deployment target of iOS 7 or later.

Note: A future version of Xcode will let you create a single app that supports the 32-bit runtime on iOS 6 and later, and that supports the 64-bit runtime on iOS 7.



来源:https://stackoverflow.com/questions/20327333/is-it-possible-to-create-an-app-ios-4-ios-7-compatible-with-xcode-5-0-2-on-mav

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!