如何修复 Xcode 9 中的“无法启动设备”错误消息?

Tar*_*riq 0 boot xcode simulator ios11 xcode9

Unable to determine simulator device to boot删除~/Library/Developer/CoreSimulator/Devices目录后,我始终收到错误消息。

尝试重新启动 xcode,清理构建,但没有任何效果!

Mac*_*wia 7

只需xcrun simctl erase all在终端中运行 。它帮助了我。