Got this message suddenly in my app -
<Info>: 22:20:44.800330 com.apple.AVConference: GKSConnSettings: set server: {
"gk-cdx" = "17.173.254.218:4398";
"gk-commnat-cohort" = "17.173.254.220:16386";
"gk-commnat-main0" = "17.173.254.219:16384";
"gk-commnat-main1" = "17.173.254.219:16385";
}
Where does it comes from?
In iOS 6.0 + this log will show up as soon as your localPlayer is authenticated, i.e. set
[GKLocalPlayer localPlayer].authenticateHandler = ^(UIViewController *viewController, NSError *error) {
if (viewController != NULL) {
// present the viewController now
} else if ([GKLocalPlayer localPlayer].isAuthenticated) {
NSLog(@"Already authenticated");
} else {
NSLog(@"Not authenticated, disable GameCenter");
}
};
and if necessary present the viewController to log into GameCenter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With