File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
samples/react-native/ios/sentryreactnativesample.xcodeproj Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ if [ -z "$SENTRY_CLI_EXECUTABLE" ]; then
3939fi
4040[ -z " $SENTRY_CLI_EXECUTABLE " ] && SENTRY_CLI_EXECUTABLE=" $SENTRY_CLI_PACKAGE_PATH "
4141
42- REACT_NATIVE_XCODE=$1
42+ REACT_NATIVE_XCODE_DEFAULT=" ../node_modules/react-native/scripts/react-native-xcode.sh"
43+ REACT_NATIVE_XCODE=" ${1:- $REACT_NATIVE_XCODE_DEFAULT } "
4344
4445[[ " $AUTO_RELEASE " == false ]] && [[ -z " $BUNDLE_COMMAND " || " $BUNDLE_COMMAND " != " ram-bundle" ]] && NO_AUTO_RELEASE=" --no-auto-release"
4546ARGS=" $NO_AUTO_RELEASE $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_RN_XCODE_EXTRA_ARGS "
Original file line number Diff line number Diff line change 272272 );
273273 runOnlyForDeploymentPostprocessing = 0;
274274 shellPath = /bin/sh;
275- shellScript = "set -e\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\ nSENTRY_XCODE=\"../node_modules/@sentry/react-native/scripts/sentry-xcode.sh\"\nBUNDLE_REACT_NATIVE=\"/bin/sh $SENTRY_XCODE $REACT_NATIVE_XCODE\"\n\n /bin/sh -c \"$WITH_ENVIRONMENT '$BUNDLE_REACT_NATIVE' \"\n";
275+ shellScript = "set -e\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nSENTRY_XCODE=\"../node_modules/@sentry/react-native/scripts/sentry-xcode.sh\"\n /bin/sh -c \"$WITH_ENVIRONMENT $SENTRY_XCODE \"\n";
276276 };
277277 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
278278 isa = PBXShellScriptBuildPhase;
You can’t perform that action at this time.
0 commit comments