Skip to content

Commit

Permalink
fix(rn): Add Xcode Debug Files upload using Sentry shell script (#9927)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed May 6, 2024
1 parent d56089e commit cf8af47
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/platforms/react-native/manual-setup/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ By default, uploading of source maps for debug simulator builds is disabled for
To upload debug symbols to Sentry, create a new Run Script build phase using the following script:

```bash {filename:Upload Debug Symbols to Sentry}
export SENTRY_PROPERTIES=sentry.properties

[[ $SENTRY_INCLUDE_NATIVE_SOURCES == "true" ]] && INCLUDE_SOURCES_FLAG="--include-sources" || INCLUDE_SOURCES_FLAG=""
SENTRY_CLI="../node_modules/@sentry/cli/bin/sentry-cli"
$SENTRY_CLI debug-files upload "$INCLUDE_SOURCES_FLAG" "$DWARF_DSYM_FOLDER_PATH"
/bin/sh ../../scripts/sentry-xcode-debug-files.sh
```

To change the default behavior, you can pass the following environment variables in `.xcode.env` or in the Build Phase script:
Expand Down

0 comments on commit cf8af47

Please sign in to comment.