# How to build Ionic Cordova with Xcode 10?

**URL:** <https://forum.ionicframework.com/t/how-to-build-ionic-cordova-with-xcode-10/142044>\
**Category:** ionic-v3\
**Created:** [September 18, 2018, 10:15am UTC](https://forum.ionicframework.com/t/how-to-build-ionic-cordova-with-xcode-10/142044 "2018-09-18T10:15:22Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![MattE](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/matte/32/66712_2.png) [@MattE](https://forum.ionicframework.com/u/MattE)\
**Post date:** [September 24, 2018, 11:01am UTC](https://forum.ionicframework.com/t/how-to-build-ionic-cordova-with-xcode-10/142044/13 "2018-09-24T11:01:43Z")

</div>

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:

```auto
{
    "ios": {
        "debug": {
            "buildFlag": [
                "-UseModernBuildSystem=0"
            ]
        },
        "release": {
            "buildFlag": [
                "-UseModernBuildSystem=0"
            ]
        }
    }
}

```

---

_[View the full topic](https://forum.ionicframework.com/t/how-to-build-ionic-cordova-with-xcode-10/142044)._
