diff --git a/src/gamekit.cs b/src/gamekit.cs index 9f05fb9e970..d431fbcd6e7 100644 --- a/src/gamekit.cs +++ b/src/gamekit.cs @@ -482,6 +482,10 @@ interface GKLeaderboardSet : NSCoding, NSSecureCoding { [BaseType (typeof(NSObject))] interface GKBasePlayer { + [Deprecated (PlatformName.iOS, 16, 0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")] + [Deprecated (PlatformName.TvOS, 16, 0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")] + [Deprecated (PlatformName.MacOSX, 13, 0, message: "Use the GKPlayer.TeamPlayerId property to identify a player instead.")] [NullAllowed, Export ("playerID", ArgumentSemantic.Retain)] string PlayerID { get; } diff --git a/tests/xtro-sharpie/iOS-GameKit.todo b/tests/xtro-sharpie/iOS-GameKit.todo deleted file mode 100644 index d5881ca8af4..00000000000 --- a/tests/xtro-sharpie/iOS-GameKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! GKBasePlayer::playerID missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/macOS-GameKit.todo b/tests/xtro-sharpie/macOS-GameKit.todo deleted file mode 100644 index d5881ca8af4..00000000000 --- a/tests/xtro-sharpie/macOS-GameKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! GKBasePlayer::playerID missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/tvOS-GameKit.todo b/tests/xtro-sharpie/tvOS-GameKit.todo deleted file mode 100644 index d5881ca8af4..00000000000 --- a/tests/xtro-sharpie/tvOS-GameKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! GKBasePlayer::playerID missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/watchOS-GameKit.todo b/tests/xtro-sharpie/watchOS-GameKit.todo deleted file mode 100644 index d5881ca8af4..00000000000 --- a/tests/xtro-sharpie/watchOS-GameKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! GKBasePlayer::playerID missing a [Deprecated] attribute