模拟器不启动 (Xcode 10 GM)

Simulators don't start (Xcode 10 GM)

我已经更新到 Xcode 10 GM,删除了 Xcode 10 测试版,但由于某些原因 none 模拟器永远不会启动。等待一段时间后,我得到这个错误:

The operation couldn’t be completed. (DVTCoreSimulatorAdditionsErrorDomain error 0.)

这是什么意思,我该如何解决?

所以,显然唯一的解决办法是重启你的 Mac

对此有很多可能的解决方案:

  1. 退出模拟器(快捷键:cmd + Q)重试

  2. 重置模拟器内容。 Select Simulator。转到 Hardware 选项卡 -> Erase All Content and Settings...

运行 xcrun simctl erase all 终端中的命令。

  1. 重启你的Mac机器

解决方案 2 对我有用!