Skip to main content

See crash reports and how to symbolicate manually

DeployGate provides Crash Report mechanism.

  • DeployGate iOS SDK uses PLCrashReporter.
  • DeployGateSDK stores crash report in an internal file and send it at the next launch.
  • Currently DeployGate doesn't symbolicate the crashreport automatically. We will provide symbolication on deploygate.com in the future.

How to symbolicate

Make symbolicatecrash executable

You need to configure the path of symbolicatecrash if you have not used it. Please put the following code hunk into your ~/.bashrc or any other shell profiles.

symbolicatecrash_path="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources"
export PATH="$symbolicatecrash_path:$PATH"
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer/"
symbolicatecrash_path="/Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources"
export PATH="$symbolicatecrash_path:$PATH"
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer/"
symbolicatecrash_path="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources"
export PATH="$symbolicatecrash_path:$PATH"
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer/"

Get a crash report

SDK will upload Crash Report automatically at the next launching app. If uploaded, you can see the carsh activity like the image below.

@@ assets/sdk/ios/crash_activity.png の画像がありませんでした. 代わりに download_crash_report.png を使っています Crash activity

Click the activity and go to the device page. You can download the crash report from the device page.

Crashreport download

Prepare .dSYM file

Get dSYM file from Organizer -> Archive.

Get .dsym

Execute symbolicatecrash

execute symbolicatecrash to the crashreport and dSYM file.

$ symbolicatecrash <CRASH_REPORT_FILE> <DSYM_FILE>

Symbolicate crash