Skip to content
← Blog
Development

Written by Denys Havryliak

How to Create an Apple Watch App: A Step-by-Step Tutorial (2026)

Step-by-step tutorial to create your first Apple Watch app in 2026: Xcode setup, project creation, SwiftUI code, real-device testing, and TestFlight submission.

How to Create an Apple Watch App: A Step-by-Step Tutorial (2026)

TL;DR

  • 10 steps from zero to TestFlight: install Xcode and the watchOS simulator, create a watch-only project, build a SwiftUI view, run it on the simulator and a real watch, add a complication, then ship to TestFlight
  • What you need: an Apple silicon Mac on macOS 26.6 or later (for Xcode 27), and ideally a real Apple Watch. Xcode is free. TestFlight and the App Store need an Apple Developer Program membership (99 USD a year)
  • Time required: the downloads are the slow part. Once Xcode and the simulator are installed, Steps 2–6 take minutes
  • New to Swift? Start with the learning path below
  • Applefy builds native watchOS apps. Use this tutorial to learn, and talk to us when it's time to ship to real users

How we tested this: in November 2026 we checked the project and target options in this tutorial against the templates in Xcode 27.0, built the sample app and complication with the watchOS 27.0 SDK, and ran the app on an Apple Watch Series 12 (46mm) simulator. We did not re-run the steps that need a physical watch or a paid developer account (Steps 7, 9 and 10). Those follow Apple's documentation, listed under Sources.

This is the practical "how do I actually create an Apple Watch app" tutorial. We go from a blank Mac to a working SwiftUI app on the simulator and on a real Apple Watch, then push it to TestFlight.

Strategy and architecture are covered elsewhere. See our founder's guide for when watchOS makes sense, our architecture guide for native vs companion, and our cost guide for budgets. This article is just the steps.

Before You Start: The Learning Path

If you can already read Swift, skip to the prerequisites. If not, don't start with watchOS. Learn Swift, then SwiftUI, then the watchOS specifics. The order matters, because watchOS makes much more sense once you understand how SwiftUI works.

StageWhat to learnWhere
1. Swift basicsOptionals, closures, structs, protocolsApple's free Swift Playgrounds app, or our Swift guide
2. SwiftUIViews, state, navigation, lists100 Days of SwiftUI by Hacking with Swift (free)
3. watchOS patternsLayout, navigation, complications, Always-On DisplayApple's watchOS design guidelines and our HIG design guide
4. A tiny first appSimulator, real device, TestFlightThis tutorial

Prerequisites

  • Mac: Xcode 27 runs only on Apple silicon and needs macOS 26.6 or later.
  • Free disk space: on our test Mac, Xcode took 3.6 GB and the watchOS simulator runtime 3.8 GB. Our iOS simulators, installed earlier, took about 15 GB more, and build caches add to that.
  • Apple ID: any Apple ID works for local testing. To ship to TestFlight or the App Store you need the Apple Developer Program, which is 99 USD per membership year (prices vary by region). See our enrollment guide.
  • Apple Watch (optional but strongly recommended): the simulator is fine for the first hours. Test on a real watch before you ship.
  • Basic Swift knowledge: you should be able to read the code below.

Step 1: Install Xcode and the watchOS Simulator

Open the Mac App Store, search for Xcode, and click Install. Xcode is free. Open it once to accept the license.

Xcode may not include a watchOS simulator. Ours didn't: with Xcode 27 installed, the list of simulator runtimes had no watchOS entry until we added one. There are three ways to get it:

  • In Xcode → Settings → Components, click Get next to watchOS.
  • Open a watchOS project and click the Get button next to the run destination.
  • In Terminal, run xcodebuild -downloadPlatform watchOS. That's what we used, and it took about 107 minutes on our connection.

Step 2: Create a New Project

  1. Open Xcode and choose File → New → Project.
  2. In the template picker, select the watchOS tab at the top.
  3. Choose App as the template.
  4. Click Next.

Step 3: Configure the Project

  1. Product Name: something simple like MyFirstWatchApp.
  2. Team: select your Apple ID. If the list is empty, add your account in Xcode → Settings.
  3. Organization Identifier: a reverse-domain string like com.yourname. Together with the product name, it forms the bundle ID.
  4. Companion app: leave the default, Watch-only App. The other two options are Watch App with New Companion iOS App and Watch App for Existing iOS App.
  5. Testing System: None is fine for this tutorial. XCTest and Swift Testing are the other choices.
  6. Click Next, choose a save location, and click Create.

