问题
I am getting this error when i try to archive my project:
warning: iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 (-19033) Unable to validate your application. - (null)
I have checked my build settings but i just don't see ARM6 in the options, only 7.
Any help will be appreciated.
Shni
回答1:
Manually add armv6 in 'PROJECT' by double clicking the armv7 bit, deleting what's there and adding armv6 and armv7.
回答2:
- Set "Build Active Architecture Only" to NO;
- Change $(ARCHS_STANDARD_32_BIT) to armv6 and armv7;
- Make changes in "PROJECT", not "TARGETS".
回答3:
In addition to adding the armv6 architecture, I had to remove the armv7 entry from my apps info.plist "Required Device Capabilities" entry in order to get my app to run on my old iTouch.
来源:https://stackoverflow.com/questions/6299996/arm6-is-missing-in-my-build-settings