【问题标题】:IOS Simulator quit unexpectedly Xcode 10.1IOS模拟器意外退出Xcode 10.1
【发布时间】:2019-06-07 04:18:57
【问题描述】:

通过 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 测试时,仍然有同样的错误,但测试通过了,因为看起来模拟器仍然在无头模式下工作。

我在那里发现的问题大致相同,但有点不同https://shirome9.wordpress.com/2016/11/27/xcode-quit-unexpectedly/

你有什么想法吗?

【问题讨论】:

    标签: ios xcode appium simulator


    【解决方案1】:

    我不知道问题的真正原因,但我通过重新启动并使用不同的模拟器打开得到了解决。

    【讨论】:

      猜你喜欢
      • 2019-11-13
      • 2019-05-08
      • 1970-01-01
      • 1970-01-01
      • 2023-04-01
      • 2018-03-02
      • 1970-01-01
      • 2013-09-25
      • 1970-01-01
      相关资源
      最近更新 更多