1

I'm trying to set deployment target to 5.x in Xcode 5.1.1 but I can see min is 6.0. So I'm trying to select Architecture to armv7 alone, but I couldn't see that as below.

enter image description here

And If I try to manually enter 5.0 into deployment target field, I get below error.

enter image description here

So Is it possible to set 5.x in Xcode 5.1.1? If no, any other way to do this?

Note: According to apple's news, From May15, we have to take upload on xcode 5.1.1...

Mani
  • 17,549
  • 13
  • 79
  • 100
  • @matt fine. but This is requirement we cann't change it for development problems. If there is no solution for this, I'll go with this solution. – Mani May 16 '14 at 04:47
  • @matt Ya accept with you.. – Mani May 16 '14 at 05:27

2 Answers2

2

As @Chitra pointed out, you can type in a value into that field manually. If you type 5.1.1 then both 32bit and 64bit architectures are selected automatically by Xcode and there's no need to fiddle with architectures (add/remove/anything). So your app will use the correct 64bit binaries on capable hardware.

If you select anything lower than 5.1.1 then all your binaries will be compiled in 32bit only.

This was a new Xcode feature in 5.0.1 I believe. Here's the complete guide: https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/Introduction/Introduction.html

Jay Versluis
  • 2,062
  • 1
  • 19
  • 18
-1

You can directly type a different target (5.0, 5.1, etc) into the text box :)

The only thing to note is you will need to change the architecture to exclude ARM64 if you go below 7.0.

EDIT

Build Settings > iOS Deployment Target

Here no need to exclude ARM64. I checked it

enter image description here

Chitra Khatri
  • 1,260
  • 2
  • 14
  • 31