[英]IOS Simulator quit unexpectedly Xcode 10.1
After running automation tests via Appium in parallel (8 concurrent IOS simulators) I can't run simulator anymore.通过 Appium 并行运行自动化测试(8 个并发 IOS 模拟器)后,我无法再运行模拟器了。 Reason still is not clear.
原因还不清楚。 I tried to reinstall Xcode (v10.1 v9.4), recovered Mac OS, used
killall -10 com.apple.CoreSimulator.CoreSimulatorService
.我尝试重新安装 Xcode (v10.1 v9.4),恢复 Mac OS,使用
killall -10 com.apple.CoreSimulator.CoreSimulatorService
。 When I run simulator there it error message:当我在那里运行模拟器时,它会出现错误消息:
Simulator quit unexpectedly
模拟器意外退出
Process: Simulator [1439]
Path: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier: com.apple.iphonesimulator
Version: 10.1 (877)
Build Info: Indigo-877000000000000~218
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Simulator [1439]
User ID: 502
Date/Time: 2019-01-12 16:19:15.922 +0300
OS Version: Mac OS X 10.14.2 (18C54)
Report Version: 12
Bridge OS Version: 3.3 (16P53132a)
Anonymous UUID: 746485C4-4AA2-44F7-C299-5A58EB4FD0C5
Time Awake Since Boot: 170 seconds
System Integrity Protection: enabled
Crashed Thread: 7 Dispatch queue: com.apple.iphonesimulator.deviceCoordinatorQueue.457B5DF1-903C-41E0-A9B7-42D97AC96569
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000070000b351fe8
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [1439]
VM Regions Near 0x70000b351fe8:
Stack 000070000b2cf000-000070000b351000 [ 520K] rw-/rwx SM=COW thread 6
--> STACK GUARD 000070000b351000-000070000b352000 [ 4K] ---/rwx SM=NUL stack guard for thread 7
Stack 000070000b352000-000070000b3d4000 [ 520K] rw-/rwx SM=COW thread 7
Interesting point: when I run Appium test there is still the same error but test is passed as it looks like Simulator still works in headless.有趣的一点:当我运行 Appium 测试时,仍然存在相同的错误,但测试通过了,因为看起来模拟器仍然可以在无头模式下工作。
Approximately same issue I have found there but it is a little bit different https://shirome9.wordpress.com/2016/11/27/xcode-quit-unexpectedly/我在那里发现的问题大致相同,但有点不同https://shirome9.wordpress.com/2016/11/27/xcode-quit-unexpectedly/
Do you have any idea ?你有什么主意吗 ?
我不知道问题的真正原因,但通过重新启动并使用不同的模拟器打开,我得到了解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.