diff --git a/scripts/react-native-xcode.sh b/scripts/react-native-xcode.sh index 6f95a2953c1223..1eca138eaf2fcb 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 - # check and assign NODE_BINARY env # shellcheck source=/dev/null source "$REACT_NATIVE_DIR/scripts/node-binary.sh" @@ -184,4 +179,4 @@ if [[ $DEV != true && ! -f "$BUNDLE_FILE" ]]; then echo "error: File $BUNDLE_FILE does not exist. This must be a bug with" >&2 echo "React Native, please report it here: https://github.com/facebook/react-native/issues" exit 2 -fi +fi \ No newline at end of file