I swear I am close to finally submitting an app with XCode 4.0.2. But i am afraid i've come across a pretty steep obstacle to hurdle now.
No matter what I do i always get 1-2 warnings related to the armv6 architecture. I have set both Project & Target build settings to use:
- Architectures: Standard (armv6 armv7)
- Base SDK: Latest iOS 4.3
- Build active architectures only: checked or unchecked doesnt seem to make a difference)
- Support platforms for Distribute: iphoneos
- Valid architectures: armv6 armv7
Upon archiving (to distribute to app-store) I always get these warnings:
- iphone apps should include an armv6 architecture (current ARCHS = "armv7").
- iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 (-19033)
Please help.
* UPDATE *
Just read somewhere that the Base SDK needs to be set to iOS 4.0 instead of "Latest iOS (iOS 4.3)". It built/archived without warnings.
* UPDATED AGAIN *
Disregard my previous update comment. The thing that caused a clean archive build was the unchecking of the "Build active architectures only" option. Not sure why it decided to build fine now cuz this checkbox wasn't checked initially, but only after i started changing things in trying to fix the warning in the first place.