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

前端 未结 2 2002
清歌不尽
清歌不尽 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

提交回复
热议问题