All app crashes upon launch after upgrading to Monterey on M1 with this error

Incident Identifier: 0120E59B-934C-4F55-B35E-E0BEA32A0912 CrashReporter Key: 0EFFD5AD-F351-AC39-86B5-8CC273B37EFF Hardware Model: MacBookPro17,1 Process: Runner [3189] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/BB8DA5E7-D3C6-4F20-BF7C-B72B2092441B/data/Containers/Bundle/Application/B85F43AA-1DA7-4155-BBAD-2D79794A87BB/Runner.app/Runner Identifier: com.example.test Version: 1.0.0 (1) Code Type: X86-64 (Native) Role: Foreground Parent Process: launchd_sim [509] Coalition: com.apple.CoreSimulator.SimDevice.BB8DA5E7-D3C6-4F20-BF7C-B72B2092441B [596] Responsible Process: SimulatorTrampoline [488]

Date/Time: 2021-06-18 02:58:02.5885 +0500 Launch Time: 2021-06-18 02:57:59.8846 +0500 OS Version: macOS 12.0 (21A5248p) Release Type: User Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 VM Region Info: 0 is not in any region. Bytes before following region: 4310077440 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
mapped file 100e69000-100e6d000 [ 16K] r-x/r-x SM=COW ...t_id=2467e501 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [3189]

Triggered by Thread: 0

Application Specific Information:

Thread 0 Crashed: 0 ??? 0x7ff7ffdfabd8 ??? 1 0x100e9de5c ??? 2 dyld 0x20102f88f dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 890 3 dyld 0x20102e6b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244 4 dyld 0x20102e4b4 start + 388 5 ??? 0x3 ???

Thread 1:: com.apple.rosetta.exceptionserver 0 ??? 0x7ff7ffde7320 ??? 1 ??? 0x7ff7ffe001a0 ???

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000108ef4af8 rcx: 0x0000000000000000 rdx: 0x0000000000000001 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000109591000 r8: 0x270529b6e6b600a7 r9: 0x0000000000000000 r10: 0x0000000109591000 r11: 0x00000001093b4010 r12: 0x0000000000000000 r13: 0x00000001093b4060 r14: 0x000000020109d080 r15: 0x0000000000000000 rip: rfl: 0x0000000000000283 tmp0: 0x0000000100e8bc64 tmp1: 0x0000000100e8af8c tmp2: 0x0000000201047ca3

Binary Images: 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ??? 0x201029000 - 0x201090fff dyld () <4e207376-cc5d-3986-a0bd-4d09f4217e68> /usr/lib/dyld

EOF

Model: MacBookPro17,1, BootROM 7429.0.72.0.3, proc 8:4:4 processors, 8 GB, SMC Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin Memory Module: LPDDR4 AirPort: spairport_wireless_card_type_wifi, wl0: May 4 2021 18:24:35 version 18.20.281.2.7.8.107 FWID 01-7c11bd60 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB 3.1 Bus USB Device: USB 3.1 Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.

Oh man, I've never heard of that happening before. Best of luck

Same on me...

This is a known issue running the simulator under Rosetta.

Does your project have build settings forcing the built to intel for the simulator? You should be able to build simulator binaries for arm64 on Apple Silicon.

I started seeing issues after having Xcode 14.2 originally installed and the then having a separate new Xcode of version 14.3 installed. I must of broke something during the installation and my project would crash when building to the simulator.

The solution for me was to update my cocoapods version, I was on cocoapods 1.11.3 and updated to 1.12.1 . And now i'm able to run my project again without it crashing.

This is on an m1 mac, with Architecture set to Standard Architectures (arm64)

All app crashes upon launch after upgrading to Monterey on M1 with this error
 
 
Q