iOS 应用程序在启动时崩溃
iOS app crash on launch
你好,我的应用程序在 Apple 审查小组审查时在启动时崩溃,我在 Crashlytics
中没有收到崩溃报告,这就是为什么我只有他们的响应和崩溃报告的信息。所以我把它分享给你,我没有在里面找到合适的信息,也许有人可以更好地阅读它...
响应:
We were unable to review your app as it crashed on launch. We have
attached detailed crash logs to help troubleshoot this issue.
日志:
UPD:我在这里找到了
Termination Description: SPRINGBOARD, scene-create watchdog
transgression: team.codebusters.1fit exhausted real (wall clock) time
allowance of 17.74 seconds | | ProcessVisibility: Foreground |
ProcessState: Running | WatchdogEvent: scene-create |
WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed
total CPU time (seconds): 36.550 (user 36.550, system 0.000), 61%
CPU", | "Elapsed application CPU time (seconds): 1.321, 2% CPU" | )
你应该避免在 didFinishLaunchingWithOptions
中做长时间的任务,那些有很多 CPU 工作的东西应该被移动到你应用程序的其他地方,通常你应该在你的第一个可见的 viewController 并添加加载指示器
Apple 表示启动时间限制为 20 秒,因此如果您的工作负载消耗超过该时间,那么您的应用将因 watchdog transgression
而崩溃
你好,我的应用程序在 Apple 审查小组审查时在启动时崩溃,我在 Crashlytics
中没有收到崩溃报告,这就是为什么我只有他们的响应和崩溃报告的信息。所以我把它分享给你,我没有在里面找到合适的信息,也许有人可以更好地阅读它...
响应:
We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.
日志:
UPD:我在这里找到了
Termination Description: SPRINGBOARD, scene-create watchdog transgression: team.codebusters.1fit exhausted real (wall clock) time allowance of 17.74 seconds | | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 36.550 (user 36.550, system 0.000), 61% CPU", | "Elapsed application CPU time (seconds): 1.321, 2% CPU" | )
你应该避免在 didFinishLaunchingWithOptions
中做长时间的任务,那些有很多 CPU 工作的东西应该被移动到你应用程序的其他地方,通常你应该在你的第一个可见的 viewController 并添加加载指示器
Apple 表示启动时间限制为 20 秒,因此如果您的工作负载消耗超过该时间,那么您的应用将因 watchdog transgression
而崩溃