gpt4 book ai didi

IOS 模拟器意外退出 Xcode 10.1

转载 作者:行者123 更新时间:2023-12-03 21:14:30 25 4
gpt4 key购买 nike

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

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

有趣的一点:当我运行 Appium 测试时,仍然存在相同的错误,但测试通过了,因为看起来模拟器仍然可以在 headless 模式下工作。

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

你有什么主意吗 ?

最佳答案

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

关于IOS 模拟器意外退出 Xcode 10.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54160143/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com