Book Review: Heads You Win

Automated iOS build broken in xcode 9

Having upgraded to High Sierra, the next logical (?) step was to upgrade to Xcode 9 and get a couple of customer apps to build on that.

We use continuous integration to automate the building of our hybrid apps.  This means, we generate the platforms on the fly and build the same.

There was a new release to cordova-ios plugin to support xcode 9 and we updated config.xml/package.json to use this plugin.  So far so good.  But the build broke with the following error.

A search in Google reveals that this is due to the change Apple has made in xcode 9, whereby it expects the Provisioning Profile name in exportOptions.plist file.   This file itself is generated as part of the build, but does not include the provisioning profile.

If you hit this link in your search, it is misleading since this is handled in the 4.5.1 version of cordova-ios plugin.

A fix for this apparently has been made in cordova-ios but not released.  As per comments in this thread, this fix possibly doesn't work.

Of course, this happens only if you do automated build.  Manual building of the app (signing and everything) works fine in xcode 9.  For now, we have reverted to using xcode 8 for automated builds.

Next iPhone X support... another chapter for another day.


  1. Nice blog thanks for sharing.Visit website and apply online admission to Edifyschoolecity best international schools in electronic city Bangalore
    Holistic Development schools
    best schools in bangalore electronic city
    cbse schools in electronic city
    schools in electronic city 
    best schools near electronic city

  2. myTectra Placement Portal is a Web based portal brings Potentials Employers and myTectra Candidates on a common platform for placement assistance

  3. Wow!! Really a nice Article. Thank you so much for your efforts. Definitely, it will be helpful for others. I would like to follow your blog. Share more like this. Thanks Again.
    iot training in Chennai | Best iot Training Institute in Chennai


Post a Comment