简体   繁体   English

如何在Xcode 5中添加iOS 6.0模拟器?

[英]How to Add iOS 6.0 Simulator in Xcode 5?

i want to add iOS 6.0 Simulator in Xcode 5 for that i add SDK in my Xcode 5 Content Folder From Xcode 4.5 like as 我想在Xcode 5中添加iOS 6.0模拟器,以便在Xcode 4.5的Xcode 5内容文件夹中添加SDK,如下所示

Xcode 4.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDK/iPhoneOS6.0SDKs/

And Copy this SDK Folder in Xcode 5 Folder as 并在Xcode 5文件夹中将该SDK文件夹复制为

Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDK/iPhoneOSSDKs 

folder but it is not Display iOS 6.0 In my Xcode 5 Simulator. 文件夹,但未在我的Xcode 5 Simulator中显示iOS 6.0。

Here i not want to Download so please Give me Solution With out Download Option. 在这里我不想下载,所以请给我没有下载选项的解决方案。

Copying SDK is just gives a support to that simulator but to view iOS 6.0 simulator in a list (simulator interface), You must have to download it. 复制SDK只是为该模拟器提供了支持,但是要在列表中(模拟器界面)查看iOS 6.0模拟器,必须下载它。

Of course it will work for the older OS SDKs, I mean copying older SDKs from older Xcode to newer Xcode SDKs will give you support to create build for older iOS version and it will also supports older OS version APIs, but it will not work for Simulator as you expected. 当然,它适用于较旧的OS SDK,我的意思是将较旧的SDK从较旧的Xcode复制到较新的Xcode SDK将为您提供支持,以为较旧的iOS版本创建版本,并且还支持较旧的OS版本API, 但不适用于该版本。模拟器如您所愿。

Try to understand that to copy sdks from Xcode 4.5 will not work for new APIs. 尝试了解从Xcode 4.5复制sdks不适用于新的API。 This can not be the way you are trying to do. 这不是您要尝试的方法。

You must have to follow the regular download way!! 您必须遵循常规下载方式!!

Click on Xcode preferences >> Go to Downloads section 单击Xco​​de 首选项 >>转到下载部分

在此处输入图片说明

Download simulator from Components section. 从“ 组件”部分下载模拟器。

Go to Xcode->Preferences->Downloads 转到Xcode->首选项->下载

From there you can download iOS 6 simulator. 从那里您可以下载iOS 6模拟器。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM