Application crashes on simulator after update Monterey

Hi, I update mac Big Sur to Monterey Beta. After update my application not opens on iPhone Simulator (crashes immediately). And on xcode lots of errors appears, can't build.

Simulator crash report:


Incident Identifier: E60DC4DC-3A56-4BBB-B00B-E6F3BB35DA78
CrashReporter Key:   4ADF621D-1F70-7DDD-BDA5-76A7E076C928
Hardware Model:      MacBookPro17,1
Process:             Atlantis [15816]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/85CB1EA3-265E-41BA-8963-D6C6FA3C3BE5/data/Containers/Bundle/Application/212BD64F-FC25-4016-B6D6-8A46F6558E33/Atlantis.app/Atlantis
Identifier:          com.atlantis.mgmt
Version:             8.8 (8.8)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [9269]
Coalition:           com.apple.CoreSimulator.SimDevice.85CB1EA3-265E-41BA-8963-D6C6FA3C3BE5 [1850]
Responsible Process: SimulatorTrampoline [9255]

Date/Time:           2021-06-21 14:51:08.3167 +0300
Launch Time:         2021-06-21 14:51:08.2556 +0300
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: 4341362688
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      mapped file                 102c3f000-103ce7000    [ 16.7M] r-x/r-x SM=COW  ...t_id=ca4c8d93
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [15816]

Triggered by Thread:  0

Application Specific Information:



Thread 0 Crashed:
0   ???                           	    0x7ff7ffd02bd8 ???
1   <translation info unavailable>	       0x1067fbe5c ???
2   dyld                          	       0x2068aa88f dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 890
3   dyld                          	       0x2068a96b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
4   dyld                          	       0x2068a94b4 start + 388
5   dyld                          	       0x2068a4000 ???

Thread 1:: com.apple.rosetta.exceptionserver
0   ???                           	    0x7ff7ffcef320 ???
1   ???                           	    0x7ff7ffd081a0 ???


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010e852af8  rcx: 0x0000000000000000  rdx: 0x0000000000000001
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x000000010eee6000
   r8: 0xbae6d4fe37da0005   r9: 0x0000000000000000  r10: 0x000000010eee6000  r11: 0x000000010ed12010
  r12: 0x0000000000000000  r13: 0x000000010ed12060  r14: 0x0000000206918080  r15: 0x0000000000000000
  rip: <unavailable>       rfl: 0x0000000000000283
 tmp0: 0x00000001067e9c64 tmp1: 0x00000001067e8f8c tmp2: 0x00000002068c2ca3


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

EOF

Model: MacBookPro17,1, BootROM 7429.0.72.0.3, proc 8:4:4 processors, 16 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
USB Device: USB 2.0 BILLBOARD
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Answered by hardalstudios in 682029022

Bug fixed on beta3 updates. Update both macOS Monterey and xcode 13 to beta 3.

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.

What am i need to write "Architectures" area and "Excluded Architectures" areas. When this issue will be fix? Please update new beta version soon.

Still not working anything. Can you help me to solve this problem? My clients works waiting.

I have the same problem..

Accepted Answer

Bug fixed on beta3 updates. Update both macOS Monterey and xcode 13 to beta 3.

Update Monterey to beta 3 is necessary to fix the bug, but it’s Xcode independent, 13 beta 2 works fine (and 12s too)

Application crashes on simulator after update Monterey
 
 
Q