Older tutorials tell you to choose SwiftUI and Swift on this screen. In Xcode 27's watchOS App template both are fixed, so there's nothing to pick.

Step 4: Understand the Project Structure

Your code lives in a folder named MyFirstWatchApp Watch App:

FilePurpose
MyFirstWatchAppApp.swiftApp entry point. Defines the root scene
ContentView.swiftThe first SwiftUI view shown when the app launches
Assets.xcassetsApp icon, colors, image assets

A watch-only project also has a root target that is only a stub. Apple says Xcode needs it to package the app for the App Store, and that nothing installs on the paired iPhone.

Most beginner work happens in ContentView.swift. Open it.

Step 5: Build Your First View

Replace the contents of ContentView.swift with a simple counter view:

import SwiftUI

struct ContentView: View {
    @State private var count = 0

    var body: some View {
        VStack {
            Text("Tap count").font(.caption)
            Text("\(count)").font(.title)
            Button("Tap me") { count += 1 }
        }
    }
}

#Preview {
    ContentView()
}

This shows a label, a count, and a button that adds one to the count when tapped. Keep the import SwiftUI line. Without it, the compiler stops with cannot find type 'View' in scope. Save the file.

Step 6: Run on the Simulator

  1. At the top of Xcode, open the run destination menu next to the Run button.
  2. Choose an Apple Watch simulator. We used Apple Watch Series 12 (46mm).
  3. Click the Run button or press ⌘R.

Xcode builds the project, installs the app, and shows the simulated watch in a compact Device Hub window. Tap the button and the count goes up.

The counter app showing a Tap count label, the number 0, and a Tap me button on an Apple Watch simulator
The counter from Step 5 on our Apple Watch Series 12 (46mm) simulator, running watchOS 27.

That's a working Apple Watch app.

Step 7: Run on a Real Apple Watch

The simulator is good enough for early development, but test on a real watch before you ship. In Xcode 27, pairing happens in Device Hub:

  1. Pair your Apple Watch with your iPhone if you haven't already.
  2. Open Device Hub: choose Manage Devices… from the run destination menu, or choose Xcode → Open Developer Tool → Device Hub.
  3. Start pairing: put the device on the same Wi-Fi network as your Mac, click the Add Device button (+), and choose Pair Nearby Device…. Wireless pairing needs an iPhone on iOS 27 or later. Otherwise, use a cable.
  4. Turn on Developer Mode on both the iPhone and the watch: on the watch, open Settings → Privacy & Security, turn on Developer Mode, and tap Restart. After the restart, tap Turn On, tap Trust if asked, and enter your passcode. The setting may not appear until you start pairing.
  5. In Xcode, select your Apple Watch as the run destination and click Run.

A free Apple ID signed in to Xcode is enough for this step. The first build to a real watch takes longer than to the simulator. After that, the app appears on your watch.

Step 8: Add a Complication

To keep your app one tap away, add a complication, a small element on the watch face. Complications are built with WidgetKit. Older tutorials use ClockKit, whose data source APIs Apple has deprecated in favor of WidgetKit on watchOS 9 and later.

  1. Choose File → New → Target, then select the watchOS tab.
  2. Choose Widget Extension and name it MyAppComplication.
  3. Uncheck Include Control and Include Configuration App Intent. Both are on by default, and a simple complication needs neither.
  4. Embed it in your watch app.

Xcode generates a WidgetKit template. Replace the contents of MyAppComplication.swift with this, which puts an icon on the watch face that opens your app:

import WidgetKit
import SwiftUI

struct Provider: TimelineProvider {
    func placeholder(in context: Context) -> SimpleEntry {
        SimpleEntry(date: .now)
    }

    func getSnapshot(in context: Context, completion: @escaping (SimpleEntry) -> Void) {
        completion(SimpleEntry(date: .now))
    }

    func getTimeline(in context: Context, completion: @escaping (Timeline<SimpleEntry>) -> Void) {
        completion(Timeline(entries: [SimpleEntry(date: .now)], policy: .never))
    }
}

struct SimpleEntry: TimelineEntry {
    let date: Date
}

