Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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:

enter image description here

Thanks!

like image 525
Aluminum Avatar asked Jul 24 '11 22:07

Aluminum


1 Answers

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.
like image 116
Sum Avatar answered Sep 21 '22 15:09

Sum