Yesterday afternoon, when my colleague used xcode4.2 to submit an application to the appStore, the following error was prompted:
IPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture (s) must be present: armv6
As follows:
This error occurred, and I was puzzled. I tried several methods and failed. In desperation, I had to seek help from the great stackoverflow. The solution is translated as follows:
If your xcode version is 4.2 or later, try the following solution:
1. Click your project name (in the left column), and then click Target:
2. Click 'build settings' (in the right column ):
3. Open the 'ubuntures' tag, click the row named 'release' or 'stribution ', and select 'other ...':
4. Double-click the row named '$ (ARCHS_STANDARD_32_BIT)' To Make It editable. Delete the text and enter armv6. Click "+" in the lower left corner and enter armv7 in the displayed column. Click "done.
The above is the solution. If you try "build/archive" again, the above error message may not appear.
If the problem persists, try the link this answer from justinxreese, that is, add all the armv6 and armv7 information to "Required Device Capabilities" in your info. plist file.
Stackoverflow URL: http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-an-armv6-architecture-even-with-build-config
From the column zcl316369