gpt4 book ai didi

ios - 如何通过这个错误来调试我的代码登录IOS

转载 作者:行者123 更新时间:2023-11-28 22:25:13 25 4
gpt4 key购买 nike

嗨,当我将我的应用程序升级到新版本时,我的应用程序随机崩溃。

我收到这个错误日志

<NSKeyValueObservationInfo 0x1467b680> ( <NSKeyValueObservance 0x1454cbd0: Observer: 0x1467b680, Key path: operations, Options: <New: YES, Old: YES, Prior: NO> Context: 0x0, Property: 0x1454cac0> <NSKeyValueObservance 0x1461b290: Observer: 0x1473bdf0, Key path: operations, Options: <New: YES, Old: YES, Prior: NO> Context: 0x0, Property: 0x1454cac0> ): An -observeValueForKeyPath:ofObject:change:context: message was received but not handled. Key path: operations Observed object: <NSOperationQueue: 0x1467bd00>{name = 'NSOperationQueue 0x1467bd00'} Change: { kind = 1; new = ( "<ASIFormDataRequest: 0x15384200>" ); old = ( ); } Context: 0x0
AgendaNotes-[DocumentManager addToPriorityQueue:]


# Binary Image Name Address Symbol
0 CoreFoundation 0x30640e8b
1 libobjc.A.dylib 0x3ac886c7 objc_exception_throw
2 CoreFoundation 0x30640dcd
3 Foundation 0x310050d3
4 Foundation 0x30f70c51
5 Foundation 0x30f708f5
6 Foundation 0x30f6fff1
7 Foundation 0x31012b13
8 NyNotes 0x0003d329 -[DocumentManager addToPriorityQueue:]
9 NyNotes 0x000453a7 -[DocumentManager asyncRequestInsertToken:]
10 NyNotes 0x00017267 -[AgendaHandler handleAPNSToken:]
11 NyNotes 0x00014ea9 -[AgendaHandler loginResponse:withResponse:]
12 NyNotes 0x0004057f -[DocumentManager responseLogin:]
13 NyNotes 0x00042edd -[DocumentManager requestHasFinishedCredentialRequest:]
14 MyNotes 0x00042fc1 -[DocumentManager requestHasFinished:]
15 MyNotes 0x00025495 -[ASIHTTPRequest reportFinished]
16 Foundation 0x31024fdb
17 CoreFoundation 0x3060bf27
18 CoreFoundation 0x3060b3ef
19 CoreFoundation 0x30609bdf
20 CoreFoundation 0x30574541 CFRunLoopRunSpecific
21 CoreFoundation 0x30574323 CFRunLoopRunInMode
22 GraphicsServices 0x352782eb GSEventRunModal
23 UIKit 0x32e2b1e5 UIApplicationMain
24 MyNotes 0x00009907 main
25 MyNotes 0x00008a18 start

我无法从这个错误日志中得到任何信息。

最佳答案

答案是:-observeValueForKeyPath:ofObject:change:context: 消息已收到但未处理。关键路径:operations 观察到的对象:{name = 'NSOperationQueue 0x1467bd00'} Change: { kind = 1; new = ( "<ASIFormDataRequest: 0x15384200>");旧 = ( ); } 上下文:0x0

我认为您最好自己使用任何一种操作。关于堆栈溢出这里有很好的例子。如果您只为 iOS 7 构建,则使用 NSURLConnection。由于后台操作,事情变得更简单,功能更强大。

如果你想调试 ASI 框架,我建议为所有豁免添加一个断点,看看你是否可以确定它。

关于ios - 如何通过这个错误来调试我的代码登录IOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19195583/

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