Chapter 13. Deploying to Physical Devices

We have spent most of the book running the example code in the Watch simulator supplied with Xcode. Although this is invaluable in terms of time and cost efficiency, nothing beats the feeling of deploying your app to a physical device. And no matter how good a simulator is, there’s always the chance that what works in the simulator may not work on a real device.

Managing Devices

Apple Watch devices cannot be directly connected to your Mac in order to be deployed onto, so instead you must connect the iPhone that the watch has been paired with. Once it’s connected, you can open the Device Manager by selecting Window > Device Manager from the Xcode main menu.

When you do so, you may be surprised to see ...

Get Build watchOS Apps: Develop and Design 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.