Pages

Friday 8 July 2011

Application executable is missing a required architecture (armv6)

If you have recently migrated to XCode 4 from the previous version, after building and testing your application, you might face an issue during the upload through iTunesConnect. While uploading the the application the application loader reports an error "Application executable is missing a required architecture (armv6)".

There are several blogs talking about this problem and the solution they present are:




1. Make sure that your build architectures include both "armv6" and "armv7".
2. Make sure that the build setting "Build active architect Only" is set to "NO" or unchecked.
3. In the worst case you have to create a separate project and import all your source files, resource etc. This solution is not as easy as it sounds.


You have made sure that the build setting "Build active architect Only" is set to "NO". But you noticed that your "Architectures" section is only showing "armv7" as the supported architecture. Now you want to add "armv6" there but you don't see any option in the drop down.


Here's the work around for the problem: 


In the drop down list in the architectures section select "Others" and then click on the "+"  button and type in "armv6" manually and you are good to go.


Build, test and upload your application.

No comments:

Post a Comment