Deployment of WatchKit Apps

The iOS Simulator is a fantastic piece of software—just ask anyone who’s ever tried to use an Android emulator. It is, however, a simulator, not an emulator, so you’ll want to test your app on a real watch sooner rather than later. Just as you’d do for any other iOS app, you’ll need to properly code-sign your app to deploy it to the watch. Code signing is the bane of many iOS developers’ existence, even experienced ones, so don’t worry if it doesn’t work for you on your first try—or tenth. Let’s look at the code-signing process as it relates to getting an Apple Watch app to run on a real Apple Watch.

Before it can run on any device, an app needs to have a valid provisioning profile. In short, ...

Get Developing for Apple Watch, 2nd Edition 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.