iOS 模拟器在启动时崩溃 [英] iOS Simulator is Crashing on startup

查看:94
本文介绍了iOS 模拟器在启动时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 Xcode 12 与 iOS 13.4 模拟器一起使用.启动时,我收到此崩溃报告.

I am using Xcode 12 with the iOS 13.4 Simulator. On bootup, I get this crash report.

无法启动launchd sim:无法绑定到会话,launchd sim可能已崩溃或退出响应.

Failed to start launchd sim: could not bind to session, launchd sim may have crashed or quit responding.

这是什么原因造成的?它适用于 Xcode 11,但不适用于 Xcode 12.

What can cause this? It works in Xcode 11 but not in Xcode 12.

推荐答案

所以问题是我的项目有权限,它只能在 sudo 模式下运行.当我尝试以 sudo 模式运行模拟器时,它失败了.我必须更改我的项目的权限,才能在非 sudo 模式下运行.发生这种情况后,我可以完美地运行 iOS 模拟器.

So it problem was my project had permissions that it can only run in sudo mode. When I tried to run the simulator in sudo mode, it failed. I had to change the permissions of my project, to be able to run in non sudo mode. When this happened, I could run the iOS simulator perfectly fine.

这篇关于iOS 模拟器在启动时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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