Skip to content

PassKit iOS xcode27.0 b1

Alex Soto edited this page Jun 9, 2026 · 1 revision

#PassKit.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h	2026-04-19 01:49:20
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h	2026-06-02 03:34:47
@@ -24,6 +24,9 @@
 @property (nonatomic, strong, nullable) NSString *provisioningTemplateIdentifier API_AVAILABLE(ios(16.0), watchos(9.0));
 
 @property (nonatomic, copy, nullable) NSString *productPlanIdentifier API_AVAILABLE(ios(26.4), watchos(26.4));
+@property (nonatomic, copy, nullable) NSString *vehicleIdentifier API_AVAILABLE(ios(26.4), watchos(26.4));
+@property (nonatomic, copy, nullable) NSString *ownerPairingToken API_AVAILABLE(ios(26.4), watchos(26.4));
+@property (nonatomic, copy, nullable) NSString *region API_AVAILABLE(ios(26.4), watchos(26.4));
 
 @end
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h	2026-04-19 02:21:30
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h	2026-06-02 03:34:45
@@ -17,8 +17,8 @@
 
 typedef NSString * PKPaymentNetwork NS_EXTENSIBLE_STRING_ENUM;
 extern PKPaymentNetwork const PKPaymentNetworkAmex API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0));
-extern PKPaymentNetwork const PKPaymentNetworkBancomat API_AVAILABLE(macos(12.0), ios(16.0), watchos(9.0));
-extern PKPaymentNetwork const PKPaymentNetworkPagoBancomat API_DEPRECATED("Use PKPaymentNetworkBancomat instead.", macos(14.0, 26.4), ios(17.0, 26.4), watchos(10.0, 26.4));
+extern PKPaymentNetwork const PKPaymentNetworkBancomat API_DEPRECATED("Use PKPaymentNetworkPagoBancomat instead.", macos(12.0, 14.0), ios(16.0, 17.0), watchos(9.0, 10.0));
+extern PKPaymentNetwork const PKPaymentNetworkPagoBancomat API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0));
 extern PKPaymentNetwork const PKPaymentNetworkBancontact API_AVAILABLE(macos(12.0), ios(16.0), watchos(9.0));
 extern PKPaymentNetwork const PKPaymentNetworkCarteBancaire API_DEPRECATED("Use PKPaymentNetworkCartesBancaires instead.", macos(10.13, 11.0), ios(10.3, 11.0), watchos(3.2, 4.0));
 extern PKPaymentNetwork const PKPaymentNetworkCarteBancaires API_DEPRECATED("Use PKPaymentNetworkCartesBancaires instead.", macos(10.13, 11.0), ios(11.0, 11.2), watchos(4.0, 4.2));
@@ -62,6 +62,9 @@
 extern PKContactField const PKContactFieldPhoneNumber   API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
 extern PKContactField const PKContactFieldName          API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
 extern PKContactField const PKContactFieldPhoneticName  API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
+
+// TTR related
+extern NSString * const PKTTRComponentIDCarKeys;
 
 typedef NS_ENUM(NSInteger, PKPaymentAuthorizationStatus) {
     PKPaymentAuthorizationStatusSuccess, // Merchant auth'd (or expects to auth) the transaction successfully.
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h	2026-04-19 01:49:19
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h	2026-06-02 03:34:46
@@ -22,6 +22,13 @@
 /// Set of elements that will be requested from the document.
 @property (nonatomic, readonly) NSArray<PKIdentityElement *> *elements;
 
+/// A list of X.509 authority key identifiers which are accepted by the relying party.
+///
+/// An empty list means any document signer certificate is acceptable.
+///
+/// - Warning: The number of issuer identifiers must not exceed 1,000 and the size of each identifier must not exceed 64 bytes. Your app will terminate if these conditions are not met.
+@property (nonatomic, copy) NSArray<NSData *> *issuerIdentifiers API_AVAILABLE(ios(27.0), visionos(27.0));
+
 /// Intent to store for the given element, or nil if the element has not been added to this descriptor.
 - (nullable PKIdentityIntentToStore *)intentToStoreForElement:(PKIdentityElement *)element NS_SWIFT_NAME(intentToStore(element:));
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h	2026-04-19 04:57:06
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h	2026-06-02 01:12:06
@@ -17,11 +17,31 @@
 API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos)
 @interface PKIdentityElement: NSObject <NSCopying>
 
-/// The user's given name or first name.
+/// The user's given name
+///
+/// When requested, this element returns the given name if the identity document provides it
+/// as a separate field. For documents that do not provide separated name fields (common with
+/// international identity documents), this will fall back to returning the full name.
 @property (class, nonatomic, readonly) PKIdentityElement *givenNameElement;
 
