Deployment of WatchKit Apps

iOS Simulator is a fantastic piece of software. Just ask anyone who’s ever tried to use an Android emulator. You’ll want to test your app on a real watch sooner rather than later, however, and Xcode is there to help you do that. Just like any other iOS app, you’ll need to properly sign your app to deploy it to the watch.

Code signing is the bane of many iOS developers’ existence. Before it can run on any device, your app needs to have a valid provisioning profile. In short, the provisioning profile defines three things: which app the profile is for, who is allowed to digitally sign the app with a private key and certificate, and on which devices the final product can run. WatchKit adds a fair amount of complexity ...

Get Developing for Apple Watch 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.