struct MyAppComplicationEntryView: View {
    var entry: SimpleEntry

    var body: some View {
        ZStack {
            AccessoryWidgetBackground()
            Image(systemName: "hand.tap.fill")
        }
    }
}

struct MyAppComplication: Widget {
    let kind = "MyAppComplication"

    var body: some WidgetConfiguration {
        StaticConfiguration(kind: kind, provider: Provider()) { entry in
            MyAppComplicationEntryView(entry: entry)
                .containerBackground(.fill.tertiary, for: .widget)
        }
        .configurationDisplayName("Tap counter")
        .description("Opens the tap counter from the watch face.")
        .supportedFamilies([.accessoryCircular, .accessoryCorner])
    }
}

Showing live data from your app on the watch face takes more work. See our complications guide for the design rules.

Step 9: Build for TestFlight

To distribute your app to beta testers, you need an Apple Developer Program membership and an App Store Connect record:

  1. Go to appstoreconnect.apple.com.
  2. Click My Apps → + → New App.
  3. Fill in the app name, primary language, bundle ID (must match Xcode exactly), and SKU, then save.
  4. Back in Xcode, choose Product → Archive and wait for the build to complete.
  5. In the Organizer window, select your archive, click Distribute App, and follow the App Store Connect prompts.
  6. After processing, the build appears in App Store Connect under TestFlight.
  7. Add internal testers (up to 100) or submit for external beta review (up to 10,000).

Since April 28, 2026, Apple requires uploads to be built with Xcode 26 or later using the watchOS 26 SDK. Your app is now on TestFlight. (See our TestFlight guide for the full beta workflow.)

Step 10: Submit to the App Store

When ready for production:

  1. In App Store Connect, complete the App Information section: name, subtitle, description, keywords, categories, screenshots.
  2. Set a price (free or paid tier).
  3. Complete the App Privacy questionnaire.
  4. Attach your TestFlight build to the version.
  5. Click Submit for Review.

Apple says App Review typically reviews at least 50% of submissions in less than 24 hours and 90% in less than 48 hours. (See our App Store distribution guide for review tips and common rejection reasons.)

Common Errors at Each Step

  • "No team selected": add your Apple ID in Xcode → Settings.
  • cannot find type 'View' in scope: you replaced ContentView.swift without keeping import SwiftUI.
  • Build fails with provisioning errors: in the project's Signing & Capabilities tab, enable "Automatically manage signing".
  • No Apple Watch simulator in the run destination menu: install the watchOS platform (Step 1). If only a specific model is missing, add it in Device Hub with the Add Device button (+).
  • Developer Mode isn't in Settings: Apple says it only appears once you start pairing or if the device was paired with a Mac before.
  • Real watch doesn't appear: check that it's on the same Wi-Fi network as your Mac and that Developer Mode is on for both the iPhone and the watch.

Keep Your First Project Tiny

The usual beginner mistake is starting too big. The watch's constraints only show up when you run something on a real device, so pick something small enough to finish. Good first projects:

  • A timer with custom intervals
  • A workout counter for push-ups or pull-ups
  • A breathing or meditation reminder
  • A hydration tracker

Bad first projects are a standalone fitness app with multiple workout types and a backend, a messaging app, or a finance app with portfolio sync. Those take real teams months.

watchOS Concepts to Learn Next

  • Navigation: NavigationStack, List, and TabView.
  • Complications: WidgetKit timelines and families (see our complications guide).
  • WatchConnectivity: sharing data between the watch and iPhone. Apple warns that an independent app can't use it as its main source of data.
  • HealthKit and workouts: if your app touches fitness data (see our health and fitness guide).
  • Design: watch-native patterns and the Always-On Display (see our HIG design guide).
  • Architecture: independent or companion (see our architecture guide).

Common Beginner Mistakes

  • Skipping the real device. The simulator can't tell you how the app feels on the wrist or what it does to the battery.
  • Designing for iPhone density. A watch interaction lasts seconds, so show the one thing that matters now.
  • Never opening Instruments. Profile on a real watch before you ship.
  • Following ClockKit tutorials. New complications use WidgetKit.
  • Trying to ship on day one. Get the app onto your wrist through TestFlight first, then iterate, then submit.

When to Bring in a Professional Studio

This tutorial gets you a working watchOS app. It doesn't get you a production-grade product.

