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
39
39
fi
40
40
[ -z " $SENTRY_CLI_EXECUTABLE " ] && SENTRY_CLI_EXECUTABLE=" $SENTRY_CLI_PACKAGE_PATH "
41
41
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 } "
43
44
44
45
[[ " $AUTO_RELEASE " == false ]] && [[ -z " $BUNDLE_COMMAND " || " $BUNDLE_COMMAND " != " ram-bundle" ]] && NO_AUTO_RELEASE=" --no-auto-release"
45
46
ARGS=" $NO_AUTO_RELEASE $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_RN_XCODE_EXTRA_ARGS "
Original file line number Diff line number Diff line change 272
272
);
273
273
runOnlyForDeploymentPostprocessing = 0;
274
274
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";
276
276
};
277
277
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
278
278
isa = PBXShellScriptBuildPhase;
You can’t perform that action at this time.
0 commit comments