App crashing on TestFlight but not react native expo test env.

As title says, my apps crashing right on launch when testing through Xcode. I haven't been able to find any meaningful error logs. I get 0 errors or warnings in react native expo env. I even tried with debugging tools in expo with chrome and no memory issues or anything out of the ordinary. Here is my recent logs from the crash:

Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  1

Application Specific Information:
abort() called


Last Exception Backtrace:
0   CoreFoundation                	       0x1af6a2d94 __exceptionPreprocess + 164
1   libobjc.A.dylib               	       0x1a87583d0 objc_exception_throw + 60
2   sarcasticgpttwo               	       0x10283ec9c 0x1027ec000 + 339100
3   sarcasticgpttwo               	       0x1028502b8 0x1027ec000 + 410296
4   sarcasticgpttwo               	       0x10284fb00 0x1027ec000 + 408320
5   libdispatch.dylib             	       0x1b6b60320 _dispatch_call_block_and_release + 32
6   libdispatch.dylib             	       0x1b6b61eac _dispatch_client_callout + 20
7   libdispatch.dylib             	       0x1b6b69534 _dispatch_lane_serial_drain + 668
8   libdispatch.dylib             	       0x1b6b6a0a4 _dispatch_lane_invoke + 384
9   libdispatch.dylib             	       0x1b6b74cdc _dispatch_workloop_worker_thread + 648
10  libsystem_pthread.dylib       	       0x20f023ddc _pthread_wqthread + 288
11  libsystem_pthread.dylib       	       0x20f023b7c start_wqthread + 8
``
Chat-GPT gave me the following:

The crash log suggests that the app is crashing due to an unhandled exception. The stack trace indicates that the app crashed in the main thread, while executing a block of code that was dispatched to the main thread using Grand Central Dispatch (GCD). The stack trace also shows that the crash was triggered by Thread 1, which is the Expo controller error recovery queue. Here's a brief breakdown of the relevant parts of the crash log:

Exception Type: EXC_CRASH (SIGABRT)
Triggered by Thread: 1
Application Specific Information: abort() called
Last Exception Backtrace:
CoreFoundation
libobjc.A.dylib
sarcasticgpttwo
libdispatch.dylib
Based on the information provided, it's difficult to determine the exact cause of the crash. 


Post not yet marked as solved Up vote post of house14 Down vote post of house14
978 views

Replies

Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  7

Application Specific Information:
abort() called


Last Exception Backtrace:
0   CoreFoundation                	       0x1af6a2d94 __exceptionPreprocess + 164
1   libobjc.A.dylib               	       0x1a87583d0 objc_exception_throw + 60
2   sarcasticgpttwo               	       0x104d6ac9c 0x104d18000 + 339100
3   sarcasticgpttwo               	       0x104d7c2b8 0x104d18000 + 410296
4   sarcasticgpttwo               	       0x104d7bb00 0x104d18000 + 408320
5   libdispatch.dylib             	       0x1b6b60320 _dispatch_call_block_and_release + 32
6   libdispatch.dylib             	       0x1b6b61eac _dispatch_client_callout + 20
7   libdispatch.dylib             	       0x1b6b69534 _dispatch_lane_serial_drain + 668
8   libdispatch.dylib             	       0x1b6b6a0a4 _dispatch_lane_invoke + 384
9   libdispatch.dylib             	       0x1b6b74cdc _dispatch_workloop_worker_thread + 648
10  libsystem_pthread.dylib       	       0x20f023ddc _pthread_wqthread + 288
11  libsystem_pthread.dylib       	       0x20f023b7c start_wqthread + 8

Thread 7 name:   Dispatch queue: expo.controller.errorRecoveryQueue
Thread 7 Crashed:
0   libsystem_kernel.dylib        	       0x1ee3ac558 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x20f02a118 pthread_kill + 268
2   libsystem_c.dylib             	       0x1b6bc2178 abort + 180
3   libc++abi.dylib               	       0x20ef68bf8 abort_message + 132
4   libc++abi.dylib               	       0x20ef58444 demangling_terminate_handler() + 348
5   libobjc.A.dylib               	       0x1a875dea4 _objc_terminate() + 144
6   libc++abi.dylib               	       0x20ef67fbc std::__terminate(void (*)()) + 16
7   libc++abi.dylib               	       0x20ef67f60 std::terminate() + 56
8   libdispatch.dylib             	       0x1b6b61ec0 _dispatch_client_callout + 40
9   libdispatch.dylib             	       0x1b6b69534 _dispatch_lane_serial_drain + 668
10  libdispatch.dylib             	       0x1b6b6a0a4 _dispatch_lane_invoke + 384
11  libdispatch.dylib             	       0x1b6b74cdc _dispatch_workloop_worker_thread + 648
12  libsystem_pthread.dylib       	       0x20f023ddc _pthread_wqthread + 288
13  libsystem_pthread.dylib       	       0x20f023b7c start_wqthread + 8