How to interpret a crashlog with no references to

2019-01-23 21:58发布

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!

2条回答
啃猪蹄的小仙女
2楼-- · 2019-01-23 22:16

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

查看更多
地球回转人心会变
3楼-- · 2019-01-23 22:31

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.

查看更多
登录 后发表回答