iOS Simulator crashes after boot with “available but has no defaultDisplay”

倾然丶 夕夏残阳落幕 提交于 2019-11-28 17:10:07

问题


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?


回答1:


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

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