在表示iPad崩溃日志后,回溯仍然无法读取

时间:2012-05-25 20:38:38

标签: objective-c ios symbolicate symbolicatecrash

我有这些崩溃日志,在我将它们放入组织器后,自动获得符号,但结果始终相同。 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

1 个答案:

答案 0 :(得分:7)

您需要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"