shannoga
shannoga

Reputation: 19869

GKSConnSettings message in xcode console

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?

Upvotes: 8

Views: 1309

Answers (2)

pasql
pasql

Reputation: 3825

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

Upvotes: 2

Coach Roebuck
Coach Roebuck

Reputation: 1024

My first instinct tells me it could be related to your environment. Are you working from a virtual machine by chance? This happened to be my case.

Upvotes: 0

Related Questions