iOS Simulator会在系统更新后意外退出-无法启动Simulator.app

时间:2019-10-20 15:34:40

标签: ios xcode macos ios-simulator simulator

直到两天前,Xcode和模拟器都运行良好。我关闭了计算机,并安装了一些软件更新,包括macOS Catalina。我现在无法启动模拟器。它适用于任何设备,只是不会打开应用程序。我所看到的是以下内容:

simulator error

我还注意到,无论我退出或在命令行中杀死它们多少次,以下两个处理器都能使自己保持生命:

processes

我找到了类似的帖子,但是它很旧,并且没有如上所述的DeviceTypes文件夹。 https://shirome9.wordpress.com/2016/11/27/xcode-quit-unexpectedly/

我尝试了不同的方法,包括:

  • 删除DerivedData文件夹
  • 删除/ Library / Developer / Xcode文件夹
  • 将Xcode更新到11.1
  • 使用Xcode 10.3,其中的命令行工具实际上与Catalina OS不兼容。
  • 重新安装Xcode,在删除和重新安装的每个步骤中重新启动计算机
  • 删除CoreSimulator文件夹
  • 终端中的以下命令:

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

sudo killall -10 com.apple.CoreSimulator.CoreSimulatorService

xcrun simctl erase all

fastlane snapshot reset_simulators

这是当机报告的一部分:

Process:               Simulator [2411]
Path:                  /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier:            com.apple.iphonesimulator
Version:               11.1 (912.1)
Build Info:            Indigo-912001000000000~187
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Simulator [2411]
User ID:               501

Date/Time:             2019-10-20 11:58:37.080 -0300
OS Version:            Mac OS X 10.15 (19A602)
Report Version:        12
Bridge OS Version:     3.0 (14Y906)
Anonymous UUID:        22EA5B9E-426E-8952-358B-B710A2F7B37E

Sleep/Wake UUID:       1D8E834A-E0DC-4EFB-9E9F-591E94D88283

Time Awake Since Boot: 13000 seconds

System Integrity Protection: enabled

Crashed Thread:        1  Dispatch queue: com.apple.root.user-interactive-qos

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00007000006a8fd8
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Bus error: 10
Termination Reason:    Namespace SIGNAL, Code 0xa
Terminating Process:   exc handler [2411]

VM Regions Near 0x7000006a8fd8:
    __LINKEDIT             000000010e9e0000-000000010ea17000 [  220K] r--/r-- SM=COW  /usr/lib/dyld
--> STACK GUARD            00007000006a8000-00007000006a9000 [    4K] ---/rwx SM=NUL  stack guard for thread 1
    Stack                  00007000006a9000-000070000072b000 [  520K] rw-/rwx SM=COW  thread 1

Thread 0:: Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib          0x00007fff6e7de9f6 __ulock_wait + 10
1   libdispatch.dylib               0x00007fff6e643ca6 _dlock_wait + 44
2   libdispatch.dylib               0x00007fff6e643b35 _dispatch_thread_event_wait_slow + 36
3   libdispatch.dylib               0x00007fff6e653f51 _dispatch_apply_invoke_and_wait + 264
4   libdispatch.dylib               0x00007fff6e653a39 dispatch_apply_f + 761
5   com.apple.CoreFoundation        0x00007fff374db27f __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke.119 + 97
6   com.apple.CoreFoundation        0x00007fff3740d1dd CFPREFERENCES_IS_WAITING_FOR_SYSTEM_AND_USER_CFPREFSDS + 74
7   com.apple.CoreFoundation        0x00007fff374db037 -[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:] + 172
8   com.apple.CoreFoundation        0x00007fff37389aa3 -[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:] + 215
9   com.apple.CoreFoundation        0x00007fff37389500 -[CFPrefsSearchListSource alreadylocked_getDictionary:] + 360
10  com.apple.CoreFoundation        0x00007fff37389124 -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 152
11  com.apple.CoreFoundation        0x00007fff3738906c -[CFPrefsSource copyValueForKey:] + 47
12  com.apple.CoreFoundation        0x00007fff3738902a __76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 32
13  com.apple.CoreFoundation        0x00007fff3737284c __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 381
14  com.apple.CoreFoundation        0x00007fff3737247f -[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 364
15  com.apple.CoreFoundation        0x00007fff3737220e -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 145
16  com.apple.CoreFoundation        0x00007fff37371eb4 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 101
17  com.apple.Foundation            0x00007fff39a313e7 -[NSUserDefaults(NSUserDefaults) init] + 1367
18  com.apple.Foundation            0x00007fff39a39706 +[NSUserDefaults(NSUserDefaults) standardUserDefaults] + 66
19  com.apple.AppKit                0x00007fff345a2014 +[NSApplication initialize] + 87
20  libobjc.A.dylib                 0x00007fff6d336ca5 CALLING_SOME_+initialize_METHOD + 17
21  libobjc.A.dylib                 0x00007fff6d3375d6 initializeNonMetaClass + 638
22  libobjc.A.dylib                 0x00007fff6d3373a4 initializeNonMetaClass + 76
23  libobjc.A.dylib                 0x00007fff6d337b15 initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt<false>&, bool) + 214
24  libobjc.A.dylib                 0x00007fff6d329c5c lookUpImpOrForward + 969
25  libobjc.A.dylib                 0x00007fff6d329419 _objc_msgSend_uncached + 73
26  com.apple.AppKit                0x00007fff345a1ce2 NSApplicationMain + 366
27  libdyld.dylib                   0x00007fff6e693405 start + 1

Thread 1 Crashed:: Dispatch queue: com.apple.root.user-interactive-qos
0   com.apple.CoreFoundation        0x00007fff3736144a CFDictionaryGetValue + 75
1   com.apple.CoreFoundation        0x00007fff3738c419 __CFBinaryPlistCreateObjectFiltered + 93
2   com.apple.CoreFoundation        0x00007fff3738db6c __CFBinaryPlistCreateObjectFiltered + 6064

我们非常感谢您的帮助。由于这个问题,我正在浪费大量时间。

0 个答案:

没有答案