header image

Local iOS deployment

Just a quick addendum to the previous post! One thing that was lacking from our iOS deployment was automated installation on any local devices—the system as detailed requires you to manually follow the install link and download the new build, even on a local device.

Thankfully, Dave Leaver (the Kiwi dev behind Simpulls) pointed me in the direction of cfgutil. Just what I was looking for! All you need to do is install Apple Configurator 2 from the Mac App Store, run it and install the automation tools. Now you’ve got the super-duper handy cfgutil available on the command line.

Then you’re just two commands away from deploying to all connected devices:

cfgutil remove-app [bundleId]
cfgutil install-app [absolutePathToIpa]

As a bonus you don’t even need to unlock devices.