My application runs smoothly in our local environment. however, we consistently encounter errors upon launch in TestFlight. Despite our efforts to update our libraries and address these issues, the problem still persists. For more detailed insight, I have attached the crash log here.
The app is running okay locally, but when deployed to TestFlight, it crashes on launch.
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"DNC","byPid":1962},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"lastExceptionBacktrace" : [{"imageOffset":969512,"symbol":"__exceptionPreprocess","symbolLocation":164,"imageIndex":4},{"imageOffset":175992,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":12},{"imageOffset":2135004,"imageIndex":2},{"imageOffset":2599032,"imageIndex":2},{"imageOffset":2601096,"imageIndex":2},{"imageOffset":203908,"symbol":"__invoking___","symbolLocation":148,"imageIndex":4},{"imageOffset":202512,"symbol":"-[NSInvocation invoke]","symbolLocation":428,"imageIndex":4},{"imageOffset":202040,"symbol":"-[NSInvocation invokeWithTarget:]","symbolLocation":64,"imageIndex":4},{"imageOffset":2337508,"imageIndex":2},{"imageOffset":2345960,"imageIndex":2},{"imageOffset":2345016,"imageIndex":2},{"imageOffset":8508,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":13},{"imageOffset":15828,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":13},{"imageOffset":46080,"symbol":"_dispatch_lane_serial_drain","symbolLocation":748,"imageIndex":13},{"imageOffset":48944,"symbol":"_dispatch_lane_invoke","symbolLocation":380,"imageIndex":13},{"imageOffset":93364,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":13},{"imageOffset":91432,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":404,"imageIndex":13},{"imageOffset":7968,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":10},{"imageOffset":8128,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":10}],
"faultingThread" : 3,
And here the .crash file generated
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: DNC [1474]
Triggered by Thread: 1
Last Exception Backtrace:
0 CoreFoundation 0x19a276b28 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x1920f2f78 objc_exception_throw + 60 (objc-exception.mm:356)
2 DNC 0x1045e3f20 RCTFatal + 568 (RCTAssert.m:147)
3 DNC 0x1046553bc -[RCTExceptionsManager reportFatal:stack:exceptionId:extraDataAsJSON:] + 488 (RCTExceptionsManager.mm:82)
4 DNC 0x104655bcc -[RCTExceptionsManager reportException:] + 1304 (RCTExceptionsManager.mm:154)
5 CoreFoundation 0x19a1bbc84 __invoking___ + 148 (:-1)
6 CoreFoundation 0x19a1bb710 -[NSInvocation invoke] + 428 (NSForwarding.m:3411)
7 CoreFoundation 0x19a1bb538 -[NSInvocation invokeWithTarget:] + 64 (NSForwarding.m:3508)
8 DNC 0x104615628 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 388 (RCTModuleMethod.mm:584)
9 DNC 0x10461772c facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 456 (RCTNativeModule.mm:196)
10 DNC 0x10461737c facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 68 (RCTNativeModule.mm:113)
11 DNC 0x10461737c invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 112 (RCTNativeModule.mm:104)
12 libdispatch.dylib 0x1a208513c _dispatch_call_block_and_release + 32 (init.c:1530)
13 libdispatch.dylib 0x1a2086dd4 _dispatch_client_callout + 20 (object.m:576)
14 libdispatch.dylib 0x1a208e400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
15 libdispatch.dylib 0x1a208ef30 _dispatch_lane_invoke + 380 (queue.c:3991)
16 libdispatch.dylib 0x1a2099cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
17 libdispatch.dylib 0x1a2099528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
18 libsystem_pthread.dylib 0x1f616cf20 _pthread_wqthread + 288 (pthread.c:2665)
19 libsystem_pthread.dylib 0x1f616cfc0 start_wqthread + 8 (:-1)