Skip to content

PassKit iOS xcode16.0 b6

Rolf Bjarne Kvinge edited this page Aug 28, 2024 · 2 revisions

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

diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h	2024-07-31 13:53:14
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h	2024-08-07 10:55:38
@@ -7,12 +7,30 @@
 //
 
 #import <Foundation/Foundation.h>
-#import <PassKit/PKAddPushablePassConfiguration.h>
+
 #import <PassKit/PKAddSecureElementPassConfiguration.h>
 
 
 API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKIdentityDocumentMetadata: PKPushablePassMetadata
+@interface PKIdentityDocumentMetadata: NSObject
+
+- (null_unspecified instancetype)init NS_UNAVAILABLE;
++ (null_unspecified instancetype)new NS_UNAVAILABLE;
+
+/// credentialIdentifier: A unique identifier for provisioning credential data.
+@property (nonatomic, strong, readonly, nonnull) NSString *credentialIdentifier;
+/// sharingInstanceIdentifier: A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
+@property (nonatomic, strong, readonly, nonnull) NSString *sharingInstanceIdentifier;
+/// cardTemplateIdentifier: Identifier referencing a card template registered by developers in web portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
+/// Returns empty string if no identifier is set.
+@property (nonatomic, strong, readonly, nonnull) NSString *cardTemplateIdentifier;
+/// cardConfigurationIdentifier: Identifier referencing a card configuration registered by developers.
+/// Returns empty string if no identifier is set.
+@property (nonatomic, strong, readonly, nonnull) NSString *cardConfigurationIdentifier;
+/// serverEnvironmentIdentifier: Identifier referencing the target server environment Apple Pay servers should reach out to to provision this pass.
+/// If not present, the default Apply Pay server environment will be used and an empty string will be returned.
+@property (nonatomic, strong, nonnull) NSString *serverEnvironmentIdentifier;
+
 @end
 
 
@@ -59,7 +77,7 @@
 @end
 
 API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKAddIdentityDocumentConfiguration : PKAddPushablePassConfiguration
+@interface PKAddIdentityDocumentConfiguration : PKAddSecureElementPassConfiguration
 
 /// Initialize identity document configuration with corresponding identity document metadata.
 /// - Parameters:
@@ -68,9 +86,6 @@
 + (void)configurationForMetadata:(PKIdentityDocumentMetadata * _Nonnull)metadata
                       completion:(void(^_Nonnull)(PKAddIdentityDocumentConfiguration * _Nullable credentialConfiguration, NSError * _Nullable error))completion
 NS_SWIFT_NAME(forMetadata(_:completion:));
-
-- (null_unspecified instancetype)init NS_UNAVAILABLE;
-+ (null_unspecified instancetype)new NS_UNAVAILABLE;
 
 /// metadata: Set of configured metadata defining the required information to add the corresponding pass to Wallet.
 @property (nonatomic, strong, readonly, nonnull) PKIdentityDocumentMetadata *metadata;
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h	2024-07-31 06:08:34
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h	1970-01-01 01:00:00
@@ -1,47 +0,0 @@
-#if !__has_include(<PassKitCore/PKAddPushablePassConfiguration.h>) || PK_USE_PUBLIC_PASSKIT
-//
-//  PKAddPushablePassConfiguration.h
-//    PassKit
-//
-//  Copyright © 2023 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#import <PassKit/PKAddSecureElementPassConfiguration.h>
-
-API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKPushablePassMetadata : NSObject
-
-- (null_unspecified instancetype)init NS_UNAVAILABLE;
-+ (null_unspecified instancetype)new NS_UNAVAILABLE;
-
-/// credentialIdentifier: A unique identifier for provisioning credential data.
-@property (nonatomic, strong, readonly, nonnull) NSString *credentialIdentifier;
-/// sharingInstanceIdentifier: A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
-@property (nonatomic, strong, readonly, nonnull) NSString *sharingInstanceIdentifier;
-/// cardTemplateIdentifier: Identifier referencing a card template registered by developers in web portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
-/// Returns empty string if no identifier is set.
-@property (nonatomic, strong, readonly, nonnull) NSString *cardTemplateIdentifier;
-/// cardConfigurationIdentifier: Identifier referencing a card configuration registered by developers.
-/// Returns empty string if no identifier is set.
-@property (nonatomic, strong, readonly, nonnull) NSString *cardConfigurationIdentifier;
-/// serverEnvironmentIdentifier: Identifier referencing the target server environment Apple Pay servers should reach out to to provision this pass.
-/// If not present, the default Apply Pay server environment will be used and an empty string will be returned.
-@property (nonatomic, strong, nonnull) NSString *serverEnvironmentIdentifier;
-
-@end
-
-API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKAddPushablePassConfiguration : PKAddSecureElementPassConfiguration
-
-- (null_unspecified instancetype)init NS_UNAVAILABLE;
-+ (null_unspecified instancetype)new NS_UNAVAILABLE;
-
-@end
-
-
-#else
-#import <TargetConditionals.h>
-#import <PassKitCore/PKAddPushablePassConfiguration.h>
-#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h	2024-07-31 13:53:15
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h	2024-08-07 13:14:20
@@ -8,9 +8,8 @@
 
 #import <Foundation/Foundation.h>
 
