Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/108.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 关闭模拟器时出错_Ios_Ios Simulator_Xcrun_Simctl - Fatal编程技术网

Ios 关闭模拟器时出错

Ios 关闭模拟器时出错,ios,ios-simulator,xcrun,simctl,Ios,Ios Simulator,Xcrun,Simctl,在xcrun simctl文档中有一个条目: xcrun simctl shutdown启动-关闭设备 Bun当我从命令行调用它时,模拟器实际上并没有关闭,而是冻结了 如何解决这个问题 我发现的唯一解决方法是通过进程ID终止模拟器 Simulator.app早于CoreSimulator,并且仍然假设它拥有整个引导生命周期。您只能对通过“simctl boot”引导的设备使用“simctl shutdown”。您能给我一个如何使用simctl boot正确启动模拟器的示例吗??Simulator

xcrun simctl
文档中有一个条目:

xcrun simctl shutdown启动-关闭设备

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

如何解决这个问题

我发现的唯一解决方法是通过进程ID终止模拟器


Simulator.app早于CoreSimulator,并且仍然假设它拥有整个引导生命周期。您只能对通过“simctl boot”引导的设备使用“simctl shutdown”。

您能给我一个如何使用
simctl boot正确启动模拟器的示例吗?
?Simulator.app只能在其拥有生命周期的设备上正常工作;我们目前不支持将simctl引导/simctl关闭和Simulator.app混合使用。大多数其他simctl命令与Simulator.app启动的设备一起工作。
killall "Simluator"