简体   繁体   中英

App crashing in every first launch from TestFlight

My app got crashed in every first launch from Testflight. It runs perfectly well from debugger. After installing from Testflight, it shows splash screen for more than 20 seconds on first launch, then got crashed. But it works fine on second or third launch. No crash report generated in crashlytics and iTunes. I created ipa file and installed directly through devices option in xCode and it showing

failed to launch after 20.00s (launchIntent: foreground-interactive)

on first launch. It takes more than 20 seconds to launch in debugger too.

As the app is failing to launch in 20 seconds iOS is killing the process. No 3rd party SDK will be able to provide a crash report for this! You need to check the crash report on the actual device for more details.

You are doing something early in your apps code (most likely applicationDidFinishLaunching ) which is taking too long and blocking the main thread.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM