Skip to content

Commit 9743a29

Browse files
alwxantonis
andauthored
Update shellScript value in project.pbxproj to make yarn set-build-number work properly (#5182)
Co-authored-by: Antonis Lilis <[email protected]>
1 parent 41ca4b4 commit 9743a29

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

samples/react-native/ios/sentryreactnativesample.xcodeproj/project.pbxproj

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
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\"\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";
276276
};
277277
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
278278
isa = PBXShellScriptBuildPhase;
@@ -282,10 +282,14 @@
282282
inputFileListPaths = (
283283
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample/Pods-sentryreactnativesample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
284284
);
285+
inputPaths = (
286+
);
285287
name = "[CP] Embed Pods Frameworks";
286288
outputFileListPaths = (
287289
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample/Pods-sentryreactnativesample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
288290
);
291+
outputPaths = (
292+
);
289293
runOnlyForDeploymentPostprocessing = 0;
290294
shellPath = /bin/sh;
291295
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample/Pods-sentryreactnativesample-frameworks.sh\"\n";
@@ -313,10 +317,14 @@
313317
inputFileListPaths = (
314318
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample-sentryreactnativesampleTests/Pods-sentryreactnativesample-sentryreactnativesampleTests-resources-${CONFIGURATION}-input-files.xcfilelist",
315319
);
320+
inputPaths = (
321+
);
316322
name = "[CP] Copy Pods Resources";
317323
outputFileListPaths = (
318324
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample-sentryreactnativesampleTests/Pods-sentryreactnativesample-sentryreactnativesampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
319325
);
326+
outputPaths = (
327+
);
320328
runOnlyForDeploymentPostprocessing = 0;
321329
shellPath = /bin/sh;
322330
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample-sentryreactnativesampleTests/Pods-sentryreactnativesample-sentryreactnativesampleTests-resources.sh\"\n";
@@ -374,10 +382,14 @@
374382
inputFileListPaths = (
375383
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample-sentryreactnativesampleTests/Pods-sentryreactnativesample-sentryreactnativesampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
376384
);
385+
inputPaths = (
386+
);
377387
name = "[CP] Embed Pods Frameworks";
378388
outputFileListPaths = (
379389
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample-sentryreactnativesampleTests/Pods-sentryreactnativesample-sentryreactnativesampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
380390
);
391+
outputPaths = (
392+
);
381393
runOnlyForDeploymentPostprocessing = 0;
382394
shellPath = /bin/sh;
383395
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample-sentryreactnativesampleTests/Pods-sentryreactnativesample-sentryreactnativesampleTests-frameworks.sh\"\n";
@@ -391,10 +403,14 @@
391403
inputFileListPaths = (
392404
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample/Pods-sentryreactnativesample-resources-${CONFIGURATION}-input-files.xcfilelist",
393405
);
406+
inputPaths = (
407+
);
394408
name = "[CP] Copy Pods Resources";
395409
outputFileListPaths = (
396410
"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample/Pods-sentryreactnativesample-resources-${CONFIGURATION}-output-files.xcfilelist",
397411
);
412+
outputPaths = (
413+
);
398414
runOnlyForDeploymentPostprocessing = 0;
399415
shellPath = /bin/sh;
400416
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-sentryreactnativesample/Pods-sentryreactnativesample-resources.sh\"\n";
@@ -614,10 +630,7 @@
614630
"-DFOLLY_CFG_NO_COROUTINES=1",
615631
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
616632
);
617-
OTHER_LDFLAGS = (
618-
"$(inherited)",
619-
" ",
620-
);
633+
OTHER_LDFLAGS = "$(inherited) ";
621634
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
622635
SDKROOT = iphoneos;
623636
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -690,10 +703,7 @@
690703
"-DFOLLY_CFG_NO_COROUTINES=1",
691704
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
692705
);
693-
OTHER_LDFLAGS = (
694-
"$(inherited)",
695-
" ",
696-
);
706+
OTHER_LDFLAGS = "$(inherited) ";
697707
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
698708
SDKROOT = iphoneos;
699709
USE_HERMES = true;

0 commit comments

Comments
 (0)