应用在iOS 13 Beta版中启动时崩溃

时间:2019-09-09 04:40:21

标签: ios swift crash ios13

这是崩溃报告,仅在iOS 13 beta版中发生崩溃:-

 Crashed: com.apple.main-thread
 0  libsystem_pthread.dylib        0x1ae056484 pthread_get_qos_class_np + 8
 1  Foundation                     0x1ae664340 -[NSThread qualityOfService] + 80
 2  Foundation                     0x1ae626ebc -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 280
 3  Foundation                     0x1ae628df8 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 116
 4  libAXSpeechManager.dylib       0x1d0176884 -[AXSpeechManager isSpeaking] + 112
 5  libAXSpeechManager.dylib       0x1d0171b60 -[AXSpeechManager _didBeginInterruption] + 52
 6  libAXSpeechManager.dylib       0x1d0171f1c -[AXSpeechManager _handleAudioInterruption:] + 504
 7  CoreFoundation                 0x1ae2929ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
 8  CoreFoundation                 0x1ae2929f4 ___CFXRegistrationPost1_block_invoke + 64
 9  CoreFoundation                 0x1ae291d54 _CFXRegistrationPost1 + 368
 10 CoreFoundation                 0x1ae291a20 ___CFXNotificationPost_block_invoke + 104
 11 CoreFoundation                 0x1ae20dd38 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1416
 12 CoreFoundation                 0x1ae291370 _CFXNotificationPost + 1244
 13 Foundation                     0x1ae5edcf8 -[NSNotificationCenter  postNotificationName:object:userInfo:] + 60
 14 AVFAudio                       0x1bac4603c -[AVAudioSession privateInterruptionWithInfo:] + 988
 15 AVFAudio                       0x1bac4880c (anonymous namespace)::HandlePropertyListenerCallback(unsigned int, objc_selector*, NSObject*) + 68
 16 libdispatch.dylib              0x1ae004658 _dispatch_call_block_and_release + 24
 17 libdispatch.dylib              0x1ae0051cc _dispatch_client_callout + 16
 18 libdispatch.dylib              0x1adfe83e0 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 996
 19 CoreFoundation                 0x1ae2b4c74 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
 20 CoreFoundation                 0x1ae2afc68 __CFRunLoopRun + 2004
 21 CoreFoundation                 0x1ae2af16c CFRunLoopRunSpecific +  464
 22 GraphicsServices               0x1b80d9328 GSEventRunModal + 104
 23 UIKitCore                      0x1b2317f6c UIApplicationMain + 1936
 24 Quickride                      0x10086803c main + 37 (AppDelegate.swift:37)
 25 libdyld.dylib                  0x1ae13a424 start + 4

我已经在各种平台上检查了此问题。但是尚未找到任何与之相关的解决方案。请提供与之相关的解决方案。

它在应用启动时崩溃,这是它在结构上显示的报告

1 个答案:

答案 0 :(得分:1)

我在iOS 13上遇到了同样的问题,这是我在Crashlytics上最严重的崩溃。 它仅在iOS 13及更高版本中发生。不幸的是,在最新的13.1.2中也是如此。

从iOS 13发行版开始,当我将应用程序置于后台调试控制台打印时,我检测到一个奇怪的警告无法结束BackgroundTask:不存在带有标识符x的后台任务,或者它可能已经存在结束了。中断UIApplicationEndBackgroundTaskError()进行调试。

也许是相关问题。