Skip to main content

Symbolicating Crash Reports

In order to have stack traces in error logs or crashes be as readable as possible, its important to upload your app's desymbolication files to the Embrace backend. The best way to do this is to add a build step to your project.

First, download our support utility. This is an archive that contains the Embrace upload binary and also a shell script These should be copied into your project at a known location like embrace_support/upload and embrace_support/

Then, in your app target's Xcode Build Phases pane, add a new 'Run Script Phase' at the end of the list of Build Phases. This run script phase should invoke the script with the envvars EMBRACE_ID and EMBRACE_TOKEN:


These envvars are retrieved from your Embrace dashboard and are:

  • EMBRACE_ID The 'appId' value you have configured in Embrace.Options.
  • EMBRACE_TOKEN A secret token to authorize the upload request. This is a longer key that you can find in the settings page.

run script in xcode