Post

Replies

Boosts

Views

Activity

IOS (React-native) app crashes in test flight while working fine in emulator
Hi, I am stuck on this for a few days now. Please help. My ReactNative app crashes in TestFlight but seems to work fine in the simulator In the device log of the simulator, I see this but it does not crash the app May 22 19:53:07 *** UserEventAgent[31908]: assertion failed: 20E241 18E182: com.apple.cts + 21381 [CDC23A9A-67DC-30DB-B211-8782B0F90693]: 0x7d1e May 22 19:53:07 *** syslogd[31920]: ASL Sender Statistics Crash Log, from Test Flight - https://developer.apple.com/forums/content/attachment/e07e15aa-b740-4581-988b-a00ec816c4b0 Last Crash Trace on Device Incident Identifier: 64EB34E3-B5C9-464C-9B78-5583CD5127BA Hardware Model: iPhone9,2 Process: ThrivApp [5825] Path: /private/var/containers/Bundle/Application/E864769F-B995-444A-BFDE-F4B49218D131/ThrivApp.app/ThrivApp Identifier: com.thriv.thriv Version: 10199 (10023) AppStoreTools: 12E262 AppVariant: 1:iPhone9,2:14 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.thriv.thriv [1269] Date/Time: 2021-05-22 19:56:40.7041 -0700 Launch Time: 2021-05-22 19:56:39.2456 -0700 OS Version: iPhone OS 14.4.2 (18D70) Release Type: User Baseband Version: 8.40.01 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 1 Last Exception Backtrace: 0 CoreFoundation 0x18699a9d8 __exceptionPreprocess + 216 (NSException.m:199) 1 libobjc.A.dylib 0x19ad1db54 objc_exception_throw + 56 (objc-exception.mm:565) 2 ThrivApp 0x102810be0 RCTFatal + 668 (RCTAssert.m:146) 3 ThrivApp 0x10288fdc8 -[RCTExceptionsManager reportFatal:stack:exceptionId:suppressRedBox:] + 600 (RCTExceptionsManager.mm:89) 4 ThrivApp 0x10289078c -[RCTExceptionsManager reportException:] + 1532 (RCTExceptionsManager.mm:164) 5 CoreFoundation 0x18699f130 __invoking___ + 144 6 CoreFoundation 0x1868821d0 -[NSInvocation invoke] + 300 (NSForwarding.m:3389) 7 CoreFoundation 0x186882730 -[NSInvocation invokeWithTarget:] + 76 (NSForwarding.m:3495) 8 ThrivApp 0x102842868 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584) 9 ThrivApp 0x102844c98 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 540 (RCTNativeModule.mm:181) 10 ThrivApp 0x1028448c4 operator() + 56 (RCTNativeModule.mm:103) 11 ThrivApp 0x1028448c4 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 100 (RCTNativeModule.mm:95) 12 libdispatch.dylib 0x1865d2298 _dispatch_call_block_and_release + 24 (init.c:1454) 13 libdispatch.dylib 0x1865d3280 _dispatch_client_callout + 16 (object.m:559) 14 libdispatch.dylib 0x18657bdcc _dispatch_lane_serial_drain$VARIANT$mp + 612 (inline_internal.h:2548) 15 libdispatch.dylib 0x18657c8a8 _dispatch_lane_invoke$VARIANT$mp + 424 (queue.c:3862) 16 libdispatch.dylib 0x186586338 _dispatch_workloop_worker_thread + 712 (queue.c:6601) 17 libsystem_pthread.dylib 0x1cf1bd5a4 _pthread_wqthread + 272 (pthread.c:2210) 18 libsystem_pthread.dylib 0x1cf1c0874 start_wqthread + 8
9
0
13k
May ’21