Hello. In my game i require "gamecenter" does nothing. I can't understand why it's happen. Is there any possibility to know what happens on gamekit:authenticate()? gamecenter is enabled for this app.
@unlying, if you are running the app/player on your device connected to a Mac, you can see these in the Console or on the XCode Devices console.
What I found works is post that to a website, like logging but to a website so that you can pick it up from there. Alternatively you can also set up alerts using
function alert(theMessage)local aD = AlertDialog.new("ALERT", theMessage or"Alert", "OK")
aD:show()end
and instead of print, you can call
alert("error while auth: " .. event.errorDescription)
@OZApps, thanks. Alerts was a great idea. I have message "the requested operation has been cancelled or disabled by user". After googling, i loggedin in gamecenter throught settings. Game start to fall because of somewhat string expected. Then i logged out in settings and game let me sign-in in a game with gamecenter. And now it works ok, shows me leaderboard and report score. So everything works. Looks like just another bug in XCode...
Comments
What I found works is post that to a website, like logging but to a website so that you can pick it up from there. Alternatively you can also set up alerts using
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
I have message "the requested operation has been cancelled or disabled by user".
After googling, i loggedin in gamecenter throught settings. Game start to fall because of somewhat string expected. Then i logged out in settings and game let me sign-in in a game with gamecenter. And now it works ok, shows me leaderboard and report score. So everything works. Looks like just another bug in XCode...
Thanks!