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

自作多情 提交于 2019-12-06 03:33:57

问题


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:

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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/18917740/how-can-i-build-for-ios-6-with-xcode-5

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