How to interpret a crashlog with no references to a specific class

落花浮王杯 提交于 2019-12-18 03:46:19

问题


Today my app crashed and generated this crashlog. The crashlog does not mention any classes in my project and to me it seems almost impossible to tackle this issue.

Any ideas how to approach this problem? Thanks for your help!


回答1:


There's a tool included in Apple's Developer's tools called symbolicatecrash. With it you can symbolicate crash reports, but note that you'll need the associated .dsym file of your build Check this post to see a tutorial using it.




回答2:


This is how I ran the symbolitecrash binary.

Find the binary symbolitecrash

locate symbolitecrash

Optional: You may add a convenience link to /usr/bin

sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash /usr/bin/symbolicatecrash

Copy the crash log to the Debug-iphoneos folder and go to the project

cp ~/Desktop/TheCrash.crash ~/Myproject/build/Debug-iphoneos
cd ~/MyProject/build/Debug-iphoneos

Run the crash log symbolicater

symbolicatecrash TheCrash.crash MyProject.app.dSYM > ReportWithSymbols.crash

The result

crashlog http://k.minus.com/jk4X2obwZMI7j.png



来源:https://stackoverflow.com/questions/7565978/how-to-interpret-a-crashlog-with-no-references-to-a-specific-class

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!