简体   繁体   English

应用程序在TestFlight的每次首次启动时崩溃

[英]App crashing in every first launch from TestFlight

My app got crashed in every first launch from Testflight. 我的应用程序在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. 从Testflight安装后,它在首次启动时显示启动屏幕超过20秒,然后崩溃。 But it works fine on second or third launch. 但它在第二次或第三次发射时工作正常。 No crash report generated in crashlytics and iTunes. 在崩解和iTunes中没有生成崩溃报告。 I created ipa file and installed directly through devices option in xCode and it showing 我创建了ipa文件并直接通过xCode中的devices选项安装并显示

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

on first launch. 首次发布时 It takes more than 20 seconds to launch in debugger too. 在调试器中启动也需要20多秒。

As the app is failing to launch in 20 seconds iOS is killing the process. 由于该应用程序无法在20秒内启动,iOS正在扼杀这一过程。 No 3rd party SDK will be able to provide a crash report for this! 没有第三方SDK可以为此提供崩溃报告! 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. 您在应用程序代码中很早就做了一些事情(很可能是applicationDidFinishLaunching ),这需要花费太长时间并阻止主线程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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