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

前端 未结 2 2001
清歌不尽
清歌不尽 2020-12-16 09:09

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.

相关标签:
2条回答
  • 2020-12-16 09:30

    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

    0 讨论(0)
  • 2020-12-16 09:36

    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.

    0 讨论(0)
提交回复
热议问题