【发布时间】:2015-04-02 10:35:25
【问题描述】:
谁能解释一下崩溃日志? 我没有收到此崩溃出现的通知。
> Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at
> 0x714e79b2 raw 0 libobjc.A.dylib objc_msgSend + 5 appWillTerminate:
> 1 CoreFoundation
> __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 2 CoreFoundation
> _CFXNotificationPost + 1784 3 Foundation
> -[NSNotificationCenter postNotificationName:object:userInfo:] + 72 4 Foundation
> -[NSNotificationCenter postNotificationName:object:] + 30 5 UIKit
> -[UIApplication _terminateWithStatus:] + 218 6 UIKit
> -[UIApplication _handleApplicationDectivationWithScene:shouldForceExit:transitionContext:completion:]
> + 2518 7 UIKit
> -[UIApplication workspaceShouldExit:] + 140 8 FrontBoardServices
> __31-[FBSSerialQueue performAsync:]_block_invoke + 12 9 CoreFoundation
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 15 UIKit UIApplicationMain + 1440 16 Meeting main.m line 13 main
【问题讨论】:
-
你能分享你的通知代码吗?
-
通知很多,我要分享哪个通知?
-
是否尝试添加异常断点?
-
我尝试过,但应用程序在 main.m 处停止。
-
我相信你可以在 postNotificationName 上尝试一个符号断点,如果你想发现哪个。它可能工作。
标签: ios objective-c iphone crashlytics