Browse Source

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

master
paweldomas 6 years ago
parent
commit
14b747e0a4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/sdk/sdk.xcodeproj/project.pbxproj

+ 1
- 1
ios/sdk/sdk.xcodeproj/project.pbxproj View File

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;

Loading…
Cancel
Save