Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/94.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS应用程序在180秒后崩溃,此时';背景是什么_Ios_Background_Crash_Ios12 - Fatal编程技术网

iOS应用程序在180秒后崩溃,此时';背景是什么

iOS应用程序在180秒后崩溃,此时';背景是什么,ios,background,crash,ios12,Ios,Background,Crash,Ios12,从控制台获取以下日志(即使在模拟器中,在调试模式下也不会发生这种情况) } 这是坠机日志 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace ASSERTIOND, Code 0x8badf00d Triggered by Thread

从控制台获取以下日志(即使在模拟器中,在调试模式下也不会发生这种情况)

}

这是坠机日志

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace ASSERTIOND, Code 0x8badf00d
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b0ce3ea4 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b0ce337c mach_msg + 72
2   CoreFoundation                  0x00000001b10e8be8 __CFRunLoopServiceMachPort + 236
3   CoreFoundation                  0x00000001b10e3a84 __CFRunLoopRun + 1396
4   CoreFoundation                  0x00000001b10e31f0 CFRunLoopRunSpecific + 436
5   GraphicsServices                0x00000001b335c584 GSEventRunModal + 100
6   UIKitCore                       0x00000001de478c00 UIApplicationMain + 212
7   App Stage                       0x00000001059c13b0 0x104a0c000 + 16470960
8   libdyld.dylib                   0x00000001b0ba2bb4 start + 4

我在谷歌上搜索了你的错误信息,并在react native中找到了关于它崩溃的投诉。你的问题或标签中没有提到这些,你在使用它吗?另外,请描述您正在运行的任何后台任务(如果有)@SimonMcLoughlin感谢您的响应,这是本机应用程序,即使在我正在使用的任何pod中,我们也没有使用任何本机代码。。。。你在使用背景模式吗?当应用程序进入后台状态时,您是否正在执行代码我删除了所有在后台执行但问题未解决的代码,每当我获得以上日志时,应用程序将重新启动。我们也在使用ExpirationHandler处理后台任务。操作系统会杀死在后台运行时间较长的应用程序。每个应用程序都有一定的时间在后台保持活跃。除非你的应用程序注册了与音频/位置相关的特定背景模式,否则它不会永远存在。我在谷歌上搜索了你的错误消息,并在react native中发现了关于它崩溃的投诉。你的问题或标签中没有提到这些,你在使用它吗?另外,请描述您正在运行的任何后台任务(如果有)@SimonMcLoughlin感谢您的响应,这是本机应用程序,即使在我正在使用的任何pod中,我们也没有使用任何本机代码。。。。你在使用背景模式吗?当应用程序进入后台状态时,您是否正在执行代码我删除了所有在后台执行但问题未解决的代码,每当我获得以上日志时,应用程序将重新启动。我们也在使用ExpirationHandler处理后台任务。操作系统会杀死在后台运行时间较长的应用程序。每个应用程序都有一定的时间在后台保持活跃。除非你的应用程序注册了与音频/位置相关的特定背景模式,否则它不会永远有效。
Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace ASSERTIOND, Code 0x8badf00d
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b0ce3ea4 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b0ce337c mach_msg + 72
2   CoreFoundation                  0x00000001b10e8be8 __CFRunLoopServiceMachPort + 236
3   CoreFoundation                  0x00000001b10e3a84 __CFRunLoopRun + 1396
4   CoreFoundation                  0x00000001b10e31f0 CFRunLoopRunSpecific + 436
5   GraphicsServices                0x00000001b335c584 GSEventRunModal + 100
6   UIKitCore                       0x00000001de478c00 UIApplicationMain + 212
7   App Stage                       0x00000001059c13b0 0x104a0c000 + 16470960
8   libdyld.dylib                   0x00000001b0ba2bb4 start + 4