我有这些崩溃日志,在我将它们放入管理器中后,会自动进行符号化,但结果始终相同。 iOS 调用得到符号化,而我的应用程序调用则没有。
我尝试将 Dym 和应用程序文件复制到同一文件夹中,删除并再次复制回来。
没有任何帮助。
知道发生了什么事吗?
所以我得到这样的东西:
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 文件和应用程序二进制文件。通常,如果通过聚光灯使用符号化脚本未找到 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"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)