Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GameKit] Update bindings for Xcode 14.0 beta 1&2 #15557

Merged
merged 10 commits into from
Jul 26, 2022
2 changes: 2 additions & 0 deletions src/gamekit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ interface GKLocalPlayer
[iOS (8,0), Mac (10,10)]
[Deprecated (PlatformName.iOS, 10, 0)]
[Deprecated (PlatformName.MacOSX, 10, 11)]
[Deprecated (PlatformName.TvOS, 10, 0)]
[Async]
[Export ("loadFriendPlayersWithCompletionHandler:")]
void LoadFriendPlayers ([NullAllowed] Action<GKPlayer [], NSError> completionHandler);
Expand Down Expand Up @@ -1987,6 +1988,7 @@ interface GKTurnBasedMatch {

[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
[Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
[iOS (7,0)][Mac (10,10)]
[Export ("endMatchInTurnWithMatchData:scores:achievements:completionHandler:")]
[Async]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# API removed by Apple, marked as deprecated
!unknown-native-enum! GKPeerPickerConnectionType bound
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# bound in previous versions but removed in xcode 14
!extra-enum-value! Managed value 1 for CTFontTableOptions.ExcludeSynthetic is available for the current platform while the value in the native header is not
!extra-enum-value! Managed value 10 for CTParagraphStyleSpecifier.LineSpacing is available for the current platform while the value in the native header is not
2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameKit.todo

This file was deleted.

1 change: 1 addition & 0 deletions tests/xtro-sharpie/iOS-GameKit.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@

# API removed by Apple, marked as deprecated
!unknown-native-enum! GKAuthenticationType bound
!unknown-native-enum! GKPeerPickerConnectionType bound
1 change: 0 additions & 1 deletion tests/xtro-sharpie/iOS-GameKit.todo

This file was deleted.