瀏覽代碼

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

master
paweldomas 6 年之前
父節點
當前提交
14b747e0a4
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      ios/sdk/sdk.xcodeproj/project.pbxproj

+ 1
- 1
ios/sdk/sdk.xcodeproj/project.pbxproj 查看文件

@@ -394,7 +394,7 @@
394 394
 			);
395 395
 			runOnlyForDeploymentPostprocessing = 0;
396 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 399
 		26796D8589142D80C8AFDA51 /* [CP] Check Pods Manifest.lock */ = {
400 400
 			isa = PBXShellScriptBuildPhase;

Loading…
取消
儲存