iosdebug-symbolscrash-dumpssymbolicatecrash

How can I symbolicate without archive but have .dsym files?


I have to symbolicate a crash report given to me, however I didn't create the initial archive that was sent to Apple. I do, however, have the .dsym files. Is there a way I can symbolicate the crash file?

Thanks.


Solution

  • This is assuming Xcode 8.2.1 is installed as Xcode.app

    Create a new folder on your desktop and call it symbolication
 Put the .dsym files into the symbolication folder

    download the crash report (I used CustomerID.crash as the format of these files)

    In the terminal, type:

    cp /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash  ~/desktop/symbolication/symbolicgtecrash
    cd ~/desktop/symbolication
    export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
    

    Then for each file to symbolicate, type:

    ./symbolicatecrash CustomerID.crash > CustomerID_symbolicated.crash
    

    (where CustomerID is the customer id used when saving the crash report)