Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I build for iOS 6 with Xcode 5? [closed]

Tags:

ios

xcode5

I have already downloaded the new Xcode 5.0, but I wanted to build an app for iOS 6...

How can I do that from Xcode 5.0? Or do I need to have a version of Xcode 4 installed so I can do that?

Xcode does let me change the deployment target as the screen below: deployment targer

But it doesn't let me use a older Base SDK

enter image description here

like image 588
Alexandre Lins Avatar asked Sep 20 '13 13:09

Alexandre Lins


2 Answers

Just set the Deployment Target to iOS6, in the configuration of the project:

enter image description here

like image 71
Antonio MG Avatar answered Oct 12 '22 00:10

Antonio MG


First of all you need to download the older Xcode you want to build for. After that, you copy the .sdk in the folder of the older Xcode /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/platform/SDK

and paste it in the same folder, but now, from the Xcode 5.0

Now, you should be able to choose between all the .sdk installed on that folder under the "Build settings" tab of your project, under Base SDK.

like image 21
Alexandre Lins Avatar answered Oct 12 '22 01:10

Alexandre Lins