From cc59a7cbde1c0fc6d6ef059321d23bf287f08218 Mon Sep 17 00:00:00 2001 From: Gareth Knowles Date: Fri, 17 Sep 2021 10:10:43 -0700 Subject: [PATCH] Fix: find-node.sh location in react-native-xcode.sh script (#32227) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Fix the `find-node.sh` call in `react-native-xcode.sh` script ## Related issue https://github.com/facebook/react-native/issues/32168 ## Changelog [iOS] [Fixed] - Fix for unable to find `find-node.sh` in `react-native-xcode.sh` script Pull Request resolved: https://github.com/facebook/react-native/pull/32227 Test Plan: • Run an Xcode build which uses the `scripts/react-native-xcode.sh` in the JS Bundle build phase. Reviewed By: TheSavior Differential Revision: D31022043 Pulled By: GijsWeterings fbshipit-source-id: 10aafd595c3a3a87c22f385ca4f61756f67e9b9d --- scripts/react-native-xcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/react-native-xcode.sh b/scripts/react-native-xcode.sh index b5f7544d3e8376..203a9ab186a82d 100755 --- a/scripts/react-native-xcode.sh +++ b/scripts/react-native-xcode.sh @@ -81,7 +81,7 @@ fi # Find path to Node # shellcheck source=/dev/null -source "$RN_DIR/scripts/find-node.sh" +source "$REACT_NATIVE_DIR/scripts/find-node.sh" # check and assign NODE_BINARY env # shellcheck source=/dev/null