How to run a WatchKit App
objective-c, watchkit
Solution
When you run, did you change the scheme to the WatchKit App target? Or did you just build & run the iOS app as usual? For now you can't run both the iOS app target and Watch App target at the same time.
You have to switch schemes/targets as shown here, then pick the same simulator & display the watch UI as you've already done, (in the simulator -> "Hardware" tab -> External Display -> Apple Watch):
You also have to add/edit schemes to view the Glance or Notification parts of the storyboard. See the "Readme" file in the sample Lister project for more details.
Problem
I can't run a watchkit app from a new project. If I run Apple's sample project it runs fine. If I add watchkit to my existing project by adding a target for watchkit. Then run it I get a black screen with the time even though in my storyboard I have an interface controller that is set to main that has a blue background. This line of code gets called. ``` - (void)willActivate { // This method is called when watch view controller is about to be visible to user [self.listTable setNumberOfRows:5 withRowType:@"List"]; NSLog(@"%@ will activate", self); } ``` My main app(iPhone app) for iPhone doesn't get run on the simulator. This is basically what I see.