My standalone app crashes on launch

My app works fine within Expo. I’ve run exp bi and submitted that to the app store. Now when I run it via testflight, the app crashes on launch. How can I debug this?

I experience the same problem at the moment using exp build:ios. I had a working app at test flight made some minor changes and it started to crash when resubmitting the ipa. I have tried to go back to the version that worked but that file is failing now.

Has the introduction of expo 28 changed anything with the build process?

An advice to make the test procedure a little faster is to transfer the ipa file to your connected Iphone by dragging the file to the “On My Device” sidebar.

I have the same issue since yesterday, I tried everything it still crash also I undo all my work and build it again still getting crashes.

Any suggestions ?

Im experiencing the same thing atm, Im trying to debug app from TestFlight, and see the log in Device Manager in Xcode

I also tried to run the application in the simulator to debug the error and here is what i got

Jun 14 17:50:47 — ExpoKitApp[68159]: assertion failed: 16G29 15C107: libxpc.dylib + 72226 [EE650BC3-0539-32F0-9205-ECF6755E856F]: 0x7d

i got samething happen yesterday.

i did both exp build:ios for testflight upload to phone - crashed
and exp build:ios -t simulator running on simulator - crashed

whats your crash log show?

in your terminal type

~/Library/Logs/DiagnosticReports/

my showing data is nil

thread here: https://github.com/expo/expo/issues/1867

post a build id or a link to a build page for one of the builds where this happens

got it solved and thank you!

its my tabnavigator and stacknavigator problem~

now everything is working fine!

1 Like

Linking related:

My app is also crashing on launch in the simulator after I run ‘exp build:ios -t simulator’.

I’ve been trying to figure out what is causing it, but it’s pretty frustrating. I’ve been trying to zero on in on something for like 5 hours. I did check the logs and get this:

Process:               ExpoKitApp [71743]
Path:                  /Users/USER/Library/Developer/CoreSimulator/Devices/93231640-B8AD-486F-9B0D-77BAC3815EA3/data/Containers/Bundle/Application/119F4050-2197-4BD6-8C27-1CFF7D260A38/transparentclassroom.app/ExpoKitApp
Identifier:            ExpoKitApp
Version:               2.0.0 (1)
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [6966]
Responsible:           ExpoKitApp [71743]
User ID:               501

Date/Time:             2018-06-15 20:56:40.711 -0700
OS Version:            Mac OS X 10.13.5 (17F77)
Report Version:        12
Anonymous UUID:        1B792A4E-FCFE-F081-72CA-686D4119532E

Sleep/Wake UUID:       CAFB519D-467D-42EC-9892-BDE2CB1D6D1F

Time Awake Since Boot: 72000 seconds
Time Since Wake:       8000 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 'NSInvalidArgumentException', reason: '-[ABI28_0_0EXDisabledRedBox showErrorMessage:withRawStack:]: unrecognized selector sent to instance 0x604000010140'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 518.22 - Device: iPhone 6 - Runtime: iOS 11.4 (15F79) - DeviceType: iPhone 6

Application Specific Backtrace 1:
0   CoreFoundation                      0x00000001106401e6 __exceptionPreprocess + 294
1   libobjc.A.dylib                     0x000000010f1bd031 objc_exception_throw + 48
2   CoreFoundation                      0x00000001106c1784 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   CoreFoundation                      0x00000001105c2898 ___forwarding___ + 1432
4   CoreFoundation                      0x00000001105c2278 _CF_forwarding_prep_0 + 120
5   ExpoKitApp                          0x0000000103eb15e3 __37-[ABI28_0_0RCTCxxBridge handleError:]_block_invoke + 661
6   libdispatch.dylib                   0x00000001115896cb _dispatch_call_block_and_release + 12
7   libdispatch.dylib                   0x000000011158a709 _dispatch_client_callout + 8
8   libdispatch.dylib                   0x0000000111594708 _dispatch_main_queue_callback_4CF + 1279
9   CoreFoundation                      0x0000000110602c99 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10  CoreFoundation                      0x00000001105c6ea6 __CFRunLoopRun + 2342
11  CoreFoundation                      0x00000001105c630b CFRunLoopRunSpecific + 635
12  GraphicsServices                    0x00000001129fea73 GSEventRunModal + 62
13  UIKit                               0x000000010c525057 UIApplicationMain + 159
14  ExpoKitApp                          0x0000000103196be0 main + 80
15  libdyld.dylib                       0x00000001115ff955 start + 1
...

How do I debug this what’s going on?

It looks like the first problem I had was due to my .babelrc. I had these presets:

        "babel-preset-expo",
        "es2015",
        "es2017",
        "react",
        "stage-2",
        "flow"
]

looks like I can replace them all with just

["babel-preset-expo"]

Now I’m getting farther, and getting an error screen that says:

Unhandle JS Exception: Module AppRegistry is not a registered callable module

Which I’m told is a totally generic error :frowning:

Now what?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.