Codea's built in Game Center code

I have noticed that when you export a project to Xcode, there is built in support for Game Center.

I have found the following in AppDelegate.mm:
//Uncomment the following line if you’d like to use the basic GameCenter addon:
[self.viewController registerAddon:[GameCenterAddon sharedInstance]];

And I have uncommented it.
I also found in GameCenterAddon.h:
// This addon implements the following Lua API:

And I have added the following to my Main.la:
if gamecenter.enabled() then
print (“enabled”)
else
print (“Not enabled”)
end

And it tells me that Game Centre is “Not enabled”.

There is lots of links in the forums to “older” code on how to implement Game Centre (http://codeatuts.blogspot.ca/2012/09/tutorial-19-integrating-game-centre.html) but I can not find anything on using the newer built in functionality.

Anyone ever use it?
Thanks, Patrick

@MrCoxall when you run your code, appears ‘Welcome back, “name”’?

Got it working.
Not sure why but tried it on my other Mac and it worked the first time.

Thanks,