While running a project into the simulator, it crashes after booting:
Crash: 'NSInternalInconsistencyException', reason: 'Device <redacted>, Booted) is available but has no defaultDisplay'
I already cleaned the project files and changed the iOS image but it crashes anyway. Any clue?
ricardopereira
Close all simulators and just run
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
to restart the service. All simulators will launch as usual.
来源:https://stackoverflow.com/questions/51708445/ios-simulator-crashes-after-boot-with-available-but-has-no-defaultdisplay