Swift - Game Center not available
I'm trying to implement Game Center in my Swift game. I have a menu view controller, where the user can press a "SCORES" button, which should take them to the Game Center view controller. This is the code that runs in the menu vc, when the button is pressed: var gcViewController: GKGameCenterViewController = GKGameCenterViewController() gcViewController.gameCenterDelegate = self gcViewController.viewState = GKGameCenterViewControllerState.Leaderboards gcViewController.leaderboardIdentifier = "VHS" self.presentViewController(gcViewController, animated: true, completion: nil) I have code in the