From 6416b16ebb3c567b8a5bf9f9c3e60a5577f50641 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 20 Mar 2025 09:32:58 +0100 Subject: [PATCH] [PassKit] Implement up to Xcode 16.3 beta 3. --- src/passkit.cs | 10 +++++++++- tests/cecil-tests/Documentation.KnownFailures.txt | 3 ++- .../api-annotations-dotnet/MacCatalyst-PassKit.todo | 2 -- .../api-annotations-dotnet/iOS-PassKit.todo | 2 -- .../api-annotations-dotnet/macOS-PassKit.todo | 2 -- 5 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-PassKit.todo diff --git a/src/passkit.cs b/src/passkit.cs index dfbdcac5c1bc..26de4d4cec5f 100644 --- a/src/passkit.cs +++ b/src/passkit.cs @@ -1215,6 +1215,14 @@ interface PKPaymentNetwork { [Mac (14, 5), iOS (17, 5), NoTV, MacCatalyst (17, 5)] [Field ("PKPaymentNetworkNAPAS")] NSString Napas { get; } + + [Mac (15, 4), iOS (18, 4), NoTV, MacCatalyst (18, 4)] + [Field ("PKPaymentNetworkHimyan")] + NSString Himyan { get; } + + [Mac (15, 4), iOS (18, 4), NoTV, MacCatalyst (18, 4)] + [Field ("PKPaymentNetworkJaywan")] + NSString Jaywan { get; } } /// A button used to activate an Apple Pay payment. Available styles and types are defined by and . @@ -2570,7 +2578,7 @@ interface PKIdentityIntentToStore : NSCopying { [NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)] [BaseType (typeof (NSObject))] interface PKIdentityRequest { - [NullAllowed, Export ("descriptor", ArgumentSemantic.Assign)] + [NullAllowed, Export ("descriptor", ArgumentSemantic.Strong)] IPKIdentityDocumentDescriptor Descriptor { get; set; } [NullAllowed, Export ("nonce", ArgumentSemantic.Copy)] diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index ccaf4d58ef2d..ddb145bbf9c7 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -38496,7 +38496,6 @@ M:PassKit.PKIdentityIntentToStore.Copy(Foundation.NSZone) M:PassKit.PKIdentityIntentToStore.MayStoreIntentForDays(System.IntPtr) M:PassKit.PKIdentityNationalIdCardDescriptor.AddElements(PassKit.PKIdentityElement[],PassKit.PKIdentityIntentToStore) M:PassKit.PKIdentityNationalIdCardDescriptor.GetIntentToStore(PassKit.PKIdentityElement) -M:PassKit.PKIdentityRequest.Dispose(System.Boolean) M:PassKit.PKInstantFundsOutFeeSummaryItem.Copy(Foundation.NSZone) M:PassKit.PKInstantFundsOutFeeSummaryItem.EncodeTo(Foundation.NSCoder) M:PassKit.PKIssuerProvisioningExtensionHandler.GenerateAddPaymentPassRequest(System.String,PassKit.PKAddPaymentPassRequestConfiguration,Foundation.NSData[],Foundation.NSData,Foundation.NSData,System.Action{PassKit.PKAddPaymentPassRequest}) @@ -63802,8 +63801,10 @@ P:PassKit.PKPaymentNetwork.Eftpos P:PassKit.PKPaymentNetwork.Electron P:PassKit.PKPaymentNetwork.Elo P:PassKit.PKPaymentNetwork.Girocard +P:PassKit.PKPaymentNetwork.Himyan P:PassKit.PKPaymentNetwork.IDCredit P:PassKit.PKPaymentNetwork.Interac +P:PassKit.PKPaymentNetwork.Jaywan P:PassKit.PKPaymentNetwork.Jcb P:PassKit.PKPaymentNetwork.Mada P:PassKit.PKPaymentNetwork.Maestro diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.todo deleted file mode 100644 index 1b38242a4ff0..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-field! PKPaymentNetworkHimyan not bound -!missing-field! PKPaymentNetworkJaywan not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo deleted file mode 100644 index 1b38242a4ff0..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-field! PKPaymentNetworkHimyan not bound -!missing-field! PKPaymentNetworkJaywan not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-PassKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-PassKit.todo deleted file mode 100644 index 1b38242a4ff0..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-PassKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-field! PKPaymentNetworkHimyan not bound -!missing-field! PKPaymentNetworkJaywan not bound