From f874a7e7d3639d953749643eac072f29c25525b0 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 6 Apr 2023 07:37:13 -0700 Subject: [PATCH] =?UTF-8?q?Update=20react-native-xcode.sh=20to=20do=20not?= =?UTF-8?q?=20point=20users=20towards=20our=20issue=20=E2=80=A6=20(#36837)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Pointing users towards our issue tracker is not really effective as the underlying issue is a misconfiguration of their environment. I'm tweaking this error message. ## Changelog: [INTERNAL] - Update react-native-xcode.sh to do not point users towards our issue … Pull Request resolved: https://github.com/facebook/react-native/pull/36837 Test Plan: n/a just a string change Reviewed By: cipolleschi Differential Revision: D44748094 Pulled By: cortinico fbshipit-source-id: 6d960268eb7324b86ff5e4d3d5ddf4bbe67c2349 --- packages/react-native/scripts/react-native-xcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/scripts/react-native-xcode.sh b/packages/react-native/scripts/react-native-xcode.sh index 54a4eb9de34..9f80ef20246 100755 --- a/packages/react-native/scripts/react-native-xcode.sh +++ b/packages/react-native/scripts/react-native-xcode.sh @@ -187,6 +187,6 @@ else fi if [[ $DEV != true && ! -f "$BUNDLE_FILE" ]]; then - echo "error: File $BUNDLE_FILE does not exist. This must be a bug with React Native, please report it here: https://github.com/facebook/react-native/issues" >&2 + echo "error: File $BUNDLE_FILE does not exist. Your environment is misconfigured as Metro was not able to produce the bundle so your release application won't work!" >&2 exit 2 fi