Upon building the app using expo build:ios and expo upload:ios, the deployed app crashes while opened with TestFlight while on the loading screen. The behavior is random, reinstalling it sometimes fixes the crash.
The resulted log file content:
Exception:
OS Version: iPhone OS 13.5.1 (17F80)Release Type: UserBaseband Version: 9.60.01Report Version: 104Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYTriggered by Thread: 3Last Exception Backtrace:0 CoreFoundation 0x1b33ec794 __exceptionPreprocess + 224 (NSException.m:199)1 libobjc.A.dylib 0x1b310ebcc objc_exception_throw + 56 (objc-exception.mm:565)2 CoreFoundation 0x1b32f0f18 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:144)3 CoreFoundation 0x1b33f089c ___forwarding___ + 1316 (NSForwarding.m:3520)4 CoreFoundation 0x1b33f27cc _CF_forwarding_prep_0 + 925 ComLastDropIo 0x104543f18 -[RCTAsyncLocalStorage _writeEntry:changedManifest:] + 276 (RCTAsyncLocalStorage.m:289)6 ComLastDropIo 0x1045446e0 -[RCTAsyncLocalStorage multiSet:callback:] + 388 (RCTAsyncLocalStorage.m:342)7 CoreFoundation 0x1b33f2970 __invoking___ + 1448 CoreFoundation 0x1b32c3bb0 -[NSInvocation invoke] + 300 (NSForwarding.m:3312)9 CoreFoundation 0x1b32c4788 -[NSInvocation invokeWithTarget:] + 76 (NSForwarding.m:3418)10 ComLastDropIo 0x104581920 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:569)11 ComLastDropIo 0x104583b2c facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 24412 ComLastDropIo 0x104583890 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 8813 libdispatch.dylib 0x1b30b19a8 _dispatch_call_block_and_release + 24 (init.c:1408)14 libdispatch.dylib 0x1b30b2524 _dispatch_client_callout + 16 (object.m:495)15 libdispatch.dylib 0x1b305e8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)16 libdispatch.dylib 0x1b305f294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)17 libdispatch.dylib 0x1b306878c _dispatch_workloop_worker_thread + 588 (queue.c:6445)18 libsystem_pthread.dylib 0x1b3103b74 _pthread_wqthread + 272 (pthread.c:2351)19 libsystem_pthread.dylib 0x1b3106740 start_wqthread + 8
Thread crash
Thread 3 name:Thread 3 Crashed:0 libsystem_kernel.dylib 0x00000001b31e1d88 __pthread_kill + 81 libsystem_pthread.dylib 0x00000001b30fa1e8 pthread_kill$VARIANT$mp + 136 (pthread.c:1458)2 libsystem_c.dylib 0x00000001b304d9b0 __abort + 112 (abort.c:147)3 libsystem_c.dylib 0x00000001b304d940 abort + 112 (abort.c:118)4 libc++abi.dylib 0x00000001b31b5cc0 abort_message + 128 (abort_message.cpp:76)5 libc++abi.dylib 0x00000001b31a7e10 demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:65)6 libobjc.A.dylib 0x00000001b310ee80 _objc_terminate() + 124 (objc-exception.mm:701)7 libc++abi.dylib 0x00000001b31b514c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)8 libc++abi.dylib 0x00000001b31b50e4 std::terminate() + 44 (cxa_handlers.cpp:88)9 libdispatch.dylib 0x00000001b30b2538 _dispatch_client_callout + 36 (object.m:498)10 libdispatch.dylib 0x00000001b305e8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)11 libdispatch.dylib 0x00000001b305f294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)12 libdispatch.dylib 0x00000001b306878c _dispatch_workloop_worker_thread + 588 (queue.c:6445)13 libsystem_pthread.dylib 0x00000001b3103b74 _pthread_wqthread + 272 (pthread.c:2351)14 libsystem_pthread.dylib 0x00000001b3106740 start_wqthread + 8