问题
I have a problem :-( When I build my application for release XCode shows a warning saying:
iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7").
But how can I set armv6
in my build settings? I'm using XCode 4.2
and here's my build settings:
Thanks!
回答1:
I haven't used the version, but the current Xcode won't support signing for iOS 2.0 , so when iOS 5 comes out, 3.0 might have the same issue of not being supported
This is from http://www.weston-fl.com/blog/?p=3050 (This site has helped me resolve so many errors, so props to Mike D.)
- In Xcode navigate to Build Settings and find Architectures group (it’s on the top, so hard to miss). Add armv6 to Architectures line. It should contain armv6, armv7 or Standard (armv6 armv7)
- Set Base SDK to Latest iOS (currently set to iOS …)
- Uncheck Build Active Architecture Only or set it to NO.
- Valid Architectures must show armv6 armv7 When your project uses your own dependent libraries, build them with the same (correct) configuration.
来源:https://stackoverflow.com/questions/6810205/iphone-apps-with-a-deployment-target-lower-than-4-3-should-include-an-armv6-arch