[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.
This commit is contained in:
Saúl Ibarra Corretgé 2018-05-18 14:36:03 +02:00
parent add89e2488
commit 8f75c2e279
1 changed files with 1 additions and 1 deletions

View File

@ -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;