Skip to content
This repository was archived by the owner on Dec 13, 2019. It is now read-only.

Commit a825ff0

Browse files
committed
feat: Enforce correct build mode for Cordova on iOS with latest XCode
1 parent 57eb65e commit a825ff0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/cordova/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class CordovaRunner {
3636
args.push(`--target=${cfg.ctx.emulator}`)
3737
}
3838

39+
if (cfg.ctx.targetName === 'ios') {
40+
args.push(`--buildFlag=-UseModernBuildSystem=0`)
41+
}
42+
3943
return this.__runCordovaCommand(
4044
cfg,
4145
args

0 commit comments

Comments
 (0)