From cd30bc3888bac500e9ecc7e9be051d0bc3659c2f Mon Sep 17 00:00:00 2001 From: Dmitry Rykun Date: Tue, 22 Aug 2023 09:09:35 -0700 Subject: [PATCH] Fix PROJECT_ROOT for RNTester Xcode project (#39112) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39112 RNTester's `PROJECT_ROOT` should point to `packages/rn-tester` but for some reason it points to the `react-native` monorepo root. Changelog: [iOS][Fixed] - RNTester's PROJECT_ROOT points to `packages/rn-tester` Reviewed By: cipolleschi Differential Revision: D48526552 fbshipit-source-id: 79047ddcbea96eb31f010a8f802aba8c6a2c403b --- packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj b/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj index bd3e9b61ddda7e..519976e9ee133e 100644 --- a/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj +++ b/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj @@ -646,7 +646,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "set -e\n\nexport PROJECT_ROOT=\"$SRCROOT/../../\"\nexport ENTRY_FILE=\"$SRCROOT/js/RNTesterApp.ios.js\"\nexport SOURCEMAP_FILE=../sourcemap.ios.map\n# export FORCE_BUNDLING=true \n\nWITH_ENVIRONMENT=\"../react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; + shellScript = "set -e\n\nexport PROJECT_ROOT=\"$SRCROOT\"\nexport ENTRY_FILE=\"$SRCROOT/js/RNTesterApp.ios.js\"\nexport SOURCEMAP_FILE=../sourcemap.ios.map\n# export FORCE_BUNDLING=true \n\nWITH_ENVIRONMENT=\"../react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; }; 69760E095072DBD949449A0E /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase;