Hey, after upgrading XCode to version 14.1, I'm getting instantly crash after starting my ReactNative application on iOS 15.6.1 in release build.
Everything is fine either in debug build or downgrading XCode to 13.4 or upgrading iOS to 16.
It's also reproducible if you start release build on iOS 15.5 simulator.
Do you have any idea what might be the issue?
Here's crash log:
Incident Identifier: 1A1DEC14-CB76-413B-9D9A-1E1D2C410012
CrashReporter Key: f4bedf3edfd5eba605f533a1eb38fef421d97aa5
Hardware Model: iPad12,1
Process: ******** Staging [41464]
Path: /private/var/containers/Bundle/Application/D76D2FFC-8807-4C2A-9FCA-153993E2D486/****** Staging.app/****** Staging
Identifier: com.*******.******.dev
Version: 1.2 (104)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.*******.*******.dev [1061]
Date/Time: 2022-11-22 16:18:51.8468 +0100
Launch Time: 2022-11-22 16:18:51.7535 +0100
OS Version: iPhone OS 15.6.1 (19G82)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD 4 Symbol missing
missing symbol called
(terminated at launch; ignore backtrace)
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 dyld 0x1035b4b14 __abort_with_payload + 8
1 dyld 0x1035ba6cc abort_with_payload_wrapper_internal + 104
2 dyld 0x1035ba700 abort_with_payload + 16
3 dyld 0x10358aa00 dyld4::halt(char const*) + 580
4 dyld 0x10359bd84 dyld4::APIs::_dyld_missing_symbol_abort() + 44
5 ********** Staging 0x102528920 __RCTRegisterModule_block_invoke + 36
6 libdispatch.dylib 0x180a4da30 _dispatch_client_callout + 20
7 libdispatch.dylib 0x180a4f2b0 _dispatch_once_callout + 32
8 ********** Staging 0x1025288f8 RCTRegisterModule + 136
9 libobjc.A.dylib 0x199b0faec load_images + 824
10 dyld 0x103571f1c dyld4::RuntimeState::notifyObjCInit(dyld4::Loader const*) + 164
11 dyld 0x1035764b8 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 204
12 dyld 0x10357c7ac dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124
13 dyld 0x10359c764 dyld4::APIs::runAllInitializersForMain() + 312
14 dyld 0x10358782c dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3060
15 dyld 0x103585d84 start + 488
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000004 x2: 0x000000016d9c6ec8 x3: 0x0000000000000014
x4: 0x000000016d9c6ac8 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000600
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000000034 x14: 0x0000000029c00000 x15: 0x0000000216474000
x16: 0x0000000000000209 x17: 0x00000001035af1c8 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016d9c6ac8 x21: 0x0000000000000014 x22: 0x000000016d9c6ec8 x23: 0x0000000000000004
x24: 0x0000000000000006 x25: 0x000000016d9c6ac8 x26: 0x0000000000000400 x27: 0x0000000000000400
x28: 0x0000000000000000 fp: 0x000000016d9c6a90 lr: 0x00000001035ba6cc
sp: 0x000000016d9c6a50 pc: 0x00000001035b4b14 cpsr: 0x00000000
far: 0x00000001027e9d28 esr: 0x56000080 Address size fault
Binary Images:
0x10356c000 - 0x1035c3fff dyld arm64e <66e1fb2668f8379ba052eb8b8291b5e1> /usr/lib/dyld
0x102434000 - 0x102927fff ********* Staging arm64 <3b3b8585ee3531dba238e7640b1f1db7> /private/var/containers/Bundle/Application/D76D2FFC-8807-4C2A-9FCA-153993E2D486/********** Staging.app/********* Staging
0x180a4a000 - 0x180a8ffff libdispatch.dylib arm64e <e3ea4f635d11342aaf199f58dbc8e259> /usr/lib/system/libdispatch.dylib
0x199b00000 - 0x199b3cfff libobjc.A.dylib arm64e <f6368be9109b3405b282624040529afd> /usr/lib/libobjc.A.dylib
EOF