iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture

≡放荡痞女 提交于 2020-01-10 09:33:04

问题


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.)

  1. 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)
  2. Set Base SDK to Latest iOS (currently set to iOS …)
  3. Uncheck Build Active Architecture Only or set it to NO.
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!