问题描述
我最近在OS X Mavericks中安装了Xcode Version 6的测试版,其中iOS 8的iOS模拟器。我已成功在iOS 8 Beta的设备上运行Xcode 6 beta,但打开了模拟器总是得到同样的错误,我试图在模拟器中更改iPhone 4s,iPhone 5,...的硬件版本,仍然给出相同的错误:无法启动iOS模拟器。
我在网上找到了一些解决方案后,程序组合起了作用:
-
关闭Xcode和iOS模拟器(及所有相关应用程序)
-
安装(或重新安装)Xcode6-Beta到Applications文件夹(直接来自.dmg文件)
-
打开Xcode6-Beta并转到Xcode - > Preferences - > Locations - >命令行工具并选择Xcode 6.0(确保您已选择应用程序文件夹中的那个)
-
启动iOS模拟器并转到iOS模拟器 - >重置内容和设置...
-
关闭所有应用程序并重启mac(我取消选中重新打开Windows ...)
-
打开Xcode6-beta并测试iOS模拟器
祝你好运
I recently installed the beta of Xcode Version 6 in OS X Mavericks, with which comes the iOS simulator for iOS 8. I've managed to successfully run from Xcode 6 beta on a device with iOS 8 Beta, but opening the simulator always get the same error I have tried to change the hardware version of iPhone 4s, iPhone 5, ... in the simulator and still gives the same error: "Unable to boot the iOS Simulator".
I'm working with Xcode 5.1 at the same time in Mavericks, any suggestion to solve this? Is a possible problem for run this simulator in Mavericks because is only for OS X 10.10? Thanks.
After I found some solutions on the web, a combination of procedures worked for me:
Close Xcode and iOS Simulator (and all related applications)
Install (or reinstall) Xcode6-Beta to Applications folder (direct from the .dmg file)
Open Xcode6-Beta and go to Xcode -> Preferences -> Locations -> Command Line Tools and select "Xcode 6.0" (be sure that you've selected the one in Applications folder)
Launch the iOS Simulator and go to iOS Simulator -> Reset Content and Settings...
Close all the applications and restart your mac (I unchecked "Reopen windows...")
Open Xcode6-beta and test the iOS Simulator
Good luck
这篇关于使用iOS 8测试版打开iOS模拟器时出错:“无法启动iOS模拟器”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!