<!--
{
  "documentType" : "article",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/gklocalplayer-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review unsupported symbols and their replacements.

## Topics

### Deprecated properties

[`var friends: [String]?`](/documentation/GameKit/GKLocalPlayer/friends)

The player identifiers for the local player’s friends.

### Deprecated methods

[`func authenticate(completionHandler: (((any Error)?) -> Void)?)`](/documentation/GameKit/GKLocalPlayer/authenticate(completionHandler:))

Initializes the local player on the device.

[`func generateIdentityVerificationSignature(completionHandler: ((URL?, Data?, Data?, UInt64, (any Error)?) -> Void)?)`](/documentation/GameKit/GKLocalPlayer/generateIdentityVerificationSignature(completionHandler:))

Generates a signature so that a third-party server can authenticate the local player.

[`func loadDefaultLeaderboardCategoryID(completionHandler: ((String?, (any Error)?) -> Void)?)`](/documentation/GameKit/GKLocalPlayer/loadDefaultLeaderboardCategoryID(completionHandler:))

Loads the category identifier for the local player’s default leaderboard.

[`func loadFriendPlayers(completionHandler: (([GKPlayer]?, (any Error)?) -> Void)?)`](/documentation/GameKit/GKLocalPlayer/loadFriendPlayers(completionHandler:))

Retrieves a list of player identifiers for the local player’s friends.

[`func loadFriendsObsoleted(completionHandler: (([String]?, (any Error)?) -> Void)?)`](/documentation/GameKit/GKLocalPlayer/loadFriendsObsoleted(completionHandler:))

Retrieves a list of player identifiers for the local player’s friends.

[`func setDefaultLeaderboardCategoryID(String?, completionHandler: (((any Error)?) -> Void)?)`](/documentation/GameKit/GKLocalPlayer/setDefaultLeaderboardCategoryID(_:completionHandler:))

Sets the category identifier for the local player’s default leaderboard.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)