Please provide the following:
- SDK Version: 39
- Platforms(Android/iOS/web/all): iOS & Android
Upgraded from SDK35 to SDK39. Everything runs smoothly on development (Expo APP), but standalone app crashes on startup right after the Splash Screen is shown both on Simulator and TestFlight.
Not sure if this would be relevant, but I started using Typescript in the upgrade process.
Here is the crash log from the Simulator:
Date/Time: 2020-12-10 11:16:40.444 -0600
OS Version: Mac OS X 10.15.7 (19H15)
Report Version: 12
Anonymous UUID: 933A5BAC-04AF-4FCB-B31C-ED62AA9E1A41
Sleep/Wake UUID: 3F2DCD78-5BEC-4FDA-9242-AF96D1F82828
Time Awake Since Boot: 180000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'ExpoFatalError', reason: 'Expo encountered a fatal error: Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'x.Native.init')'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.18.0.2 - Device: iPhone 12 Pro Max (B8B15A0A-6837-44FD-9C4B-84AF21A94D48) - Runtime: iOS 14.2 (18B79) - DeviceType: iPhone 12 Pro Max
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2041daf2 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48
2 ComMyAppCensored 0x00000001069d3411 -[EXAppViewController maybeShowError:] + 506
3 ComMyAppCensored 0x00000001069f550d handleFatalReactError_block_invoke_2 + 574
4 libdispatch.dylib 0x00007fff20106508 _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff20113c9a _dispatch_async_and_wait_invoke + 109
6 libdispatch.dylib 0x00007fff20106508 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff20112ff7 _dispatch_main_queue_callback_4CF + 1045
8 CoreFoundation 0x00007fff2038bdab __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
9 CoreFoundation 0x00007fff2038662e __CFRunLoopRun + 2685
10 CoreFoundation 0x00007fff203856c6 CFRunLoopRunSpecific + 567
11 GraphicsServices 0x00007fff2b76adb3 GSEventRunModal + 139
12 UIKitCore 0x00007fff24675187 -[UIApplication _run] + 912
13 UIKitCore 0x00007fff2467a038 UIApplicationMain + 101
14 ComMyAppCensored 0x00000001067b4010 main + 80
15 libdyld.dylib 0x00007fff20256409 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff5e70733a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5e73ce60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff200fac2e __abort + 139
3 libsystem_c.dylib 0x00007fff200faba3 abort + 135
4 libc++abi.dylib 0x00007fff2024f818 abort_message + 231
5 libc++abi.dylib 0x00007fff20240e7d demangling_terminate_handler() + 266
6 libobjc.A.dylib 0x00007fff201780d1 _objc_terminate() + 96
7 libc++abi.dylib 0x00007fff2024ec47 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff2024ebe9 std::terminate() + 41
9 libdispatch.dylib 0x00007fff2010651c _dispatch_client_callout + 28
10 libdispatch.dylib 0x00007fff20113c9a _dispatch_async_and_wait_invoke + 109
11 libdispatch.dylib 0x00007fff20106508 _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff20112ff7 _dispatch_main_queue_callback_4CF + 1045
13 com.apple.CoreFoundation 0x00007fff2038bdab __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
14 com.apple.CoreFoundation 0x00007fff2038662e __CFRunLoopRun + 2685
15 com.apple.CoreFoundation 0x00007fff203856c6 CFRunLoopRunSpecific + 567
16 com.apple.GraphicsServices 0x00007fff2b76adb3 GSEventRunModal + 139
17 com.apple.UIKitCore 0x00007fff24675187 -[UIApplication _run] + 912
18 com.apple.UIKitCore 0x00007fff2467a038 UIApplicationMain + 101
19 com.my.app 0x00000001067b4010 main + 80
20 libdyld.dylib 0x00007fff20256409 start + 1
Edit: censor package name