引导后,iOS模拟器会崩溃,显示“可用,但没有defaultDisplay". [英] iOS Simulator crashes after boot with "available but has no defaultDisplay"

查看:80
本文介绍了引导后,iOS模拟器会崩溃,显示“可用,但没有defaultDisplay".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在模拟器中运行项目时,启动后它会崩溃:

While running a project into the simulator, it crashes after booting:

Crash: 'NSInternalInconsistencyException', reason: 'Device <redacted>, Booted) is available but has no defaultDisplay'

我已经清理了项目文件并更改了iOS映像,但是它仍然崩溃.有任何线索吗?

I already cleaned the project files and changed the iOS image but it crashes anyway. Any clue?

推荐答案

关闭所有模拟器并运行

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

重新启动服务.所有模拟器都将照常启动.

to restart the service. All simulators will launch as usual.

这篇关于引导后,iOS模拟器会崩溃,显示“可用,但没有defaultDisplay".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