18. 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 log in to register a unique identifier for every product. ...

Get Xcode 6 Start to Finish: iOS and OS X Development, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.