Tutoriel N° 1bf
XCode 4.2 maintain app compatibility with iOS 3.0
Releasing XCode 4.2, Apple makes it difficult to release applications with deployment target < iOS 4.3. It seems that Apple would like all early iPhone adopter to leave their device to change to a new one…. as iPhone 2 can not be updated higher than iOS 3.1.3.
I don’t like to leave potential user so I try to continue working with target on iOS 3.0.
The last thing I found is that, by default, the only architecture available in Build Settings is armv7.
Sure, you can still workaround that by modifying this setting like described above :
If the other answers don’t work for you (as was the case for me with Xcode 4.2), try the following:
1/ Click your Project name (in the left column), followed by the Target:
2/ Click the ‘Build Settings’ tab (in the right column):
3/ Click the ‘Distribution’ row under ‘Architectures’, and choose ‘Other…’
:
4/ Double click the highlighted row named ‘$(ARCHS_STANDARD_32_BIT)’ in the popover that appears, and replace it by typing ‘armv6'. Then add a new row with the plus button in the bottom left of the popover, and type 'armv7', then click Done:
That’s it. You should now be able to build/archive without generating errors.
Source:
http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-an-armv6-architecture-even-with-build-config