17. Provisioning

Here’s the short of it: Apple does not want any app running on any iOS device that isn’t written by someone it trusts. It doesn’t want any apps in general circulation that it doesn’t curate through its App Store. At each stage of the life cycle of your app—from testing on your desktop, to circulating it among beta testers, to final distribution—you have to jump through some hoops.

For the first several years, the process was straight out of Lovecraft: You had to manage two signing certificates by generating requests on your Mac, upload them to Apple’s provisioning portal, wait for the portal to issue the certificates, download, and install them in your keychain. You had to register a unique identifier for every product. You had ...

Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.