From b59de6b6c55f1f7f7f5e106907e3d2f1ce1bb3df Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Tue, 14 Dec 2021 19:20:34 -0500 Subject: [PATCH] Don't validate ENTRY_FILE in react-native-xcode.sh --- scripts/react-native-xcode.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/react-native-xcode.sh b/scripts/react-native-xcode.sh index 3ef9a71bb9c5..0b874abc4ed0 100755 --- a/scripts/react-native-xcode.sh +++ b/scripts/react-native-xcode.sh @@ -74,11 +74,6 @@ else ENTRY_FILE=${1:-index.js} fi -if [[ $DEV != true && ! -f "$ENTRY_FILE" ]]; then - echo "error: Entry file $ENTRY_FILE does not exist. If you use another file as your entry point, pass ENTRY_FILE=myindex.js" >&2 - exit 2 -fi - # Find path to Node # shellcheck source=/dev/null source "$REACT_NATIVE_DIR/scripts/find-node.sh"