【问题标题】:iOS App Crashed with Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00diOS 应用程序因终止原因而崩溃:命名空间 SPRINGBOARD,代码 0x8badf00d
【发布时间】:2019-08-25 18:41:07
【问题描述】:

应用在设备上运行良好,但当我们提交应用进行审核时,它被多次拒绝。找不到原因。这是崩溃的原因。

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: **bundle id** exhausted real (wall clock) time 
allowance of 18.32 seconds | ProcessVisibility: Foreground | 
ProcessState: Running | WatchdogEvent: scene-create | 
WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed 
total CPU time (seconds): 58.590 (user 58.590, system 0.000), 98% CPU", | "Elapsed application CPU time (seconds): 2.587, 4% CPU" | )

这里是线程崩溃报告:

Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x0000000194807ea4 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000019480737c mach_msg + 72
2   libdispatch.dylib               0x000000019466c2d0 _dispatch_mach_send_and_wait_for_reply + 500
3   libdispatch.dylib               0x000000019466c764 dispatch_mach_send_with_result_and_wait_for_reply$VARIANT$mp + 56
4   libxpc.dylib                    0x00000001948cfea0 xpc_connection_send_message_with_reply_sync + 204
5   Security                        0x0000000195922aac securityd_message_with_reply_sync + 96
6   Security                        0x0000000195923070 securityd_send_sync_and_do + 80
7   Security                        0x000000019597c188 __SecItemDelete_block_invoke_2 + 248
8   Security                        0x000000019597b8c4 __SecItemAuthDoQuery_block_invoke + 312
9   Security                        0x000000019597a314 SecItemAuthDo + 108
10  Security                        0x000000019597abac SecItemAuthDoQuery + 512
11  Security                        0x0000000195978920 SecOSStatusWith + 52
12  Security                        0x000000019597b1a4 SecItemDelete + 448
13  MyApp                       0x0000000100cba760 0x100948000 + 3614560

我在启动时没有使用任何同步调用。我尝试了许多在 stackoverflow 中已经提到的解决方案,但仍然无法解决问题。

【问题讨论】:

  • 您实施了 firebase crashlytics 吗?
  • @AmirKhan 是的,它没有记录任何崩溃。
  • Apple 有没有提到他们的 iOS 版本和设备名称?
  • 查看与您的崩溃日志相关的帖子 - forums.developer.apple.com/thread/88529
  • 对于那些对您的应用一无所知的人来说,这简直就是大海捞针。你甚至不告诉你应用的主要功能。

标签: ios swift crash


【解决方案1】:

崩溃的原因是您的应用程序在后台使用了太多时间或启动时间过长,因此被看门狗进程终止。这可以从终止原因代码中看出。更多信息请参考这篇文章:What does 8badf00d mean?

您必须找出导致延迟的原因并解决该问题。

【讨论】:

    【解决方案2】:

    Xcode 12.2 就我而言

    1. 我设置了 Build Settings -> Build Active Architecture Only for Release - 是的

    1. 检查编辑方案/存档!设置为发布,而不是运行

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-10
      • 1970-01-01
      • 2020-09-09
      • 2013-04-09
      • 2021-12-17
      相关资源
      最近更新 更多