Skip to content

Instantly share code, notes, and snippets.

@jalakoo
Last active January 3, 2018 17:35
Show Gist options
  • Save jalakoo/b20933ff5b0f6ee88fa5a79902198a7a to your computer and use it in GitHub Desktop.
Save jalakoo/b20933ff5b0f6ee88fa5a79902198a7a to your computer and use it in GitHub Desktop.
iOS Symbolication Instructions

iOS CRASH SYMBOLICATION INSTRUCTIONS

Not ideal, but works.

  1. Copy .app, .dSYM and .crash file into a temp folder
  2. Copy the relevant crash symbols into a txt file name 'symbols.txt'. Format should look like:
0x00110176 0xb8000
0x0011003a 0xb8000
0x001d2d44 0xb8000
  1. Run xcrun like xcrun atos -o "Optum Harmony.app/Optum Harmony" -arch armv7 -l 0xb8000 -f symbols.txt Console will print out the sybmolicated names of the methods & lines for the given stack trace info.

To check that the .app and .dSYM are for the same file:

  1. For .app: dwarfdump -u "Optum Harmony.app/Optum Harmony"
  2. For .dSYM: dwarfdump -u "Optum Harmony.app.dSYM/Optum Harmony.app.dSYM/Contents/Resources/DWARF/Optum Harmony"

To check a single symbol

atos -arch armv7 -o "Optum Harmony.app.dSYM/Optum Harmony.app.dSYM/Contents/Resources/DWARF/Optum Harmony" -l 0xb8000 0x002c3c3c

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