[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.
pull/2995/head jitsi-meet_3056
Saúl Ibarra Corretgé 7 years ago
parent add89e2488
commit 8f75c2e279
  1. 2
      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;

Loading…
Cancel
Save