()
| 191 | } |
| 192 | |
| 193 | writeBuildJson() { |
| 194 | if (files.exists(this.buildJsonPath)) { |
| 195 | return; |
| 196 | } |
| 197 | |
| 198 | const iosCommonOptions = { |
| 199 | // See https://github.com/apache/cordova-ios/issues/407: |
| 200 | buildFlag: [ |
| 201 | "-UseModernBuildSystem=0" |
| 202 | ] |
| 203 | }; |
| 204 | |
| 205 | files.writeFile( |
| 206 | this.buildJsonPath, |
| 207 | JSON.stringify({ |
| 208 | ios: { |
| 209 | debug: iosCommonOptions, |
| 210 | release: iosCommonOptions, |
| 211 | } |
| 212 | }, null, 2) + "\n", |
| 213 | ); |
| 214 | } |
| 215 | |
| 216 | // Preparing |
| 217 |