From a0da3e6e4e593c15ee228f06a0533a385e0c842a Mon Sep 17 00:00:00 2001 From: Haritha Mohan Date: Thu, 31 Aug 2023 09:59:16 -0400 Subject: [PATCH] [HomeKit] Add support for Xcode 15 beta 7 (#18878) Co-authored-by: GitHub Actions Autoformatter --- src/homekit.cs | 5 +++++ .../api-annotations-dotnet/MacCatalyst-HomeKit.todo | 1 - tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo | 1 - tests/xtro-sharpie/api-annotations-dotnet/tvOS-HomeKit.todo | 1 - tests/xtro-sharpie/iOS-HomeKit.todo | 1 - tests/xtro-sharpie/tvOS-HomeKit.todo | 1 - tests/xtro-sharpie/watchOS-HomeKit.todo | 1 - 7 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HomeKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/tvOS-HomeKit.todo delete mode 100644 tests/xtro-sharpie/iOS-HomeKit.todo delete mode 100644 tests/xtro-sharpie/tvOS-HomeKit.todo delete mode 100644 tests/xtro-sharpie/watchOS-HomeKit.todo diff --git a/src/homekit.cs b/src/homekit.cs index dfaf0badaa8a..fe8f2cfcee82 100644 --- a/src/homekit.cs +++ b/src/homekit.cs @@ -1120,6 +1120,11 @@ partial interface HMTrigger { [Export ("actionSets", ArgumentSemantic.Copy)] HMActionSet [] ActionSets { get; } + [Deprecated (PlatformName.MacOSX, 14, 0, message: "No longer supported.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "No longer supported.")] + [Deprecated (PlatformName.WatchOS, 10, 0, message: "No longer supported.")] + [Deprecated (PlatformName.TvOS, 17, 0, message: "No longer supported.")] + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "No longer supported.")] [NullAllowed, Export ("lastFireDate", ArgumentSemantic.Copy)] NSDate LastFireDate { get; } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HomeKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HomeKit.todo deleted file mode 100644 index 76447e8bedbb..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HomeKit.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-protocol-member! HMAccessoryDelegate::accessory:didUpdateWifiNetworkInfo: not found diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo deleted file mode 100644 index 4c7da807a81d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! HMTrigger::lastFireDate missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-HomeKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-HomeKit.todo deleted file mode 100644 index 4c7da807a81d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-HomeKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! HMTrigger::lastFireDate missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/iOS-HomeKit.todo b/tests/xtro-sharpie/iOS-HomeKit.todo deleted file mode 100644 index 4c7da807a81d..000000000000 --- a/tests/xtro-sharpie/iOS-HomeKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! HMTrigger::lastFireDate missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/tvOS-HomeKit.todo b/tests/xtro-sharpie/tvOS-HomeKit.todo deleted file mode 100644 index 4c7da807a81d..000000000000 --- a/tests/xtro-sharpie/tvOS-HomeKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! HMTrigger::lastFireDate missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/watchOS-HomeKit.todo b/tests/xtro-sharpie/watchOS-HomeKit.todo deleted file mode 100644 index 4c7da807a81d..000000000000 --- a/tests/xtro-sharpie/watchOS-HomeKit.todo +++ /dev/null @@ -1 +0,0 @@ -!deprecated-attribute-missing! HMTrigger::lastFireDate missing a [Deprecated] attribute