Upgraded to MacOS Ventura and since then, the tvOS Simulator always crashes just after launching with the following message:
rosetta error: unable to get state for thread the runtime suspended
Tried with Xcode 14.0 & 14.1. Both displays same behaviour. But, when I tried with a newly created tvOS app, it doesn't had any issues. But, the rosetta error is creating confusion. Same app is working for other developers in their simulator.
Detailed Error Report is as follows:
Incident Identifier: C6F292AE-17D3-4DCA-9F5A-E3159044E994
CrashReporter Key: C2CA0298-286B-1698-1DF3-EBF4DDE98FEE
Hardware Model: MacBookPro18,1
Process: **** [78553]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/D4D254F8-517E-4466-9245-******/data/Containers/Bundle/Application/************
Identifier: com.***.***.***
Version: 1.0.0 (1)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [78465]
Coalition: com.apple.CoreSimulator.SimDevice.D4D254F8-517E-4466-9245-61B515B5E11C [10286]
Responsible Process: SimulatorTrampoline [5643]
Date/Time: 2022-11-03 17:52:57.5440 +0530
Launch Time: 2022-11-03 17:51:56.6992 +0530
OS Version: macOS 13.0 (22A380)
Release Type: User
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00007ff7ffd4a9a0
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [78553]
Triggered by Thread: 2
Thread 0:: Dispatch queue: com.apple.main-thread
0 ??? 0x7ff7ffd4f6b8 ???
1 ??? 0x10583a874 ???
2 libsystem_platform.dylib 0x114848c33 _sigtramp + 51
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7ffd4310c ???
1 ??? 0x7ff7ffd3c764 ???
Thread 2 Crashed:: com.apple.rosetta.debugserver
0 ??? 0x7ff7ffd4a9a0 ???
1 ??? 0x7ff7ffd4a998 ???
Thread 3:
0 ??? 0x7ff7ffd4f87c ???
Thread 4:: com.apple.uikit.eventfetch-thread
0 ??? 0x1057489a8 ???
1 ??? 0x10583a874 ???
2 libsystem_kernel.dylib 0x1147d667d mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x1147cf71a mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x1147c8989 mach_msg + 19
5 CoreFoundation 0x10ffffac1 __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x10fffa380 __CFRunLoopRun + 1371
7 CoreFoundation 0x10fff9a6d CFRunLoopRunSpecific + 560
8 Foundation 0x11320f13a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
9 Foundation 0x11320f3b3 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
10 UIKitCore 0x126b11b38 -[UIEventFetcher threadMain] + 364
11 Foundation 0x1132383c2 __NSThread__start__ + 1009
12 libsystem_pthread.dylib 0x114914259 _pthread_start + 125
13 libsystem_pthread.dylib 0x11490fc7b thread_start + 15