是否可以在Xcode 5上安装iOS 6 SDK? [英] Is it possible to install iOS 6 SDK on Xcode 5?

查看:140
本文介绍了是否可以在Xcode 5上安装iOS 6 SDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 5有一个首选项窗格,允许用户下载iPhone 6.1模拟器,但我找不到允许下载iOS 6 SDK的地方,因此在开发时无法将活动SDK设置为iOS 6使用Xcode 5.是否有允许Xcode 5安装iOS 6 SDK的解决方法?

Xcode 5 has a preferences pane that allow one to download iPhone 6.1 simulator, however I can't find a place where it allows downloading of iOS 6 SDK, thus it is not possible to set the active SDK to iOS 6 when developing with Xcode 5. Is there a workaround that would allow Xcode 5 to install iOS 6 SDK?

编辑:

现在Xcode 5通常可用并且允许您下载以前版本的SDK,因此不再需要变通办法。

Workarounds should no longer be necessary now that Xcode 5 is generally available and allows you to download previous versions of the SDK.

推荐答案

编辑:从2014年2月1日开始,Apple将不再接受iOS7之前的应用程序提交到App Store。所以虽然这种技术仍然有效,但对大多数读者来说都没用。

Starting Feb 1, 2014, Apple will no longer accept pre-iOS7 apps for submission to App Store. So while this technique still works, it will not be useful for most readers.

是的,这很好。我仍然使用iOS 4.3为一个项目构建(自我们更新以来已经有一段时间了;但是在iOS 6发布后它们仍然接受了它),我目前使用Xcode 5构建了10.5个应用程序。

Yes, this is fine. I still build with iOS 4.3 for one project (it's been awhile since we updated; but they still accepted it after iOS 6 came out), and I currently build 10.5 apps with Xcode 5.

参见如何将Xcode指向旧的SDK,以便它可以用作基本SDK?,以获取有关如何设置它的详细信息。每次你可以使用我的 fix-xcode
脚本为你链接一切升级。

See How to point Xcode to an old SDK so it can be used as a "Base SDK"? for details on how to set it up. You can use my fix-xcode script to link everything for you every time you upgrade.

唯一的技巧就是获取旧的SDK。如果您没有它们,通常需要下载旧版本的Xcode(仍可在 developer.apple.com ),打开安装程序包,然后寻找所需的SDK。

The only trick is getting the old SDKs. If you don't have them, you generally need to download old versions of Xcode (still available on developer.apple.com), open the installer package, and hunt around to find the SDK you need.

SDK可以在安装程序包中找到:

SDKs can be found within the installer package at:


Xcode.app/Contents/Developer/Platforms /

Xcode.app/Contents/Developer/Platforms/

这篇关于是否可以在Xcode 5上安装iOS 6 SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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