Posts

Showing posts from October, 2017

Automated iOS build broken in xcode 9

Image
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 …

Upgrading to macOS High Sierra

Image
Apple released the latest version of its Flagship Operating System macOS on 25th Sep 2017.  This year it is codenamed High Sierra.  (It was Sierra last year).  I guess, logically the names for the next two year's OS should be Higher Sierra and Highest Sierra!

As we had a few iOS apps being built in Sierra, I was hesitant to upgrade.  But I could hold back my urge no longer and upgraded my Macbook Pro to High Sierra yesterday night.  At 5.2 GB, the download size is quite large, but courtesy High-Speed Hathway, it took only 20 minutes.  The installation however took longer (about 45 minutes in all), especially the post-installation, which I guess involved migrating contents to the new Apple File System, introduced in High Sierra.

But the upgrade itself was quite smooth and everything that I had earlier worked!


Interestingly, Apple had already pushed Safari 11 in Sierra, so one of the release surprises was no longer a surprise.  I could be wrong, but I thought the contents looked b…