From 665fc86a6e65a8edd4c868a7fcdb02e22d8865a4 Mon Sep 17 00:00:00 2001 From: Alex Kring Date: Sat, 15 Apr 2017 10:08:26 -0700 Subject: [PATCH] Don't build js bundles for debug simulator build configurations Summary: Don't build js bundles for debug simulator build configurations Motivation: We have more than one debug build configuration that we run in the simulator, and none of them are exactly named 'Debug'. We want to establish the convention that any simulator build configuration containing the word 'Debug' will not build the react js bundles. We believe this is less intrusive to the developer. Closes https://github.com/facebook/react-native/pull/13472 Differential Revision: D4890622 Pulled By: javache fbshipit-source-id: 4c809551f64ad575335416de28887a90b0756de1 --- packager/react-native-xcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/react-native-xcode.sh b/packager/react-native-xcode.sh index dc83971fb..9271538e3 100755 --- a/packager/react-native-xcode.sh +++ b/packager/react-native-xcode.sh @@ -11,7 +11,7 @@ # and relies on environment variables (including PWD) set by Xcode case "$CONFIGURATION" in - Debug) + *Debug*) # Speed up build times by skipping the creation of the offline package for debug # builds on the simulator since the packager is supposed to be running anyways. if [[ "$PLATFORM_NAME" == *simulator ]]; then