Dave Newman

0 notes &

Auto packaging iOS apps for wireless install

First of all, a big thanks to Vincent Daubry for figuring out how to do this!

So it turns out in iOS 4 there’s a new way of distributing your apps. They put it in for enterprise deployments but we can use it for getting our apps out to beta testers. Basically it lets people click a link on their iOS device which installs the app directly on the device without having to worry about downloading, installing in iTunes and synching. I do all this through Dropbox and I like my shiz automated!

Using Dropbox is an awesomely easy way to get the latest version out to the beta testers. I can just drop the new files into the public folder, then it’s automatically uploaded and ready for people to download.

So when I’m ready to push a new beta release out:

./tools/package.sh 0.94

This script builds the app, packages it into an ipa and plist, and copies it to my public Dropbox folder:

Then I send a link out to the beta testers to a page that looks something like this:

Voilá! iOS 4 users can install wirelessly and everyone else has the manual IPA iTunes and sync method.

Filed under ios