iOS模拟器意外退出Xcode 10.1

时间:2019-01-12 13:42:23

标签: ios xcode appium simulator

通过Appium并行运行自动化测试(8个并发IOS模拟器)后,我无法再运行模拟器。原因尚不清楚。我试图重新安装Xcode(v10.1 v9.4),恢复了Mac OS,使用了killall -10 com.apple.CoreSimulator.CoreSimulatorService。当我运行模拟器时出现错误消息:

  

模拟器意外退出

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

有趣的一点:当我运行Appium测试时,仍然存在相同的错误,但是测试通过了,因为它看起来像Simulator仍然可以正常运行。

我在那发现了几乎相同的问题,但https://shirome9.wordpress.com/2016/11/27/xcode-quit-unexpectedly/

有点不同

你有什么主意吗?

1 个答案:

答案 0 :(得分:0)

我不知道问题的真正原因,但是我通过使用其他模拟器重新启动和打开解决了问题。