问题描述
我在 M1 MacBook Pro 上运行 Xcode 12.2 (12B45b).每当我尝试在较旧的 iOS 上运行模拟器时,例如:
它不起作用.Xcode 弹出这个错误:
当我按下 时,会弹出一个屏幕显示:
详情启动 launchd_sim 失败:无法绑定到会话,launchd_sim 可能已崩溃或退出响应域:com.apple.SimLaunchHostService.RequestError代码:4——系统信息macOS 版本 11.0(内部版本 20A2411)Xcode 12.2 (17535) (Build 12B45b)时间戳:2020-12-06T12:41:11-08:00
但是,如果我运行像 14.2 这样的较新的 iOS,它可以完美运行.这是 Xcode 预装的运行时.
我看了这个问题,
顺便提一下,更新您的 M1 Mac 真的很快!实际上花了 20 分钟.
I'm running Xcode 12.2 (12B45b) on my M1 MacBook Pro. Whenever I try to run the simulator on an older iOS, for example:
It doesn't work. Xcode pops up this error:
When I press on , a screen pops up showing:
Details
Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding
Domain: com.apple.SimLaunchHostService.RequestError
Code: 4
--
System Information
macOS Version 11.0 (Build 20A2411)
Xcode 12.2 (17535) (Build 12B45b)
Timestamp: 2020-12-06T12:41:11-08:00
However, If I run a newer iOS like 14.2, it works perfectly. This was the runtime that came preinstalled with Xcode.
I looked at this question, iOS Simulator is Crashing on startup, but the answer is almost useless. Some other people have had the same problem on the Dev Forums, but no one has a solution yet either.
Edit: It seems there is a mention of this on the release notes for Xcode 12.2:
Seems like it's fixed in Big Sur 11.0.1!
As a side note, updating your M1 Mac is really fast! It literally took 20 minutes.
这篇关于在较旧的 iOS 模拟器上运行时,出现错误“无法启动 launchd_sim:无法绑定到会话,launchd_sim 可能已崩溃或退出响应"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!