From 9d53b4f82731f9a5a3127810eda14be64477a4e8 Mon Sep 17 00:00:00 2001 From: Alex Kotliarskyi Date: Sun, 24 Jan 2016 13:20:59 -0800 Subject: [PATCH] Skip bundling for Simulator --- packager/react-native-xcode.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packager/react-native-xcode.sh b/packager/react-native-xcode.sh index 898862618acda1..b06a6ed44a1c00 100755 --- a/packager/react-native-xcode.sh +++ b/packager/react-native-xcode.sh @@ -10,6 +10,13 @@ # This script is supposed to be invoked as part of Xcode build process # and relies on envoronment variables (including PWD) set by Xcode +# There is no point in creating an offline package for simulator builds +# because the packager is supposed to be running during development anyways +if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then + echo "Skipping bundling for Simulator platform" + exit 0; +fi + case "$CONFIGURATION" in Debug) DEV=true