Skip to content

Instantly share code, notes, and snippets.

@gdavis
Last active August 26, 2021 13:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdavis/cd2e404592440906ce9b05faf422e4cf to your computer and use it in GitHub Desktop.
Save gdavis/cd2e404592440906ce9b05faf422e4cf to your computer and use it in GitHub Desktop.
De-symbolicating crash reports via Terminal
  1. download the crash log, dSYM, and place in the same directory

  2. copy the symbolicatecrash executable from Xcode tools and place in the directory in step 1 (or create an alias pointing to it)

  3. set the environment variable for the developer directory

export DEVELOPER_DIR=$(xcode-select --print-path)

  1. run the symbolicatecrash with arguments to the crash log and dSYM

./symbolicatecrash -v [crashfilename].crash [appname].app.dSYM

@gdavis
Copy link
Author

gdavis commented Jul 16, 2018

In order to locate the symbolicatecash executable, run the following:

find /Applications/Xcode.app -name symbolicatecrash -type f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment