xcode 应用程序崩溃异常类型:EXC_CRASH (SIGKILL) 终止原因:命名空间 SPRINGBOARD

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/50186258/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:38:32  来源:igfitidea点击:

App crash Exception Type: EXC_CRASH (SIGKILL) Termination Reason: Namespace SPRINGBOARD

iosswiftxcodeitunes

提问by Femina Brahmbhatt

My app was recently rejected as the app crashed on launch by beta testers but when running it in development provisioning profile this does not happen.May I know what this crash log mean when and how to solve it ?

我的应用程序最近被 Beta 测试人员拒绝,因为该应用程序在启动时崩溃,但在开发配置文件中运行它时不会发生这种情况。我可以知道此崩溃日志的含义何时以及如何解决?

Guideline 2.1 - Performance - App Completeness We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.

准则 2.1 - 性能 - 应用程序完整性 我们无法审核您的应用程序,因为它在启动时崩溃了。我们附上了详细的崩溃日志以帮助解决此问题。

Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d Termination Description: SPRINGBOARD, scene-create watchdog transgression: com.app.appname exhausted real (wall clock) time allowance of 19.03 seconds | | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 25.420 (user 25.420, system 0.000), 42% CPU", | "Elapsed application CPU time (seconds): 1.125, 2% CPU" | ) Triggered by Thread: 0

异常类型:EXC_CRASH (SIGKILL) 异常代码:0x0000000000000000, 0x0000000000000000 异常注意:EXC_CORPSE_NOTIFY 终止原因:命名空间 SPRINGBOARD,代码 0x8badf00d 的时钟应用程序终止描述:SPRINGBOARD 时间限制。 19.03 秒 | | ProcessVisibility:前景| 进程状态:运行 | WatchdogEvent:场景创建| WatchdogVisibility:前景 | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 25.420 (user 25.420, system 0.000), 42% CPU", | "Elapsed application CPU time (seconds): 1.125, 2% CPU" | ) 由线程触发:0

回答by M Reza Farahani

Since you've got error code 0x8badf00d:

由于您有错误代码0x8badf00d

The exception code 0x8badf00d indicates that an application has been terminated by iOS because a watchdog timeout occurred. The application took too long to launch, terminate, or respond to system events. One common cause of this is doing synchronous networking on the main thread. Whatever operation is on Thread 0: needs to be moved to a background thread, or processed differently, so that it does not block the main thread.

异常代码 0x8badf00d 表示应用程序已被 iOS 终止,因为发生了看门狗超时。应用程序启动、终止或响应系统事件的时间太长。造成这种情况的一个常见原因是在主线程上进行同步联网。线程 0 上的任何操作:都需要移至后台线程,或进行不同处理,以免阻塞主线程。

More info here.

更多信息在这里

回答by Takashi Kosaka

If your application is terminated immediately, it will be iOS12 (or Beta) problem.

如果您的应用程序立即终止,则是 iOS12(或 Beta)问题。

In my case, I am using AD-HOC (distribution provision profile) to test on several users. When users upgrade to iOS12, the application terminates immediately when users launch the application. Also, when I upgrade to iOS12 and launch the application, the application terminates immediately.

就我而言,我使用 AD-HOC(分发提供配置文件)对多个用户进行测试。当用户升级到 iOS12 时,应用程序会在用户启动应用程序时立即终止。此外,当我升级到 iOS12 并启动应用程序时,应用程序会立即终止。

In my case the following LOG:

在我的情况下,以下日志:

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, process-launch watchdog transgression: com.keyholetv.jp.i-keyholetv2 exhausted real (wall clock) time allowance of 20.00 seconds |  | ProcessVisibility: Unknown | ProcessState: Running | WatchdogEvent: process-launch | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 2.910 (user 2.910, system 0.000), 7% CPU", | "Elapsed application CPU time (seconds): 0.000, 0% CPU" | )
Triggered by Thread:  0

It looks like that iOS12 changes to handle a distribution provision profile. I am not sure that this is BUG on iOS12 or not.

看起来 iOS12 更改为处理分发配置文件。我不确定这是不是 iOS12 上的 BUG。