From 5af520683b238165550000e3d1bfb44e88ffb20b Mon Sep 17 00:00:00 2001 From: hiroshihorie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 5 Dec 2024 02:55:58 +0700 Subject: [PATCH] Remove visionos --- Sources/LKObjCHelpers/LKObjcCHelpers.m | 2 +- Sources/LKObjCHelpers/include/LKObjcHelpers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/LKObjCHelpers/LKObjcCHelpers.m b/Sources/LKObjCHelpers/LKObjcCHelpers.m index bb5d6f5a7..afcefae56 100644 --- a/Sources/LKObjCHelpers/LKObjcCHelpers.m +++ b/Sources/LKObjCHelpers/LKObjcCHelpers.m @@ -4,7 +4,7 @@ @implementation LKObjCHelpers NS_ASSUME_NONNULL_BEGIN -+ (void)finishBroadcastWithoutError:(RPBroadcastSampleHandler *)handler API_AVAILABLE(ios(10.0), macCatalyst(13.1), macos(11.0), tvos(10.0), visionos(1.0)) { ++ (void)finishBroadcastWithoutError:(RPBroadcastSampleHandler *)handler API_AVAILABLE(ios(10.0), macCatalyst(13.1), macos(11.0), tvos(10.0)) { // Call finishBroadcastWithError with nil error, which ends the broadcast without an error popup // This is unsupported/undocumented but appears to work and is preferable to an error dialog with a cryptic default message // See https://stackoverflow.com/a/63402492 for more discussion diff --git a/Sources/LKObjCHelpers/include/LKObjcHelpers.h b/Sources/LKObjCHelpers/include/LKObjcHelpers.h index d8e693fa6..5c5fd239e 100644 --- a/Sources/LKObjCHelpers/include/LKObjcHelpers.h +++ b/Sources/LKObjCHelpers/include/LKObjcHelpers.h @@ -3,6 +3,6 @@ @interface LKObjCHelpers : NSObject -+ (void)finishBroadcastWithoutError:(RPBroadcastSampleHandler *)handler API_AVAILABLE(ios(10.0), macCatalyst(13.1), macos(11.0), tvos(10.0), visionos(1.0)); ++ (void)finishBroadcastWithoutError:(RPBroadcastSampleHandler *)handler API_AVAILABLE(ios(10.0), macCatalyst(13.1), macos(11.0), tvos(10.0)); @end