How to symbolicate crash log with Xcode 8?

亡梦爱人 提交于 2019-11-30 01:32:15
Vkharb

Try using these steps:

1) create a new folder ,lets say "Universe" , to hold the stuff.

2) use the Go to Folder utility from Finder . Use the path /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/

Find "symbolicatecrash" file and you can manually copy and paste this file to your Universe folder

3) Place your crash and Archive of your app in your folder ( Archive will hold all the dysm files. Alternatively you can place all your dYsm files )

4) CD to your "Universe" folder directory . Now run this command

export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"

5)run the symbolicate command on your crash

./symbolicatecrash myCrash.crash > SymbolicatedM.crash

Voila!! you have your symbolicated crash log.

PS : The added advantage of this is that the above setup is a one time setup and is reusable .All that is required is just replace your crash file and dysm file , then just repeat step 5 each time you want a new crash symbolicated. Bye bye complicated commands!

  • Try connecting a device.
  • Then select Xcode->Devices->View logs.
  • Drag the crash log into the left pane, you can re-symbolicate right clicking on the crash log.

We had the same issue here and we got this solved with a mix of Vkharb and Enrico responses.

  • In the same folder, we included our dsym file (symbols) and crash report correctly renamed to whatever.crash
  • Then, open terminal and type the next commands:
  1. alias symbolicate="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash -v"

  2. export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"

  3. symbolicate whatever.crash > SymbolicatedM.crash

And you should see the progress with a final report completed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!