Apple watch simulator issue

NSAnant picture NSAnant · Nov 29, 2014 · Viewed 7.9k times · Source

I am trying to debug and run the app on apple watch simulator. I have tried by using different target for notification, Glance and Watch app but apple simulator don't shows any thing.. It stuck in waiting for attach process of extension. I just see a black screen for the Apple Watch Simulator.

What did I do wrong?

How to overcome this issue ?

enter image description here

Answer

Lizza picture Lizza · Jan 27, 2015

This post from the dev forums solved my issue. More specifically, this excerpt:

  • In order for Watch apps to function properly, certain properties must match across the Watch app and its App Extension (18857540):
  • The WKAppBundleIdentifier property of NSExtensionAttributes in the WatchKit App Extension’s Info.plist must match the CFBundleIdentifier of WatchKit App's Info.plist.
  • The WKCompanionAppBundleIdentifier property of the WatchKit App's Info.plist must match the CFBundleIdentifier of the Containing iOS App's Info.plist.