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?

1

6 Answers 6

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! :)

3
  • I have Apple Watch disabled in iOS simulator. How i can enable? stackoverflow.com/questions/27005132/… Nov 18, 2014 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 5, 2014 at 15:04
  • 1
    Also, I have found that the Apple Watch display only works on iPhone 5 simulator and above.
    – Hless
    Dec 5, 2014 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.

4
  • Any reference on when it will be available?)
    – vir us
    Sep 22, 2014 at 9: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, 2014 at 19:59
  • 1
    @EricGoldberg Just updated the answer per today's beta. You should now have what you're looking for. Nov 18, 2014 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, 2014 at 7: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.

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.

2

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.