简体   繁体   English

xcode iOS模拟器提示我“打开时选择包含iOS模拟器SDK的文件夹”。 我如何找到它?

[英]The xcode iOS Simulator is prompting me to “choose the folder containing the iOS Simulator SDK” on open. How do I find it?

I just installed xcode for the first time and I opened the iOS simulator. 我是第一次安装xcode,然后打开了iOS模拟器。 When I do it is requiring me to first "Please choose the folder containing the iOS Simulator SDK" and I have no idea how to located this. 执行此操作时,首先需要“请选择包含iOS Simulator SDK的文件夹”,我不知道如何定位该文件夹。 Does anyone know where it is? 有人知道它在哪里吗? All I went to do is start testing some mobile websites. 我要做的就是开始测试一些移动网站。

If you installed the latest Xcode from the app store it should have installed the sdk and set it up for you. 如果您从应用程序商店安装了最新的Xcode,则它应该已经安装了sdk并为您设置了它。 You could try reinstalling if this is how you got it, but check my next comment first... 如果是这样,您可以尝试重新安装,但是请先检查我的下一条评论...

If you installed Xcode some other way, it may not have come with an sdk. 如果您以其他方式安装Xcode,则可能未附带sdk。 You can check in preferences>Downloads to see if you can download it there (I don't remember if you can) or try the website: https://developer.apple.com/technologies/ios5/ 您可以在“首选项”>“下载”中查看是否可以在此处下载(我不记得是否可以下载),或者尝试以下网站: https : //developer.apple.com/technologies/ios5/

I followed the advice to look in Preferences | 我按照建议在“偏好设置” | Downloads and the installer was there. 下载和安装程序在那里。 It looks like an updated Xcode doesn't include device simulators by default. 默认情况下,更新的Xcode似乎不包括设备模拟器。

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

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