File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samples/react-native/ios/sentryreactnativesample.xcodeproj Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 279279 );
280280 runOnlyForDeploymentPostprocessing = 0;
281281 shellPath = /bin/sh;
282- shellScript = "set -e\n\nLOCAL_NODE_BINARY=node\n\nWITH_ENVIRONMENT=`$LOCAL_NODE_BINARY --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/xcode/with-environment.sh'\"`\nREACT_NATIVE_XCODE=`\"$LOCAL_NODE_BINARY\" --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'\"`\nSENTRY_XCODE=`\"$LOCAL_NODE_BINARY\" --print \"require('path').dirname(require.resolve('@sentry/react-native/package.json')) + '/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";
282+ shellScript = "set -e\n\nLOCAL_NODE_BINARY=${NODE_BINARY:- node} \n\nWITH_ENVIRONMENT=`$LOCAL_NODE_BINARY --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/xcode/with-environment.sh'\"`\nREACT_NATIVE_XCODE=`\"$LOCAL_NODE_BINARY\" --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'\"`\nSENTRY_XCODE=`\"$LOCAL_NODE_BINARY\" --print \"require('path').dirname(require.resolve('@sentry/react-native/package.json')) + '/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";
283283 };
284284 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
285285 isa = PBXShellScriptBuildPhase;
328328 );
329329 runOnlyForDeploymentPostprocessing = 0;
330330 shellPath = /bin/sh;
331- shellScript = "LOCAL_NODE_BINARY=node\n\n/bin/sh `\"$LOCAL_NODE_BINARY\" --print \"require('path').dirname(require.resolve('@sentry/react-native/package.json')) + '/scripts/sentry-xcode-debug-files.sh'\"`\n";
331+ shellScript = "LOCAL_NODE_BINARY=${NODE_BINARY:- node} \n\n/bin/sh `\"$LOCAL_NODE_BINARY\" --print \"require('path').dirname(require.resolve('@sentry/react-native/package.json')) + '/scripts/sentry-xcode-debug-files.sh'\"`\n";
332332 };
333333 A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
334334 isa = PBXShellScriptBuildPhase;
You can’t perform that action at this time.
0 commit comments