iOS 8.0 - “无法及时更新场景”紧急 [英] iOS 8.0 - "failed to scene-update in time" crash
问题描述
我在iOS 8.0上运行时遇到了以下崩溃。这是我第一次看到这个,所以任何观察都会有所帮助:
I've encountered the following crash while running on iOS 8.0. This is the first time I'm seeing this so any observation will be helpful:
Incident Identifier: C39AF13A-D02B-40B1-8FC3-CFED8226D6FA
CrashReporter Key: dace0b0fe53a1661c59ffa598b3a139a6177d713
Hardware Model: iPhone7,2
Process: Vieu [435]
Path: /private/var/mobile/Containers/Bundle/Application/36CE6BFB-F90E-452B-8A4F-2B352F95DE48/Vieu.app/Vieu
Identifier: com.vieu.mobile
Version: 140929 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-09-29 17:12:47.878 -0700
Launch Time: 2014-09-29 15:39:55.349 -0700
OS Version: iOS 8.0.2 (12A405)
Report Version: 105
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.vieu.mobile failed to scene-update in time
Elapsed total CPU time (seconds): 15.910 (user 15.910, system 0.000), 77% CPU
Elapsed application CPU time (seconds): 1.039, 5% CPU
- 未能及时更新场景是什么意思?
- 我该怎么办?重现这些类型的场景?
- 一般来说解决这些问题的最佳方法是什么?
推荐答案
嗯,这是一个提示。显然,通知消息已从iOS 7.1更改为iOS8.1
Well, here's a hint. Apparently the notification message has changed from iOS 7.1 to iOS8.1
我的应用程序也遇到了相同的行为/崩溃,并捕获了每个操作系统的崩溃日志:
I got the same behavior/crash on my app as well and captured crash logs for each OS:
7.1说:
Incident Identifier: 1AFAD8D6-50B3-4B5A-8EBE-2A76E4400BDA
CrashReporter Key: 8e228dccf0b7ae7d1127923c96eec86495483eae
Hardware Model: iPhone5,3
Process: ProcessName [2967]
Path: /var/mobile/Applications/key/myApp.app
Identifier: com.company.app
Version: 5.6.0042 (5.6)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-04 17:32:57.089 -0800
OS Version: iOS 7.1.1 (11D201)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.company.app failed to resume in time
虽然iOS 8.1说:
While iOS 8.1 says:
Incident Identifier: 960DB688-F165-4DCD-98A1-3F4AEFFB5442
CrashReporter Key: 2022d4aa4b6f69db15c58ae02734fb8172a77bba
Hardware Model: iPhone7,2
Process: ProcessName [175]
Path: /private/var/mobile/Containers/Bundle/Application/key/myApp.app
Identifier: com.company.app
Version: 5.6.0042 (5.6)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-04 18:05:31.933 -0800
Launch Time: 2014-11-04 17:30:28.408 -0800
OS Version: iOS 8.1 (12B411)
Report Version: 105
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.company.app failed to scene-update in time
所以,几乎所有内容都是相同的,除了特定于应用程序的信息部分。
So, pretty much everything is the same except for the Application Specific Information section.
在我们的例子中,在主线程上运行的方法没有完成因此它正在获得用户界面的其余部分被卡住,系统正在查杀它。一旦我们修复了两个版本的问题就消失了。
In our case there was a method running on the Main thread that wasn't completing therefore it was getting the rest of the UI stuck and the system was killing it.As soon as we fixed that the problem went away on both versions.
请检查可能导致您的主要问题的原因线程挂起。
So check what might be causing your Main thread to hang.
这篇关于iOS 8.0 - “无法及时更新场景”紧急的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!