From 3753801426820818820054f99f6f09c26c6258ee Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 18 May 2023 22:58:20 -0400 Subject: [PATCH] Add correct API_AVAILABLE annotations to new cert generation functions. (#26667) --- src/darwin/Framework/CHIP/MTRCertificates.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRCertificates.h b/src/darwin/Framework/CHIP/MTRCertificates.h index e74d3de729ce4b..13e1e0d9fe477d 100644 --- a/src/darwin/Framework/CHIP/MTRCertificates.h +++ b/src/darwin/Framework/CHIP/MTRCertificates.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN fabricID:(NSNumber * _Nullable)fabricID validityPeriod:(NSDateInterval *)validityPeriod error:(NSError * __autoreleasing _Nullable * _Nullable)error - MTR_NEWLY_AVAILABLE; + API_AVAILABLE(ios(16.6), macos(13.5), watchos(9.6), tvos(16.6)); /** * As above, but defaults to no expiration time. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN fabricID:(NSNumber * _Nullable)fabricID validityPeriod:(NSDateInterval *)validityPeriod error:(NSError * __autoreleasing _Nullable * _Nullable)error - MTR_NEWLY_AVAILABLE; + API_AVAILABLE(ios(16.6), macos(13.5), watchos(9.6), tvos(16.6)); /** * As above, but defaults to no expiration time. @@ -142,7 +142,7 @@ NS_ASSUME_NONNULL_BEGIN caseAuthenticatedTags:(NSSet * _Nullable)caseAuthenticatedTags validityPeriod:(NSDateInterval *)validityPeriod error:(NSError * __autoreleasing _Nullable * _Nullable)error - MTR_NEWLY_AVAILABLE; + API_AVAILABLE(ios(16.6), macos(13.5), watchos(9.6), tvos(16.6)); /** * As above, but defaults to no expiration time.