upload_symbols_to_sentry
Upload dSYM symbolication files to Sentry
Please use the
sentryplugin instead.
Install usingfastlane add_plugin sentry.
Replaceupload_symbols_to_sentry(...)withsentry_upload_dsym(...).This action allows you to upload symbolication files to Sentry. It's extra useful if you use it to download the latest dSYM files from Apple when you use Bitcode.
| upload_symbols_to_sentry | |
|---|---|
| Supported platforms | ios |
| Author | @joshdholtz |
| Returns | The uploaded dSYM path(s) |
1 Example
upload_symbols_to_sentry(
auth_token: "...",
org_slug: "...",
project_slug: "...",
dsym_path: "./App.dSYM.zip"
)
Parameters
| Key | Description | Default |
|---|---|---|
api_host |
API host url for Sentry | https://app.getsentry.com/api/0 |
api_key |
API key for Sentry | |
auth_token |
Authentication token for Sentry | |
org_slug |
Organization slug for Sentry project | |
project_slug |
Project slug for Sentry | |
dsym_path |
Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip | * |
dsym_paths |
Path to an array of your symbols file. For iOS and Mac provide path to app.dSYM.zip | * |
* = default value is dependent on the user's system
Documentation
To show the documentation in your terminal, run
fastlane action upload_symbols_to_sentry
CLI
It is recommended to add the above action into your Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal
fastlane run upload_symbols_to_sentry
To pass parameters, make use of the : symbol, for example
fastlane run upload_symbols_to_sentry parameter1:"value1" parameter2:"value2"
It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"). Hashes are not currently supported.
It is recommended to add all fastlane actions you use to your Fastfile.
Source code
This action, just like the rest of fastlane, is fully open source, view the source code on GitHub