Search code examples
iphoneiosxcode4.5targetsios6

Build for armv6 architecture (target iOS 3.1.3) with iOS 6 SDK and Xcode 4.5?


is there a chance to use the iOS 6 SDK to develop applications that target iOS 3.1.3? If I open my project with the old deployment target, the compiler warns me:

iOS deployment targets lower than 4.3 are not supported

This is probably due to the fact that apparently only armv7 and armv7s binaries can be built. If I add armv6 (working in devices until the iPhone 3G) manually, there are several warnings as well:

warning: no rule to process file '$(PROJECT_DIR)/main.m' of type sourcecode.c.objc for architecture armv6
...
...
warning: architecture armv6 is not supported (current ARCHS = "armv6 armv7 armv7s").

So how do I deal with this? Is there a way to support iOS 3.1.3 while developing with the iOS 6 SDK? If not, I will eventually have to move to the lowest target to be iOS 4.3. Is it even possible to submit a new version that supports only versions >= 4.3? What happens to my users on earlier versions? Are they simply not being informed about the incompatible update and hence going to continue to use the older version of my app? If not, can this be achieved?


Solution

  • With Xcode 4.5 (ie iOS 6 SDK) the lowest version you can build for is iOS 4.3. I guess it is time for your 3.1.3 customers to upgrade.