From 15ff70557212b123b69e6cfb38dfd4e8549d1e00 Mon Sep 17 00:00:00 2001 From: tj_devel709 Date: Mon, 16 Oct 2023 10:07:31 -0500 Subject: [PATCH] add not catalyst --- src/PassKit/PKPayLaterView.cs | 1 + tests/monotouch-test/PassKit/PKPayLaterViewTest.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PassKit/PKPayLaterView.cs b/src/PassKit/PKPayLaterView.cs index 9526a0ddb95c..120c66d85fc4 100644 --- a/src/PassKit/PKPayLaterView.cs +++ b/src/PassKit/PKPayLaterView.cs @@ -35,6 +35,7 @@ static void TrampolineValidateAmount (IntPtr block, byte eligible) #if NET [SupportedOSPlatform ("ios17.0")] + [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("tvos")] #endif diff --git a/tests/monotouch-test/PassKit/PKPayLaterViewTest.cs b/tests/monotouch-test/PassKit/PKPayLaterViewTest.cs index ca9fb436bccb..f3602877dcc4 100644 --- a/tests/monotouch-test/PassKit/PKPayLaterViewTest.cs +++ b/tests/monotouch-test/PassKit/PKPayLaterViewTest.cs @@ -1,4 +1,4 @@ -#if __IOS__ +#if __IOS__ && !__MACCATALYST__ using System; using Foundation;