24

I just downloaded the Xcode 6 GM, and I'd like to see how my apps work with an Apple Watch connected to the simulated iPhone.

How can I simulate this new device on my MacBook?

memmons
  • 40,222
  • 21
  • 149
  • 183
Undo
  • 25,519
  • 37
  • 106
  • 129

6 Answers6

69
  1. Install Xcode (starting from 6.2) (link)
  2. Add Apple Watch target to your project (New->Target->Apple Watch->Watch App)
  3. Go to iOS Simulator -> Hardware -> External displays and select any Apple Watch options
  4. Choose '[your project] Watch App' target and Run

Have fun! :)

Artem Loginov
  • 801
  • 7
  • 8
  • I have Apple Watch disabled in iOS simulator. How i can enable? http://stackoverflow.com/questions/27005132/running-apple-watch-in-ios-simulator-issue?noredirect=1#comment42539586_27005132 – Martino Bonfiglioli Nov 18 '14 at 22:21
  • 2
    @MartinoBonfiglioli Have you selected your 'Watch App' target instead of the iOS-only one? This is what did the trick for me. – Hless Dec 05 '14 at 15:04
  • 1
    Also, I have found that the Apple Watch display only works on iPhone 5 simulator and above. – Hless Dec 05 '14 at 15:07
13

Xcode 6.0 does not support development for Apple Watch.

Xcode 6.2 supports development using WatchKit. Check out the WatchKit Programming Guide which includes some examples and note issues reported in the Xcode 6.2 Beta Release Notes. Furthermore, be aware that most of the simulator issues mentioned in the Xcode 6.1 Release Notes still apply but were unfortunately omitted from the 6.2 notes.

Xcode does not support development of native apps for Apple Watch, but it was announced as coming in 2015.

Jeremy Huddleston Sequoia
  • 22,938
  • 5
  • 78
  • 86
  • Any reference on when it will be available?) – vir us Sep 22 '14 at 09:40
  • 2
    @JeremyHuddlestonSequoia Is there any documentation available so we can start preparing / experimenting? I have several app ideas I'd like to investigate for feasibility. – Eric G Sep 24 '14 at 19:59
  • 1
    @EricGoldberg Just updated the answer per today's beta. You should now have what you're looking for. – Jeremy Huddleston Sequoia Nov 18 '14 at 23:04
  • I had a hard time installing XCode 6.2, it was crashing on me. Until I figured out that SprintBuilder's Android plugin was causing it. So I deleted /Library/SBAndroid directory and finally was able to start using XCode. – interrupt Nov 19 '14 at 07:32
7

Apple has announced WatchKit. Here's an example of what the WatchKit simulator looks like, from the "getting started" video:

enter image description here

There's also a WatchKit programming guide and framework reference, which seem to reveal quite a bit about how the Apple Watch will work.

Undo
  • 25,519
  • 37
  • 106
  • 129
3

Also note that while you can't exactly simulate what will truly be available to developers for the Watch, Apple has announced "WatchKit," which is the platform developers will use.

Unfortunately, there has been no release date set.

AstroCB
  • 12,337
  • 20
  • 57
  • 73
MCP
  • 4,436
  • 12
  • 44
  • 53
2

Watchkit is coming out in November of 2014. They will likely add the simulator in Xcode then.

Viper
  • 1,327
  • 2
  • 12
  • 33
0

You must have Xcode 6.2+ to develop app/extension using WatchKit.

This guide gives detailed information about apple watch development including how to run apple watch app in simulator.

Apple Watch Documentation