Until two days ago, Xcode and simulators were working perfectly fine. I turned the computer off and some software updates got installed, including macOS Catalina). I am now unable to launch Simulator. It's for any device, it simply doesn't open the application. All I see is "simulator quit uenxpectedly"
I've also noticed that Simulator and processors keep themselves alive no matter how many times I quit them or kill them from command line:
com.apple.CoreSimulator.CoreSimulatorService
Simulator
I found similar posts, but they are at least three years old and got a /DeviceTypes folder withing /Developer which I don't.
I have tried different approaches, including:
- Deleting DerivedData folder
- Deleting /Library/Developer/Xcode folder
- Updating Xcode to 11.1
- Usinng Xcode 10.3, where the command line tools are actually incompatible with Catalina OS.
- Reinstalling Xcode, restarting my machine at every step of the deletion and reinstallation
- Deleting CoreSimulator folder
- The following commands in terminal:
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
sudo killall -10 com.apple.CoreSimulator.CoreSimulatorService
xcrun simctl erase all
fastlane snapshot reset_simulators
Here's a part of the crash report. I can provide the full logs if needed:Searched for the the exception types annd codes, and all I found was for real devices, not simulators.
Any help is appreciated, as I am losing serious time with this issue.
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