watchOS

This document relates to developing watchOS apps for the Apple Watch on macOS Sierra versions 10.12.6 to 10.13.3 using Xcode versions 9.0.1 to 9.2 and watchOS 4.2 together with Swift 4.

Getting Started

Configuring Existing Xcode Project

  1. In Xcode, select File > New > Target from the menu.

  2. Select watchOS from the selection in the top row

  3. Select WatchKit App

  4. Click Next

  5. Optionally select Include Complication

  6. Click Finish

  7. If prompted to activate a scheme, optionally select Activate

For full details:

See also:

Building

To select an existing Watch app scheme, select Product > Scheme > Edit Scheme... from the main menu.

Complications

Notifications

Data Transfer

Water Lock

Distribution

App Store Release Process

Debugging with os_log

Guides

Sample Code


-- Frank Dean - 14 Feb 2018

Related Topics: iOSDevelopment, iOSTips, MacOSXTips, Swift.md, Xcode