How to get HelloGameKit sample working?

I am able to successfully compile and run the HelloGameKit example from Apple. However, it gets stuck on "Authenticating" and reports an error: "***** auth failed Error Domain=GKErrorDomain Code=15 "The requested operation could not be completed because this application is not recognized by Game Center." UserInfo={NSLocalizedDescription=The requested operation could not be completed because this application is not recognized by Game Center.}"


This makes sense, since an app needs to be properly registered with Apple to work with Game Center. I've done this without any trouble for regular iOS apps. But I can't figure out how to accomplish this for this watch app.


For plain iOS apps I would register the App ID (bundle identifier) with the Apple Developer program. But I'm not sure which target to register with Apple. I've tried regisetering the bundle identifier for both the main app (HelloGameKit) and the watch extention (HelloGameKit WatchKit Extension), but neither seems to have helped. I have also registered the main app at iTunesConnect and turned on Game Center there. Do I need to (can I even?) put the extension in iTunes Connect somehow?


If someone has got this example running successfully on a watch, I'd love some instructions on how to move beyond compiling the code to a working app.


Thanks!

did you every have any luck with this?
How to get HelloGameKit sample working?
 
 
Q