From 9c634be6e6e3a1b77c9659224bbc24ef026c5a58 Mon Sep 17 00:00:00 2001 From: qiansc Date: Mon, 22 Mar 2021 15:30:25 +0800 Subject: [PATCH] fix: fix stdout maxBuffer exceeded error --- lib/compile-xcodeproj.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/compile-xcodeproj.js b/lib/compile-xcodeproj.js index 45e13f4..15e0a26 100644 --- a/lib/compile-xcodeproj.js +++ b/lib/compile-xcodeproj.js @@ -44,7 +44,10 @@ module.exports = function compileNib(loader, projectPath, outputPath, cb) { outputPath, 'COMMAND_LINE_BUILD=1', ], - { encoding: 'utf8' }, + { + encoding: 'utf8', + maxBuffer: 200 * 1024 * 1024, // default 200 * 1024 + }, (error) => cb(error), ); };