How to symbolicate crash log with Xcode 7?

2019-01-15 06:56发布

问题:

So the technique I was using with Xcode 6 appears to be deprecated, the symbolicatecrash.sh script is not located in the xcode bundle anymore. Instead there is an executable named symbolicatecrash in the same folder path as Xcode 6 had the script.

Anyone know where Apple moved symbolicatecrash.sh for manual symbolication? The script from Xcode 6 gives errors running with Xcode 7.

回答1:

I have Xcode 7 installed and symbolicatecrash in /usr/bin is a symbolic link to /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash.

I have no problem manually symbolicating crash reports with Xcode 7 just as I have for the last several releases of Xcode.

BTW - it's still a perl script as always.

And be sure you have installed the Xcode command line tools.

Update

With Xcode 7.3 the location of symbolicatecrash is /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash.

I've also seen that since upgrading to OS X 10.11 (El Capitan), there is no longer a symbolic link in /usr/bin.