Unable to boot device in current state: Booted

2019-03-08 17:33发布

Any guess on "Unable to boot device in current state: Booted" error in Xcode6 beta while running (build+run) project in Simulator. I am just running my existing project in Xcode 6 I found above message. I tried cleaning, deleting of the derived data, even restarting the simulator doesn't work. Finally i restarted my Xcode 6 then it is working. Any simpler way to resolve the error instead of restarting your xcode6.

Screenshot for error

15条回答
不美不萌又怎样
2楼-- · 2019-03-08 17:55

Restarting the computer solved this for me. I restart very rarely so I would never normally have thought of this!

查看更多
Melony?
3楼-- · 2019-03-08 17:58

I just quit the Xcode and then remove all derrived data. Then relaunch Xcode and do cleaning, build it wait for it's indexing complete then run the project and issue get resolved.

查看更多
我只想做你的唯一
4楼-- · 2019-03-08 17:59

Quit iOS simulator. Change Target iOS Simulator to any other iPhone or iPad and then run app. Its working for me.

查看更多
冷血范
5楼-- · 2019-03-08 18:00

This will kill any booted/running simulators even if the .app is not shown:

xcrun simctl shutdown all
查看更多
可以哭但决不认输i
6楼-- · 2019-03-08 18:01

Applicable for Xcode 6.x, here is the command-line solution (type on Terminal window):

  1. xcrun simctl shutdown
  2. xcrun simctl erase
  3. open /Contents/Developer/Applications/iOS\ Simulator.app

Where is the id of the device you want to launch. You can get the list of devices and their UDIDs here:

  • xcrun simctl list
查看更多
甜甜的少女心
7楼-- · 2019-03-08 18:04

Delete all devices on Simulator->Hardware, and add them back, not working :(

Bug or not, restarting Xcode doesn't work for me; could not get Simulator back to work until restarting my computer and it seems the adding-back had failed before restarting.

查看更多
登录 后发表回答