I am face this problem again and again. Anybody can give the solution of this problem except reboot the Mac?
I have already tried these tricks
simulator-->services-->a reset content and settings,
closing xcode and re-opening
xcode --> developer toos --> simulator -->(open the simulator),
quit simulator Activity monitor -->(the simulator is closed so nothing here to force close)First of all quit your simulator.
And then quit and restart Xcode.
And then run your project.Restart xcode and the simulator
I also have this issue and googled this, which redirect to this question. Mine was xcode10
What i have done is as follows
- Quit the simulator & Xcode.
- Opened
Activity monitor
, selectedcpu
option and search forsim
, killing all the process shown as result. - 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.
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
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/questions/29296360/ios-simulator-is-not-launching