Created
April 26, 2022 19:05
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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