How to build Ionic Cordova with Xcode 10?

For the record: adding a build.json to the root of the project is the easier solution.
With this file it isn’t necesary anymore to do some magic with commands and you can continue to use the normal Ionic CLI commands.

build.json:

{
    "ios": {
        "debug": {
            "buildFlag": [
                "-UseModernBuildSystem=0"
            ]
        },
        "release": {
            "buildFlag": [
                "-UseModernBuildSystem=0"
            ]
        }
    }
}
13 Likes