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

查看:22
本文介绍了是否可以在 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 上找到)a>),打开安装包,四处寻找你需要的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天全站免登陆