Skip to content

GameKit watchOS xcode15.3 b1

Alex Soto edited this page May 22, 2024 · 2 revisions

#GameKit.framework https://github.com/xamarin/xamarin-macios/pull/20097

diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h	2023-11-12 05:43:51
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h	2024-01-13 01:24:44
@@ -55,10 +55,11 @@
 @interface GKScoreChallenge : GKChallenge
 
 /// The score to meet to satisfy this challenge
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-@property (nonatomic, readonly, nullable, retain) GKScore *score;
-#pragma clang diagnostic pop
+@property (nonatomic, readonly, nullable, retain) GKScore *score API_DEPRECATED_WITH_REPLACEMENT("-leaderboardEntry:", ios(6.0, 17.4), macos(10.8, 14.4), tvos(9.0, 17.4));
+
+/// The leaderboard entry to meet to satisfy this challenge
+@property (nonatomic, readonly, nullable, retain) GKLeaderboardEntry *leaderboardEntry API_AVAILABLE(ios(17.4), macos(14.4), tvos(17.4));
+
 @end
 
 NS_CLASS_AVAILABLE(10_8, 6_0) __WATCHOS_PROHIBITED
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKError.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKError.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKError.h	2023-11-12 05:58:07
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKError.h	2024-01-13 01:24:42
@@ -42,6 +42,7 @@
     GKErrorAPIObsolete                          = 34,
     GKErrorICloudUnavailable                    = 35,
     GKErrorLockdownMode                         = 36,
+    GKErrorAppUnlisted                          = 37,
 
     GKErrorFriendListDescriptionMissing         = 100,
     GKErrorFriendListRestricted                 = 101,
Clone this wiki locally