如何使用Xcode 5为iOS 6构建? [英] How can I build for iOS 6 with Xcode 5?

查看:97
本文介绍了如何使用Xcode 5为iOS 6构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了新的Xcode 5.0,但我想为iOS 6构建一个应用程序......

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

如何从Xcode 5.0中做到这一点?或者我是否需要安装Xcode 4版本以便我可以这样做?

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确实允许我更改部署目标,如下面的屏幕所示:

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

但它不让我使用较旧的Base SDK

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

推荐答案

首先,您需要下载要构建的旧Xcode。
之后,将.sdk复制到旧Xcode的文件夹中 /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/platform/SDK

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

并将其粘贴到同一个文件夹中,但现在,从Xcode 5.0

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

现在,你应该是能够在项目的构建设置选项卡下,在Base SDK下选择安装在该文件夹上的所有.sdk。

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.

这篇关于如何使用Xcode 5为iOS 6构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