symbolicatecrash not working with dSYM, but 'atos' works

后端 未结 1 591
星月不相逢
星月不相逢 2021-02-04 21:24

Excuse me! There\'s a problem confuse me!

I have the Myapp.app.dSYM. (All Symbols has stripped from the MyApp.app and copy to dSYM)

Now I use symbolicatecrash t

1条回答
  •  误落风尘
    2021-02-04 21:55

    symbolicatecrash is a perl script that internally calls atos.

    You can grab the code from https://github.com/bitstadium/QuincyKit/blob/develop/server/local/symbolicatecrash.pl (or your XCode installation directory).

    Copy it somewhere and edit it to change the line:

    print STDERR "Did not find executable for dsym\n" if $opt{v};
    return undef;
    

    Change undef to /path/to/your.app.dSYM/Contents/Resources/DWARF/YourAppName

    Then run it again and it will get you the right output. With some more work your can edit the script to do this automatically or take an additional argument instead of using mdfind...

    0 讨论(0)
提交回复
热议问题