Today I want to share my discoveries about compiling an iOS app under Xcode 4.2. With every major release of Xcode and iOS SDKs comes a few surprises. With Xcode 4.2 and iOS 5 SDK, the problem is that under Xcode 4.2, the new default build architecture is ARMv7 only. The ARMv6 is no longer part of the default settings. So, this may be a problem is your application needs to run on older devices. In my case, a few build and linking errors prevented a successful build of my app.
- ARMv6 is for original iPod, iPod touch second gen, original iPhone and iPhone 3G.
- ARMv7 is for iPhone 3GS and up, original iPad and up.
Update: thanks for pointing me that iPod touch second gen was missing and about the wrong link to the article on StackOverflow.