问题描述
- 看不到任何iOS 9.0模拟器.在以前的Xcode 7 beta 3中,一切正常.
- 无法安装iOS 8.3模拟器.
- 我也无法从组织器"中添加任何模拟器.通过按创建",没有任何反应.
- 每次尝试下载iOS模拟器时,我都会看到下一件事:
推荐答案
一个可能的问题是,可能安装了旧的剩余模拟器,这些模拟器与新的XCode不兼容,并且它们的存在会导致整个模拟器失败.为了摆脱它们,请删除/Library/Developer/CoreSimulator/Profiles/Runtimes
中的模拟器(对我而言,这是一个iOS 7模拟器,这就是问题所在).之后重新启动XCode.
One possible issue is that there may be old leftover simulators installed, which are not compatible with the new XCode, and their presence causes the whole Simulator to fail. To get rid of them, delete the simulators in /Library/Developer/CoreSimulator/Profiles/Runtimes
(for me there was an iOS 7 simulator there which was the issue). Relaunch XCode after this.
然后尝试从XCode->Open Developer Tool->Simulator
运行模拟器.假设此操作成功,请确认您在iOS Simulator菜单Hardware->Device->Manage Devices…
下具有模拟器–如果没有,则应该能够单击底部栏中的+
来添加一些iOS 9模拟器.再次重新启动XCode,它们应该显示在菜单中.
Then try to run the simulator from XCode->Open Developer Tool->Simulator
. Assuming this succeeds, verify that you have the simulators under the iOS Simulator menu Hardware->Device->Manage Devices…
– if not, you should be able to click the +
in the bottom bar to add yourself some iOS 9 simulators. Relaunch XCode again and they should show up in the menu.
这篇关于XCode7.iOS模拟器丢失,无法安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!