iOS simulator is not launching

蹲街弑〆低调 提交于 2019-11-29 03:19:03

I also have this issue and googled this, which redirect to this question. Mine was xcode10 What i have done is as follows

  1. Quit the simulator & Xcode.
  2. Opened Activity monitor, selected cpu option and search for sim, killing all the process shown as result.
  3. Then fired up the terminal and run sudo xcrun simctl erase all. It will delete all content of all simulators. By content if you logged in somewhere password will be gone, all developer apps installed in that simulator will be gone.

Doing these resolved my issue. Hope it helps.

swapnilagarwal

Under Product -> Scheme -> Edit Scheme, check these settings once.

None of the above solutions helped me.

I also tried

sudo killall -10 com.apple.CoreSimulator.CoreSimulatorService

And even after clean Xcode reinstallation my simulators continue closing after launching.

So i removed all simulators from Window - Device & Organizers

And then added new one's

And the problem has gone

In Xcode select Product > Scheme > Edit Scheme > Run > Options tab.

Confirm Launch due to a background fetch event is not selected.

See the image below ...

Long shot but in my case I just moved my Xcode to Applications and restarted Xcode.

Enable/change location in the xcode console. It worked for me.

This saved my day

sudo mkdir /private/tmp
sudo chmod 1777 /private/tmp

https://stackoverflow.com/a/48075384/6919038

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