Monday 1 June 2015

Create your first Apple Watch App in Xcode

I had to upload to the latest Xcode for this to work.

Then you go to the main project settings window, click the + and add a new Apple Watch app, and mark all views (including glances).

Then add a label to the storyboard so you can see something output.

Then run the app, in simulator you can see the Apple Watch, by going to hardware > Apple Watch.

To run on your phone, you choose the WatchKit app schema to run, and choose your phone. The latest xcode will fix any signing and provisioning profile issues. If it does not, close Xcode and load it again, especially if it says that the Watch is not paired.

That's it, first Apple Watch App working.