Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save majirosstefan/14c86e63de79c7ccde542edf993d4eb6 to your computer and use it in GitHub Desktop.
Save majirosstefan/14c86e63de79c7ccde542edf993d4eb6 to your computer and use it in GitHub Desktop.
For "react-native": "~0.63.4". This gist contains code for "Bundle React Native code and images" build phase
export SENTRY_LOG_LEVEL=debug
export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $DERIVED_FILE_DIR/main.jsbundle.map\"
# you can set here sentry_properties, but I am not doing so as I am using global .sentryclirc file
#export PROJECT_ROOT=../
export NODE_BINARY=$(which node)
../node_modules/@sentry/cli/bin/sentry-cli react-native xcode ../node_modules/react-native/scripts/react-native-xcode.sh --force-foreground
# uncomment line below if you are coming from expo
#../node_modules/expo-updates/scripts/create-manifest-ios.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment