关闭模拟器时出错

时间:2017-02-27 09:13:34

标签: ios ios-simulator xcrun simctl

xcrun simctl文档中有一个条目:

  

xcrun simctl shutdown booted - 关闭设备

当我从命令行调用它时,模拟器实际上并没有关闭,而是被冻结了。

如何解决这个问题?

我找到的唯一解决方法是通过进程ID 来终止模拟器。

killall "Simluator"

1 个答案:

答案 0 :(得分:0)

Simulator.app早于CoreSimulator,仍假设它拥有整个启动生命周期。您只应对通过“simctl boot”启动的设备使用“simctl shutdown”。