I am facing this problem again and again. Anybody can give the solution to this problem except reboot the Mac?
I have already tried these tricks
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 ...
I also have this issue and googled this, which redirect to this question. Mine was xcode10 What i have done is as follows
Activity monitor, selected cpu option and search for sim, killing all the process shown as result.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.
The following solved my issue
Long shot but in my case I just moved my Xcode to Applications and restarted Xcode.
In my case tmp directory was not there for some reason, creating it giving adequate permissions saved my day.
sudo mkdir /private/tmp
sudo chmod 1777 /private/tmp
https://stackoverflow.com/a/48075384/6919038