If you're shipping to paying users, handling health data, building across iPhone, watch and backend, or working to a deadline, that's where Applefy fits. We build native watchOS apps, including Mellow, an iOS and Apple Watch app that detects motions typical of motor seizures and alerts emergency contacts.

Book a free conversation.

Frequently Asked Questions

How do I create an Apple Watch app from scratch?

Install Xcode (free from the Mac App Store) and the watchOS simulator, create a new project with the watchOS App template, write your view code in ContentView.swift, run it on the simulator or a real Apple Watch, then upload to TestFlight when ready.

Do I need to know Swift to create an Apple Watch app?

Yes. Swift is the language and SwiftUI is the UI framework, and Xcode 27's watchOS App template uses both. If you don't know Swift yet, start with Apple's free Swift Playgrounds app or Hacking with Swift's 100 Days of SwiftUI before this tutorial.

Can I create an Apple Watch app without a real Apple Watch?

For learning and prototyping, yes. The Xcode simulator is enough. Before you ship, test on a real watch, because the simulator can't show you how touch targets, the Always-On Display, the battery, and the Digital Crown behave on the wrist.

Can I create an Apple Watch app on Windows or Linux?

No. Xcode runs only on macOS, and Xcode 27 needs an Apple silicon Mac.

How long does it take to create a basic Apple Watch app?

Once Xcode and the simulator are installed, a counter like the one in this tutorial takes minutes to build and run. Getting to TestFlight adds the paid membership and App Store Connect setup. A production app is a different scale of work. See our cost guide.

What's the difference between a watch-only app and a companion app?

A watch-only app has no iPhone app, and nothing installs on the paired iPhone. A companion setup ships a watch app alongside an iOS app, and the watch app can either depend on the iOS app or run independently of it. Apple suggests watch-only for apps that only run on Apple Watch, and companion apps when the watchOS and iOS versions are substantially similar. (See our architecture guide.)

How do I add health data to my Apple Watch app?

Use HealthKit. Add the HealthKit capability in your project's Signing & Capabilities tab, add the NSHealthShareUsageDescription and NSHealthUpdateUsageDescription purpose strings, request authorization at runtime, and read or write the data types you need. (See our health and fitness guide.)

How do I get my Apple Watch app on the App Store?

Archive in Xcode, upload to App Store Connect, attach the build to a version, complete the listing (name, screenshots, privacy info), and submit for review. Apple says it typically reviews 90% of submissions in less than 48 hours. (See our App Store distribution guide.)

What's the simplest first Apple Watch app to create?

A timer, a counter, a hydration tracker, or a breathing reminder. Single-purpose, single-screen, no networking, no HealthKit. Each one teaches the platform's core constraints.

How does Applefy help founders with watchOS?

For founders ready to ship to paying users, we build the watchOS app while they focus on the business. The first call is free: book a conversation.

Sources

  1. Apple: Downloading and installing additional Xcode componentsComponents settings, the Get button, and xcodebuild -downloadPlatform.
  2. Apple: Creating independent watchOS appsWatch-only vs companion apps, the root stub target, and Watch Connectivity limits. This page still mentions an Include Tests option. The templates in Xcode 27.0 use a Testing System menu instead.
  3. Apple: Managing your simulated and physical devices in Device HubOpening Device Hub and pairing a physical device.
  4. Apple: Enabling Developer Mode on a deviceThe Developer Mode steps on Apple Watch.
  5. Apple: Creating accessory widgets and watch complicationsWidgetKit complications and migrating from ClockKit.
  6. Apple: Enrolling in the Apple Developer ProgramThe membership price.
  7. Apple: TestFlightThe limits of 100 internal and 10,000 external testers.
  8. Apple: App ReviewThe review time figures.
  9. Apple: Upcoming requirementsThe Xcode 26 and watchOS 26 SDK upload requirement.

Related articles

Work with Applefy →
Let’s talk

Book a call with our CEO

Portrait of Denys Havryliak, Founder & CEO of Applefy

Denys Havryliak

Founder & CEO

  • 10+ years in Software Engineering
  • Master’s in Cybersecurity
  • Deep, current knowledge of AI tooling

You’ll talk to the person who builds. Denys works hands-on across product, architecture, and delivery — and keeps a close watch on what today’s AI tooling can genuinely do in production, not just in a demo.