Chuckytuh / automatic_symbolication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

  • In your MacBook, create a new folder to store all the necessary resources. The resources are:

    • The symbolicate.sh script;
    • The crash log file with the stack of the error;
    • The .app.dSYM file (is actually a compressed folder...) from the source code of the application installed on the device.
  • Open a terminal in the folder created in the previous step, and run the following commands:

    • To be able to execute the script:
      $ chmod u+x symbolicate.sh
    
    • To perform the symbolication of a crash file with the output to console:
      $ ./symbolicate.sh <appName>.app.dSYM/Contents/Resources/DWARF/<appName> <crash_file>
    

    where is the name of the mobile application and <crash_file> is the file containing the error stack. Alternatively, you can send the output to a file using the below command:

      $ ./symbolicate.sh <appName>.app.dSYM/Contents/Resources/DWARF/<appName> <crash_file> > <output_file>
    

After that, you'll visualize useful information for troubleshooting instead of random memory addresses.

Hope you find it helpful! :)

About


Languages

Language:Shell 100.0%