I have an iPhone App which should run on armv7 as well as armv6. For debugging the App should run in the simulator too.
The Standard in Xcode 4.2 is this:
armv7 ($(ARCHS_STANDARD_32_BIT))
It is not clear to me what $(ARCHS_STANDARD_32_BIT) stands for and if I should use the two:
- $(ARCHS_STANDARD_32_BIT)
- armv6
Or all three like this
- armv6
- armv7
- i386
What is the best option for this in my case? And how does Architectures work with Valid Architectures
To run in the simulator you don’t have to do anything.
You can leave the
Valid Architecturessetting atarmv6 armv7, because, according to the docs:To support armv6 and armv7, set the architectures to
$(ARCHS_STANDARD_32_BIT) armv6, $(ARCHS_STANDARD_32_BIT) currently expands to armv7.Also check if there is a “Required device capabilities” =
UIRequiredDeviceCapabilitiessetting in your plist file, as Xcode will add armv7 for new projects there.