From 8f75c2e279911f2859eba394cfd84a5068eb8323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 18 May 2018 14:36:03 +0200 Subject: [PATCH] [iOS] Don't bundle the React resources in Debug mode It significantly speeds up debug builds, putting them on par with Android, where we also don't bundle the React resources. --- ios/sdk/sdk.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/sdk/sdk.xcodeproj/project.pbxproj b/ios/sdk/sdk.xcodeproj/project.pbxproj index fe2686bcb..1927efc48 100644 --- a/ios/sdk/sdk.xcodeproj/project.pbxproj +++ b/ios/sdk/sdk.xcodeproj/project.pbxproj @@ -337,7 +337,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh"; + shellScript = "export NODE_BINARY=node\nif [[ \"$CONFIGURATION\" == *Debug* ]]; then\n export SKIP_BUNDLING=1\nfi\n../../node_modules/react-native/scripts/react-native-xcode.sh"; }; 26796D8589142D80C8AFDA51 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase;