XCode 4.2 Standard arm7 issue, ” At least one of the following architecture(s) must be present: armv6″
I want to send Sinemalar v3.0 in the App Store but when I try to upload it I get an error that armv6 is not supported in my app. armv6 is important for me because it required if your apps supports deployment targets below iOS 4.3.
XCode gives this error:
“iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 “
The latest Xcode 4.2 by default has architecture in “Valid artitectures” segment = $(ARCHS_STANDARD_32_BIT) which maps to armv7. But this is wrong. Becuase Xcode 4.1 has the same env variable, but it map to armv6 and armv7.
Finally, I found theese steps;
- Remove “valid architectures”
- restart XCode 4.2
- Use $(VALID_ARCHS) variable in “valid architecture” and “architecture” segments. $(VALID_ARCHS) map to arm6 , arm7 and i386 (for simulator)
