Xcode 9.0 simulators “disappeared”

别来无恙 提交于 2019-12-04 00:58:49

Delete every single one of the simulators listed in the Devices and Simulators window, one by one, and then start over make new simulators. That always works for me. It's a good idea after any upgrade, in fact.

In Xcode 10.3, I also lost all simulators but got them back by running

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

In case anyone else gets here and are in my situation, I just upgraded to XCode 9.2 and the simulators were all missing, but quitting and relaunching XCode restored them.

For me quitting and relaunching XCode also didn't help. So I did the following 3 steps.

Three steps

Step 1:

Product -> Destination -> Download Simulators... Download the simulator(s) you need

Step 2:

Sometimes when you download the new simulator types, they don't automatically show in the list of possible simulators.

Product -> Destination -> Add Additional Simulators... Click the + button in the lower left hand corner, then Add Simulator Give it a name, device type, and the iOS version you just downloaded.

Step 3:

Set proper deployment target. If you have downloaded simulators of lower versions,set the deployment target to the same.

Now it should show up in your list of simulator devices!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!