iOS Apps - Symbolicating crash logs

Its very difficult to read the crash logs for iPhone and iPad apps and to find the exact location of crash.
A reliable method to find the source line number & method name from crash logs:

  1. cd to the dir having the .app & .dSYM files
  2. run /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gdb/gdb-arm-apple-darwin MyApp.app/MyApp
  3. set print asm-demangle on
  4. set print symbol-filename on
  5. p/a 0×00015c64 -> address got by opening the crash log in “Console” app or just double clicking the the .crash file.

Nice to be here with you guys

Thanks for the helpful post.
KimkasJKK

GammaPoint Tweets

Navigation