Tag: symbolicate

Xcode | 如何符号化崩溃文本文件

我从Apple收到了文本格式的崩溃日志文件,以下步骤可帮助我对其进行符号化并轻松解决崩溃问题。 步骤1:建立一个名为Crash的资料夹 步骤2:将重命名为1.crash的崩溃文件并放入崩溃 步骤3:将您的.app文件复制到崩溃中的文件夹中。 步骤4:使用以下命令示例arm64查找崩溃中存在的体系结构 grep -A 1’Binary Images:’1.crash | 尾-1 步骤4:使用以下命令示例0x1000f4000查找起始地址 grep -A 1’Binary Images:’1.crash | 剪切-d“” -f1 | 尾-1 步骤5:在以下命令中输入地址并执行 xcrun atos -o MyApp.app/MyApp -arch arm64 -l 0x1000f4000 -f 1.崩溃> 1.sym.txt 步骤6:1.sym.txt包含象征性的崩溃 阅读更多: https://medium.com/@ankitkumargupta/learnings-converted-project-from-objective-c-to-swift-82fc98ee7204 https://medium.com/@ankitkumargupta/ios-how-i-handled-hardcoded-strings-of-images-storyboards-xibs-using-shell-scripts-c86712586529 https://medium.com/@ankitkumargupta/vector-images-in-ios-using-xcassets-2ddb102171b9 https://medium.com/@ankitkumargupta/xcode-add-build-phase-shell-script-without-cluttering-your-project-file-2de8aa3fe0ce

象征iPad崩溃日志后,回溯仍然不可读

我有这些崩溃日志,并在我把它们放在组织者中后自动获得符号,但结果总是相同的。 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 […]