+#import <PassKit/PKAddSecureElementPassConfiguration.h>
 
-#import <PassKit/PKAddPushablePassConfiguration.h>
-
 NS_ASSUME_NONNULL_BEGIN
 
 API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_NAME(PKShareablePassMetadata.Preview)
@@ -27,7 +26,7 @@
 
 
 API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKShareablePassMetadata : PKPushablePassMetadata
+@interface PKShareablePassMetadata : NSObject
 
 - (nullable instancetype)initWithProvisioningCredentialIdentifier:(NSString *)credentialIdentifier
                                       cardConfigurationIdentifier:(NSString *)cardConfigurationIdentifier
@@ -64,12 +63,23 @@
 
 // Pass Configuration Properties
 
+// A unique identifier for provisioning credential data.
+@property (nonatomic, strong, readonly) NSString *credentialIdentifier;
+// A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
+@property (nonatomic, strong, readonly) NSString *sharingInstanceIdentifier;
 // Identifier referencing a card template registered in portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
 @property (nonatomic, strong, readonly) NSString *templateIdentifier API_DEPRECATED_WITH_REPLACEMENT("cardTemplateIdentifier", ios(15.0, 16.0));
+// Identifier referencing a card template registered in portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
+@property (nonatomic, strong, readonly) NSString *cardTemplateIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos);
+@property (nonatomic, strong, readonly) NSString *cardConfigurationIdentifier;
 // Specify that the passes to provision require a unified access capable device.
 // This is primarily used when provisioning a pass that uses an ISO18013-5 payload.
 @property (nonatomic, assign) BOOL requiresUnifiedAccessCapableDevice API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos);
 
+// Identifier referencing the target server environment Apple Pay servers should reach
+// out to to provision this pass.
+@property (nonatomic, strong) NSString *serverEnvironmentIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos);
+
 // Display Properties
 
 @property (nonatomic, strong, readonly) PKShareablePassMetadataPreview *preview API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos);
@@ -94,7 +104,7 @@
 } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos);
 
 API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKAddShareablePassConfiguration : PKAddPushablePassConfiguration
+@interface PKAddShareablePassConfiguration : PKAddSecureElementPassConfiguration
 
 + (void)configurationForPassMetadata:(NSArray<PKShareablePassMetadata *> *)passMetadata
         provisioningPolicyIdentifier:(NSString *)provisioningPolicyIdentifier
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h	2024-08-02 06:37:34
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h	2024-08-13 07:35:24
@@ -120,9 +120,6 @@
 #if __has_include(<PassKit/PKPaymentMerchantSession.h>)
 #import <PassKit/PKPaymentMerchantSession.h>
 #endif
-#if __has_include(<PassKit/PKAddPushablePassConfiguration.h>)
-#import <PassKit/PKAddPushablePassConfiguration.h>
-#endif
 #if __has_include(<PassKit/PKAddShareablePassConfiguration.h>)
 #import <PassKit/PKAddShareablePassConfiguration.h>
 #endif
Clone this wiki locally