watchkit Getting started with watchkit Creating a new watchOS project


Example

To develop an application for watchOS, you should start with Xcode. Xcode only runs on macOS. At the time of writing, the latest version is Xcode 8.3.

If you want to start a new project from scratch:

  1. Boot up your Mac and install Xcode from the App Store if it's not already installed.

  2. Choose to create a new project.

  3. In templates, choose watchOS and then "iOS App with WatchKit App".

In templates, choose watchOS and then "iOS App with WatchKit App".

  1. Fill your project details and choose a location.

If you already have an iOS project and want to add a watchOS target:

  1. Go to File -> New -> Target.

Go to File -> New -> Target

  1. Choose WatchKit App.

Choose WatchKit App

  1. Fill your target details and choose a location.