Skip to content

Instantly share code, notes, and snippets.

@paulz
Last active February 28, 2019 10:24
Show Gist options
  • Select an option

  • Save paulz/c1968cb06fd38921ab08358dcd659a1c to your computer and use it in GitHub Desktop.

Select an option

Save paulz/c1968cb06fd38921ab08358dcd659a1c to your computer and use it in GitHub Desktop.
Symbolicate Crash Reports from Device

To symbolicate crashes happening on device for builds made in Xcode, that has not yet been uploaded through Xcode organizer.

//:configuration = Release DEBUG_INFORMATION_FORMAT = dwarf-with-dsym

  1. copy .app and .dSYM to Desktop
  2. Re-symbolicate - from right click menu on crash in Devices and Simulators

//:configuration = Debug DEBUG_INFORMATION_FORMAT = dwarf

  1. copy .app to the same folder as .crash
  2. export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
  3. /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash -v .crash ./App.app/App > symbolicate.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment