gpt4 book ai didi

objective-c - 符号化 iPad 崩溃日志后回溯仍然不可读

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:09:39 30 4
gpt4 key购买 nike

我有这些崩溃日志,在我将它们放入管理器后,系统会自动进行符号化,但结果始终相同。 iOS 调用被符号化,而我的应用程序调用没有。

我尝试将 dysm 和 app 文件复制到同一个文件夹中,删除并再次复制回来。没有任何帮助。

知道发生了什么事吗?所以我得到这样的东西:

    Last Exception Backtrace:
0 CoreFoundation 0x36d4088f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x31071259 objc_exception_throw + 33
2 CoreData 0x350337ab -[NSPersistentStoreCoordinator removePersistentStore:error:] + 227
3 MyApp 0x00139fbb 0x2e000 + 1097659
4 MyApp 0x0013998d 0x2e000 + 1096077
5 MyApp 0x00139a5d 0x2e000 + 1096285
6 libdispatch.dylib 0x3171d61f dispatch_once_f$VARIANT$mp + 47
7 MyApp 0x001399ff 0x2e000 + 1096191
8 MyApp 0x00139b47 0x2e000 + 1096519
9 MyApp 0x0008915d 0x2e000 + 373085
10 MyApp 0x0008a11b 0x2e000 + 377115
11 UIKit 0x36ffbd3d -[UIViewController _setViewAppearState:isAnimating:] + 145
12 UIKit 0x36ffeaa3 -[UINavigationController _startTransition:fromViewController:toViewController:] + 815
13 UIKit 0x36ffe6ab -[UINavigationController _startDeferredTransitionIfNeeded] + 251
14 UIKit 0x36ffe56b -[UILayoutContainerView layoutSubviews] + 179
15 UIKit 0x36fbd0bd -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 149

你可以看到 UIKit 函数被符号化了,但 MyApp 没有符号化

最佳答案

您需要生成崩溃报告的确切版本的 dSYM 文件和应用程序二进制文件。如果通过 Spotlight 使用符号化脚本找不到 dSYM,通常你会在 Xcode 中得到这个结果。如果这是来自调试版本,而您同时创建了一个新版本,那您就不走运了。否则请确保存储调试版本的目录已被 Spotlight 索引。如果这是来自存档的构建,请确保存档目录已被 Spotlight 索引。

崩溃报告包含一个标题为“二进制图像”的部分,在该部分的顶部,您的应用程序二进制文件使用二进制文件 UUID 进行引用。它看起来像 c42a118d722d2625f2357463535854fd,需要将其更改为大写和格式 8-4-4-4-12,然​​后将如下所示:C42A118D-722D-2625-F235-7463535854FD

您可以使用它通过终端中的聚光灯搜索 dSYM,方法是:

mdfind "com_apple_xcode_dsym_uuids == C42A118D-722D-2625-F235-7463535854FD"

关于objective-c - 符号化 iPad 崩溃日志后回溯仍然不可读,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10761070/

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