ios编译运行提示:unable to boot ios simulator

来源:互联网 发布:数据还原 编辑:程序博客网 时间:2024/06/02 23:16

Unable to run app in Simulator

An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)


国外大神的办法:

  1. Close Xcode and iOS Simulator (and all related applications)

  2. Install (or reinstall) Xcode6-Beta to Applications folder (direct from the .dmg file)

  3. 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)

  4. Launch the iOS Simulator and go to iOS Simulator -> Reset Content and Settings...

  5. Close all the applications and restart your mac (I unchecked "Reopen windows...")

  6. Open Xcode6-beta and test the iOS Simulator


0 0
原创粉丝点击