gpt4 book ai didi

objective-c - EAAccessoryManager notifyObserversThatAccessoryDisconnectedWithUserInfo 崩溃

转载 作者:搜寻专家 更新时间:2023-10-30 20:24:13 25 4
gpt4 key购买 nike

我的应用程序在连接到套接字移动阅读器时随机崩溃,它因未知原因断开连接并抛出以下异常:

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000066120beb8
0 libobjc.A.dylib 0x190e32f30 objc_msgSend + 16
1 ExternalAccessory 0x19f94cf24 -[EAAccessoryManager _notifyObserversThatAccessoryDisconnectedWithUserInfo:] + 104
2 ExternalAccessory 0x19f94f96c -[EAAccessoryManager _externalAccessoryDisconnected:] + 984
3 CoreFoundation 0x19238022c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
4 CoreFoundation 0x19237f930 _CFXRegistrationPost + 400
5 CoreFoundation 0x19237f6ac ___CFXNotificationPost_block_invoke + 60
6 CoreFoundation 0x1923eeb9c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
7 CoreFoundation 0x1922c1bf4 _CFXNotificationPost + 376
8 Foundation 0x192dcb62c -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
9 libdispatch.dylib 0x191271200 _dispatch_call_block_and_release + 24
10 libdispatch.dylib 0x1912711c0 _dispatch_client_callout + 16
11 libdispatch.dylib 0x191275d6c _dispatch_main_queue_callback_4CF + 1000
12 CoreFoundation 0x192393f2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
13 CoreFoundation 0x192391b18 __CFRunLoopRun + 1660
14 CoreFoundation 0x1922c0048 CFRunLoopRunSpecific + 444
15 GraphicsServices 0x193d46198 GSEventRunModal + 180
16 UIKit 0x1982a52fc -[UIApplication _run] + 684
17 UIKit 0x1982a0034 UIApplicationMain + 208
18 MobileHospital 0x10007b3a8 main (main.m:15)
19 libdispatch.dylib 0x1912a45b8 (Missing)

最佳答案

通知委托(delegate)未重置为零。已在版本 10.3.79 中应用修复。

关于objective-c - EAAccessoryManager notifyObserversThatAccessoryDisconnectedWithUserInfo 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40787782/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com