From 5129c67e30528864b732b84739d964b6730b5726 Mon Sep 17 00:00:00 2001 From: Matt Oakes Date: Sat, 6 Apr 2019 09:31:14 -0700 Subject: [PATCH] Put the bundling script back to the origional to allow release testing to work again --- example/ios/CameraRollExample.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ios/CameraRollExample.xcodeproj/project.pbxproj b/example/ios/CameraRollExample.xcodeproj/project.pbxproj index 7a61dcbcb..9c2558b46 100644 --- a/example/ios/CameraRollExample.xcodeproj/project.pbxproj +++ b/example/ios/CameraRollExample.xcodeproj/project.pbxproj @@ -938,7 +938,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if [ \"$CONFIGURATION\" == \"Debug\" ]; then\n echo \"Debug Configuration\"\n export NODE_BINARY=node\n ../../node_modules/react-native/scripts/react-native-xcode.sh\nelse\n echo \"Tests: Release Configuration\"\n RESOURCE_PATH=$SRCROOT/../../.tmp\n FILENAME_IN_BUNDLE=main.jsbundle\n BUILD_APP_DIR=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\n cp $RESOURCE_PATH/ios-bundle.js $BUILD_APP_DIR/$FILENAME_IN_BUNDLE\n echo \"Tests: Copied main.jsbundle from ./.tmp\"\nfi\n"; + shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh\n"; }; /* End PBXShellScriptBuildPhase section */