From abe6c62d7f6cbac6227ee59e704c7a97515c72e5 Mon Sep 17 00:00:00 2001 From: Malte Legenhausen Date: Mon, 17 Sep 2018 08:40:35 +0200 Subject: [PATCH] Disable modern build system for Xcode 10 --- bin/templates/scripts/cordova/lib/build.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/templates/scripts/cordova/lib/build.js b/bin/templates/scripts/cordova/lib/build.js index 42bccbfe2..8aa733df5 100644 --- a/bin/templates/scripts/cordova/lib/build.js +++ b/bin/templates/scripts/cordova/lib/build.js @@ -290,6 +290,7 @@ function getXcodeBuildArgs (projectName, projectPath, configuration, isDevice, b if (isDevice) { options = [ + '-UseModernBuildSystem=NO', '-workspace', customArgs.workspace || projectName + '.xcworkspace', '-scheme', customArgs.scheme || projectName, '-configuration', customArgs.configuration || configuration, @@ -312,6 +313,7 @@ function getXcodeBuildArgs (projectName, projectPath, configuration, isDevice, b } } else { // emulator options = [ + '-UseModernBuildSystem=NO', '-workspace', customArgs.project || projectName + '.xcworkspace', '-scheme', customArgs.scheme || projectName, '-configuration', customArgs.configuration || configuration,