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

2019-04-09 04:53发布

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

标签: ios xcode5
2条回答
女痞
2楼-- · 2019-04-09 05:17

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

enter image description here

查看更多
叛逆
3楼-- · 2019-04-09 05:26

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.

查看更多
登录 后发表回答