Bläddra i källkod

fix(ios/xcode): increase node heap space for the bundle JS step

factor2
paweldomas 5 år sedan
förälder
incheckning
14b747e0a4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      ios/sdk/sdk.xcodeproj/project.pbxproj

+ 1
- 1
ios/sdk/sdk.xcodeproj/project.pbxproj Visa fil

394
 			);
394
 			);
395
 			runOnlyForDeploymentPostprocessing = 0;
395
 			runOnlyForDeploymentPostprocessing = 0;
396
 			shellPath = /bin/sh;
396
 			shellPath = /bin/sh;
397
-			shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh\n";
397
+			shellScript = "export NODE_BINARY=node\nexport NODE_ARGS=\"--max_old_space_size=4096\"\n../../node_modules/react-native/scripts/react-native-xcode.sh\n";
398
 		};
398
 		};
399
 		26796D8589142D80C8AFDA51 /* [CP] Check Pods Manifest.lock */ = {
399
 		26796D8589142D80C8AFDA51 /* [CP] Check Pods Manifest.lock */ = {
400
 			isa = PBXShellScriptBuildPhase;
400
 			isa = PBXShellScriptBuildPhase;

Laddar…
Avbryt
Spara