15

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.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
drshock
  • 2,096
  • 2
  • 15
  • 30
  • 1
    @null organizer does not symbolicate for me, so it's not a sure fire thing for everyone – jjxtra Jan 26 '16 at 02:26
  • @jjxtra there are ways to solve that, specifically you need to make sure your build settings are correctly configured (see here: http://support.hockeyapp.net/kb/client-integration-ios-mac-os-x/how-to-solve-symbolication-problems#build-settings-for-getting-proper-symbol-data). It's worth taking the time getting xcode to work properly since using the Organizer is soooo much easier than manual symbolication. – null Jan 27 '16 at 04:54
  • @null I did eventually get it symbolicated doing it manually. I'll look at hockey app. – jjxtra Jan 27 '16 at 16:03
  • If you're using PLCrashReporter as I am you are getting reports that never come thru Apple into Xcode organizer. I rarely if ever see an Organizer crash reported. Command line symbolication works just fine with the accepted answer. – drshock Jan 28 '16 at 01:46

1 Answers1

21

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.

esilver
  • 27,713
  • 23
  • 122
  • 168
rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • Thanks, its been so long that I needed to manually symbolicate a PLCrashReporter file I forgot where I had this sh wrapper from! Still getting an odd error to figure out where symbolicatecrash emits "xcodebuild: error: SDK 'ipados' cannot be located" and then chokes up. – drshock Sep 27 '15 at 07:28
  • @rmaddy could you please show what that line in terminal looks like? I have the .dYSM files and crash file, but can't figure out the terminal command. Thanks! – justColbs Oct 06 '15 at 13:53
  • 1
    @drshock did you ever find a solution to your "xcodebuild: error: SDK 'ipados' cannot be located"? – canton7 Oct 20 '15 at 08:23
  • 1
    @canton7 the script pulls this from the Hardware model line of the crash log. I was pressed for time and just changed it to iPhone instead of iPad. Didn't look into why it got confused. – drshock Oct 24 '15 at 15:53
  • 5
    in Xcode7.3, it's in `/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash` – Xiao Apr 20 '16 at 04:45