Skip to content

PassKit macOS xcode14.0 beta5

TJ Lambert edited this page Aug 12, 2022 · 3 revisions

#PassKit.framework https://github.com/xamarin/xamarin-macios/pull/15613

diff -ruN /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h
--- /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h	2022-07-22 10:03:49.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h	2022-08-05 13:39:32.000000000 -0400
@@ -17,36 +17,30 @@
 /// Identity error codes.
 typedef NS_ERROR_ENUM(PKIdentityErrorDomain, PKIdentityError) {
     /// Catch-all for all errors without a specific error code.
-    PKIdentityErrorUnknown = 1,
+    PKIdentityErrorUnknown = 0,
 
-    /// Returned if the app is not entitled to call an API.
-    PKIdentityErrorNotEntitled = 2,
+    /// Returned if the request originates from an unsupported device.
+    PKIdentityErrorNotSupported = 1,
 
     /// Returned if the sheet was cancelled.
-    PKIdentityErrorCancelled = 3,
+    PKIdentityErrorCancelled = 2,
 
     /// Returned if a request cannot be processed because
     /// the network is not available.
-    PKIdentityErrorNetworkUnavailable = 4,
+    PKIdentityErrorNetworkUnavailable = 3,
 
     /// Returned if no supported elements were requested.
-    PKIdentityErrorNoElementsRequested = 5,
+    PKIdentityErrorNoElementsRequested = 4,
 
     /// Returned if a request is made but another request is already
     /// in progress.
-    PKIdentityErrorRequestAlreadyInProgress = 6,
+    PKIdentityErrorRequestAlreadyInProgress = 5,
 
     /// Returned if the caller-supplied nonce is too large or otherwise unsuitable.
-    PKIdentityErrorInvalidNonce = 7,
+    PKIdentityErrorInvalidNonce = 6,
 
     /// Returned if an element requested by the caller is invalid.
-    PKIdentityErrorInvalidElement = 8,
-
-    /// Returned if the merchant ID used in a request is invalid
-    PKIdentityErrorInvalidMerchantID = 9,
-    
-    /// Returned if the request originates from an unsupported device
-    PKIdentityErrorNotSupported = 10
+    PKIdentityErrorInvalidElement = 7
 } API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos);
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally