I'm stumped on how to get symbols for a .crash file out of xcode.
I have the .crash file, the .app file, the .ipa file and the .dSYM file. I drag the crash log into the xcode organizer and I see the crash log with symbols for system calls, but no symbols for my app.
The .app/.ipa was built by our build machine, so it was not archived via xcode.
I tried placing all three files (well, two are actually directories but look like files to the Mac) in the same folder and nothing. I tried running symbolicatecrash from the command line while in that directory and I get this error:
Error: "DEVELOPER_DIR" is not defined at /Applications/Xcode.app/[snip]Resources/symbolicatecrash line 53.
I tried setting DEVELOPER_DIR to /Applications/Xcode.app and it gets further, but now I see a slew of errors that read:
sh: /Applications/Xcode.app/usr/bin/xcrun: No such file or directory
I'm stumped. You'd think this would be easier given all 4 needed files are in same directory.
I am running xcode 4.4, but was experiencing the same issues last night with 4.3. I was hope upgrading would help.
You can use the Mac Console app to view any crash logs from your Mac or from the Simulator. And on the device under Settings, Privacy, Analytics, Analytics Data you can see all of the logs that are saved to disk and your users can share a log directly from this screen.
To symbolicate in Xcode, click the Device Logs button in the Devices and Simulators window, then drag and drop the crash report file into the list of device logs. Crash reports must have the . crash file extension. If a crash report doesn't have a file extension, or has a different file extension like .
Symbolication is the process of converting them into human readable, class/method names, file names, and line numbers.
Make sure you set the right DEVELOPER_DIR:
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
Xcode is written with capital X. Tested on Mountain Lion (10.8).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With