Symbolicating iPhone App Crash Reports

后端 未结 25 2581
迷失自我
迷失自我 2020-11-21 05:38

I\'m looking to try and symbolicate my iPhone app\'s crash reports.

I retrieved the crash reports from iTunes Connect. I have the application binary that I submitted

25条回答
  •  野性不改
    2020-11-21 06:00

    I had to do a lot of hacking of the symbolicatecrash script to get it to run properly.

    As far as I can tell, symbolicatecrash right now requires the .app to be in the same directory as the .dsym. It will use the .dsym to locate the .app, but it won't use the dsym to find the symbols.

    You should make a copy of your symbolicatecrash before attempting these patches which will make it look in the dsym:

    Around line 212 in the getSymbolPathFor_dsymUuid function

    212     my @executablePath = grep { -e && ! -d } glob("$dsymdir" . "/Contents/Resources/DWARF/" . $executable);
    

    Around line 265 in the matchesUUID function

    265             return 1;
    

提交回复
热议问题