From 3f443f4778f48efc10e34a4edbd82d1d7d39d810 Mon Sep 17 00:00:00 2001 From: Douglas Lowder Date: Wed, 5 Oct 2016 07:15:25 -0700 Subject: [PATCH] Apple TV support 2: Xcode projects and CI (scripts/objc-test.sh) Summary: * Motivation * Second PR for Apple TV support. * Test plan * Apple TV tests have been added to scripts/objc-test.sh Closes https://github.com/facebook/react-native/pull/10227 Differential Revision: D3974064 Pulled By: javache fbshipit-source-id: 36dffb4517efa489e40fa713a30655d1d76ef646 --- react-native-xcode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-native-xcode.sh b/react-native-xcode.sh index c96149d0..a27d2dbe 100755 --- a/react-native-xcode.sh +++ b/react-native-xcode.sh @@ -14,7 +14,7 @@ case "$CONFIGURATION" in 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" = "iphonesimulator" ]]; then + if [[ "$PLATFORM_NAME" == *simulator ]]; then echo "Skipping bundling for Simulator platform" exit 0; fi @@ -71,7 +71,7 @@ type $NODE_BINARY >/dev/null 2>&1 || nodejs_not_found set -x DEST=$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH -if [[ "$CONFIGURATION" = "Debug" && "$PLATFORM_NAME" != "iphonesimulator" ]]; then +if [[ "$CONFIGURATION" = "Debug" && ! "$PLATFORM_NAME" == *simulator ]]; then PLISTBUDDY='/usr/libexec/PlistBuddy' PLIST=$TARGET_BUILD_DIR/$INFOPLIST_PATH IP=$(ipconfig getifaddr en0)