Dealing with “missing a required architecture – armv6″ error

While trying to submit the version 3.0 of skippers.tv app to the Apple App Store we found following issue:

iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6

 

As it doesn’t seem to be an isolated issue trivial to solve, I’d like to share how to we managed to fix it. We found the good hint in a comment of this post. On the setting Project -> Build Settings -> Architectures -> Release, we selected “Other…” and we removed $(ARCHS_STANDARD_32_BIT), and we added two values: first “armv6” and second “armv7“. The project settings were like this:

Project "armv6" and "armv7" settings

Making the changes at project level propagates the value in the corresponding target:

Target "armv6" and "armv7" overridden settings

I hope this can help other people facing the same issue.

Did it work for you? Did you find another solution? Do please share it in the comments. Thanks!