-/// The user's family name or last name.
+/// The user's family name
+///
+/// When requested, this element returns the family name if the identity document provides it
+/// as a separate field. For documents that do not provide separated name fields (common with
+/// international identity documents), this will fall back to returning the full name.
 @property (class, nonatomic, readonly) PKIdentityElement *familyNameElement;
+
+/// The user's full name.
+///
+/// For National ID and other identity documents, requesting this element returns the user's
+/// full name as a single properly formatted string. The response may also include given name
+/// and family name when available.
+///
+/// For Driver's License documents, requesting this element returns the given name and family
+/// name as separate fields, but does not return a full name field. This limitation exists
+/// because the mDL (mobile Driver's License) standard does not currently include a full name
+/// field in its specification.
+@property (class, nonatomic, readonly) PKIdentityElement *nameElement API_AVAILABLE(ios(27.0));
 
 /// The portrait of the user on record with the issuer.
 @property (class, nonatomic, readonly) PKIdentityElement *portraitElement;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h	2026-04-19 04:57:05
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h	2026-06-02 00:47:40
@@ -92,7 +92,7 @@
 - (void)openPaymentSetup API_AVAILABLE(ios(8.3)) __WATCHOS_PROHIBITED;
 
 // Opens the card setup flow with attribution tracking. The merchant identifier will be used to track provisioning success back to the calling application and campaign.
-- (void)openPaymentSetupWithMerchantIdentifier:(NSString *)merchantIdentifier NS_SWIFT_NAME(openPaymentSetup(merchantIdentifier:)) API_AVAILABLE(ios(26.4), visionos(26.4)) API_UNAVAILABLE(watchos);
+- (void)openPaymentSetupWithMerchantIdentifier:(NSString *)merchantIdentifier NS_SWIFT_NAME(openPaymentSetup(merchantIdentifier:)) NS_SWIFT_NAME(openPaymentSetup(merchantIdentifier:)) API_AVAILABLE(ios(26.4), visionos(26.4)) API_UNAVAILABLE(watchos);
 
 // Presents the pass for use above the current application. The pass must already be in the pass library for this to have effect.
 - (void)presentPaymentPass:(PKPaymentPass *)pass API_DEPRECATED("Use -[PKPassLibrary presentSecureElementPass:] instead", ios(10.0, API_TO_BE_DEPRECATED)) __WATCHOS_PROHIBITED;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h	2026-04-19 00:46:44
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h	2026-06-02 00:52:05
@@ -116,6 +116,10 @@
 // PKPaymentNetworkMasterCard ].  This property constrains payment cards that may fund the payment.
 @property (nonatomic, copy) NSArray<PKPaymentNetwork> *supportedNetworks;
 
+// An array of primary account identifiers that should be excluded from payment.
+// Used by merchants who are also the card issuer to prevent self-funding scenarios.
+@property (nonatomic, copy) NSArray<NSString *> *unsupportedPrimaryAccountIdentifiers API_AVAILABLE(macos(27.0), ios(27.0), watchos(27.0), visionos(27.0));
+
 // The payment processing capabilities of the merchant.
 @property (nonatomic, assign) PKMerchantCapability merchantCapabilities;
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h	2026-04-19 01:49:19
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h	2026-06-02 03:34:46
@@ -30,6 +30,13 @@
 @property (strong, readonly) NSString *deviceAccountNumberSuffix;
 @property (nonatomic, readonly) PKSecureElementPassActivationState passActivationState;
 
+/// A Boolean value indicating whether provisioning is available for this pass.
+///
+/// This property is YES when the pass is in a pre-provisioned state and the issuer app
+/// can guide the user to complete provisioning. Check this property when passActivationState
+/// returns PKSecureElementPassActivationStateDeactivated to determine if provisioning is available.
+@property (nonatomic, readonly, getter=isProvisioningAvailable) BOOL provisioningAvailable API_AVAILABLE(macos(27.0), ios(27.0), watchos(27.0));
+
 @property (nonatomic, copy, readonly, nullable) NSString *devicePassIdentifier;
 @property (nonatomic, copy, readonly, nullable) NSString *pairedTerminalIdentifier;
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h	2026-04-19 01:26:14
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h	2026-06-02 03:34:44
@@ -175,7 +175,13 @@
 #import <PassKit/PKIdentityButton.h>
 #endif
 #endif // TARGET_OS_IPHONE || TARGET_OS_OSX
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if __has_include(<PassKit/PKPayLaterView.h>)
 #import <PassKit/PKPayLaterView.h>
+#endif
+#if __has_include(<PassKit/PKPayLaterValidator.h>)
 #import <PassKit/PKPayLaterValidator.h>
+#endif
+#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
 #import <PassKit/PKPassRelevantDate.h>
 #import <PassKit/PKPaymentAuthorizationViewControllerDelegate.h>

Clone this wiki locally