xcode 4.3 和 iOS SDK 5.1 问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9825877/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 23:45:04  来源:igfitidea点击:

xcode 4.3 and iOS SDK 5.1 trouble

iphoneiosxcodeipadsdk

提问by Hymansbox

hm, i have an strange problem... i just wanted to test an app on my ipad but i cant deploy it, because my ipad runs ios 5.1 and in xcode i can only select a deployment target up to 5.0.

嗯,我有一个奇怪的问题...我只是想在我的 ipad 上测试一个应用程序,但我无法部署它,因为我的 ipad 运行 ios 5.1,而在 xcode 中,我只能选择高达 5.0 的部署目标。

So, i think i have to install the new SDK for 5.1 - but how? I cant download xcode 4.3.2 (which includes the new sdk) because in the "App store" it says "installed" - if i open the "about xcode" tab in xcode, the version there is 4.3 (not 4.3.2)...

所以,我想我必须为 5.1 安装新的 SDK - 但是如何安装?我无法下载 xcode 4.3.2(其中包括新的 sdk),因为在“App Store”中显示“已安装”-如果我在 xcode 中打开“关于 xcode”选项卡,则版本为 4.3(不是 4.3.2) ...

what can/should i do to install the new sdk?

我可以/应该怎么做才能安装新的 sdk?

回答by Sebastian Flückiger

try your organizer > Downloads > Components (check & install) > iOS 5.1 support

试试你的组织者 > 下载 > 组件(检查和安装)> iOS 5.1 支持

you can find the organizer in the top right corner of your xcode.

您可以在 xcode 的右上角找到组织者。

also you can check in your App Store the tab 'updates' if an updated version of your xcode is available.

如果您的 xcode 有更新版本,您也可以在 App Store 中查看“更新”选项卡。

回答by Ian L

Check you are opening the correct version of XCode from the Applications folder.

检查您是否从 Applications 文件夹中打开了正确版本的 XCode。

XCode is now installed in there when you get the latest from the App Store. You may possibly be using an old shortcut to the previous version in the Developer folder?

当您从 App Store 获取最新版本时,XCode 现在已安装在其中。您可能正在使用 Developer 文件夹中先前版本的旧快捷方式?