Skip to content

ClockKit iOS xcode14.0 beta2

Manuel de la Pena edited this page Jul 7, 2022 · 3 revisions

#ClockKit.framework https://github.com/xamarin/xamarin-macios/pull/15417

diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplication.h	2022-06-17 15:28:51.000000000 -0400
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplication : NSObject <NSCopying>
 
 /// The family of this complication.
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h	2022-05-31 15:02:13.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDataSource.h	2022-06-17 14:28:35.000000000 -0400
@@ -29,23 +29,23 @@
 /// Timeline entries after the timeline end date will not be displayed.
 @optional
 - (void)getTimelineEndDateForComplication:(CLKComplication *)complication
-                              withHandler:(void(^)(NSDate * __nullable date))handler NS_SWIFT_ASYNC(2);
+                              withHandler:(void(^)(NSDate * __nullable date))handler NS_SWIFT_ASYNC(2) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED));
 
 /// Indicate whether your complication's data should be hidden when the watch is locked.
 @optional
 - (void)getPrivacyBehaviorForComplication:(CLKComplication *)complication
-                              withHandler:(void(^)(CLKComplicationPrivacyBehavior behavior))handler NS_SWIFT_ASYNC(2);
+                              withHandler:(void(^)(CLKComplicationPrivacyBehavior behavior))handler NS_SWIFT_ASYNC(2) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED));
 
 /// Indicate your complication's animation behavior when transitioning between timeline entries.
 @optional
 - (void)getTimelineAnimationBehaviorForComplication:(CLKComplication *)complication
-                                        withHandler:(void(^)(CLKComplicationTimelineAnimationBehavior behavior))handler NS_SWIFT_ASYNC(2);
+                                        withHandler:(void(^)(CLKComplicationTimelineAnimationBehavior behavior))handler NS_SWIFT_ASYNC(2) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED));
 
 /// Provide the entry that should currently be displayed during always on time.
 /// If you pass back nil, we will continue to show the current timeline entry if it exists.
 @optional
 - (void)getAlwaysOnTemplateForComplication:(CLKComplication *)complication
-                               withHandler:(void(^)(CLKComplicationTemplate * __nullable))handler NS_SWIFT_ASYNC(2) API_AVAILABLE(watchos(6.0)) API_UNAVAILABLE(ios);
+                               withHandler:(void(^)(CLKComplicationTemplate * __nullable))handler NS_SWIFT_ASYNC(2) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(6.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 
 #pragma mark Timeline Population
@@ -54,7 +54,7 @@
 /// If you pass back nil, we will conclude you have no content loaded and will stop talking to your until you next call -reloadTimelineForComplication:.
 @required
 - (void)getCurrentTimelineEntryForComplication:(CLKComplication *)complication
-                                   withHandler:(void(^)(CLKComplicationTimelineEntry * __nullable))handler NS_SWIFT_ASYNC(2);
+                                   withHandler:(void(^)(CLKComplicationTimelineEntry * __nullable))handler NS_SWIFT_ASYNC(2) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED));
 
 /// The owning complication will use these methods to extend its timeline forward.
 /// @param date The date of the last entry we already have. Return the batch of entries after this date.
@@ -63,7 +63,7 @@
 - (void)getTimelineEntriesForComplication:(CLKComplication *)complication
                                 afterDate:(NSDate *)date
                                     limit:(NSUInteger)limit
-                              withHandler:(void(^)(NSArray<CLKComplicationTimelineEntry *> * __nullable entries))handler NS_SWIFT_ASYNC(4);
+                              withHandler:(void(^)(NSArray<CLKComplicationTimelineEntry *> * __nullable entries))handler NS_SWIFT_ASYNC(4) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED));
 
 
 #pragma mark - Sample Templates
@@ -76,7 +76,7 @@
 /// If you pass back nil, we will use the default placeholder template (which is a combination of your icon and app name).
 @optional
 - (void)getLocalizableSampleTemplateForComplication:(CLKComplication *)complication
-                                        withHandler:(void(^)(CLKComplicationTemplate * __nullable complicationTemplate))handler NS_SWIFT_ASYNC(2) API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios);
+                                        withHandler:(void(^)(CLKComplicationTemplate * __nullable complicationTemplate))handler NS_SWIFT_ASYNC(2)  API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 #pragma mark - Multiple Complications
 
@@ -85,12 +85,12 @@
 /// Provide a complete list of the current complication descriptors that your extension supports. These will be available
 /// during complication editing.
 @optional
-- (void)getComplicationDescriptorsWithHandler:(void(^)(NSArray<CLKComplicationDescriptor *> *))handler NS_SWIFT_ASYNC(1) NS_SWIFT_ASYNC_NAME(complicationDescriptors()) API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
+- (void)getComplicationDescriptorsWithHandler:(void(^)(NSArray<CLKComplicationDescriptor *> *))handler NS_SWIFT_ASYNC(1) NS_SWIFT_ASYNC_NAME(complicationDescriptors()) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 /// This method will be called each time a watch face is shared with this device that contains complications
 /// from your extension. Ensure you do any necessary work to support these complications as much as possible.
 @optional
-- (void)handleSharedComplicationDescriptors:(NSArray<CLKComplicationDescriptor *> *)complicationDescriptors API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
+- (void)handleSharedComplicationDescriptors:(NSArray<CLKComplicationDescriptor *> *)complicationDescriptors API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 #pragma mark - Widget Migration
 
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationDescriptor.h	2022-06-17 15:28:51.000000000 -0400
@@ -35,17 +35,18 @@
 
 - (instancetype)initWithIdentifier:(NSString *)identifier
                        displayName:(NSString *)displayName
-                 supportedFamilies:(NSArray<NSNumber *> *)supportedFamilies NS_REFINED_FOR_SWIFT;
+                 supportedFamilies:(NSArray<NSNumber *> *)supportedFamilies NS_REFINED_FOR_SWIFT API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED));
 
 - (instancetype)initWithIdentifier:(NSString *)identifier
                        displayName:(NSString *)displayName
                  supportedFamilies:(NSArray<NSNumber *> *)supportedFamilies
-                          userInfo:(NSDictionary *)userInfo NS_REFINED_FOR_SWIFT;
+                          userInfo:(NSDictionary *)userInfo NS_REFINED_FOR_SWIFT API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED));
 
 - (instancetype)initWithIdentifier:(NSString *)identifier
                        displayName:(NSString *)displayName
                  supportedFamilies:(NSArray<NSNumber *> *)supportedFamilies
-                      userActivity:(NSUserActivity *)userActivity NS_REFINED_FOR_SWIFT;
+                      userActivity:(NSUserActivity *)userActivity NS_REFINED_FOR_SWIFT API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED));
+
 
 @end
 
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationServer.h	2022-06-17 15:28:51.000000000 -0400
@@ -13,9 +13,9 @@
 
 @class CLKComplication;
 
-extern NSString * const CLKComplicationServerActiveComplicationsDidChangeNotification API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+extern NSString * const CLKComplicationServerActiveComplicationsDidChangeNotification API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationServer : NSObject
 
 + (instancetype)sharedInstance;
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTemplate.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTemplate.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTemplate.h	2022-05-31 14:49:22.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTemplate.h	2022-06-17 14:28:35.000000000 -0400
@@ -17,7 +17,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplate : NSObject <NSCopying>
 
 - (instancetype)init API_DEPRECATED("Initializing a template without parameters is deprecated in watchOS 7.0. Use an init with parameters instead.", watchos(2.0, 7.0), ios(9.0, 14.0));
@@ -30,7 +30,7 @@
 
 #pragma mark - Modular Small
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallSimpleText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -41,7 +41,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallSimpleImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -52,7 +52,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallRingText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -69,7 +69,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallRingImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -86,7 +86,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallStackText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *line1TextProvider;
@@ -102,7 +102,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallStackImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *line1ImageProvider;
@@ -118,7 +118,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularSmallColumnsText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *row1Column1TextProvider;
@@ -144,7 +144,7 @@
 
 #pragma mark - Modular Large
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularLargeStandardBody : CLKComplicationTemplate
 
 @property (nonatomic, copy, nullable) CLKImageProvider *headerImageProvider;
@@ -186,7 +186,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularLargeTallBody : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *headerTextProvider;
@@ -200,7 +200,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularLargeTable : CLKComplicationTemplate
 
 @property (nonatomic, copy, nullable) CLKImageProvider *headerImageProvider;
@@ -240,7 +240,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateModularLargeColumns : CLKComplicationTemplate
 
 @property (nonatomic, copy, nullable) CLKImageProvider *row1ImageProvider;
@@ -294,7 +294,7 @@
 
 #pragma mark - Utilitarian Small
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateUtilitarianSmallSquare : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -306,7 +306,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateUtilitarianSmallRingText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -323,7 +323,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateUtilitarianSmallRingImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -343,7 +343,7 @@
 
 #pragma mark - Utilitarian Small  &  Utilitarian Small Flat
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateUtilitarianSmallFlat : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -364,7 +364,7 @@
 
 #pragma mark - Utilitarian Large
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateUtilitarianLargeFlat : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -385,7 +385,7 @@
 
 #pragma mark - Circular Small
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateCircularSmallSimpleText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -396,7 +396,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateCircularSmallSimpleImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -407,7 +407,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateCircularSmallRingText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -424,7 +424,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateCircularSmallRingImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -441,7 +441,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateCircularSmallStackText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *line1TextProvider;
@@ -455,7 +455,7 @@
 
 @end
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateCircularSmallStackImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *line1ImageProvider;
@@ -472,7 +472,7 @@
 
 #pragma mark - Extra Large
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeSimpleText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -483,7 +483,7 @@
 
 @end
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeSimpleImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -494,7 +494,7 @@
 
 @end
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeRingText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider;
@@ -511,7 +511,7 @@
 
 @end
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeRingImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *imageProvider;
@@ -528,7 +528,7 @@
 
 @end
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeStackText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *line1TextProvider;
@@ -544,7 +544,7 @@
 
 @end
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeStackImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKImageProvider *line1ImageProvider;
@@ -560,7 +560,7 @@
 
 @end
 
-API_AVAILABLE(watchos(3.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(3.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateExtraLargeColumnsText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *row1Column1TextProvider;
@@ -586,7 +586,7 @@
 
 #pragma mark - Graphic Corner
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCornerGaugeText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -612,7 +612,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCornerGaugeImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -638,7 +638,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCornerTextImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider; // Supports multi-color text.
@@ -652,7 +652,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCornerStackText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *innerTextProvider; // Supports multi-color text.
@@ -666,7 +666,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCornerCircularImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKFullColorImageProvider *imageProvider;
@@ -680,11 +680,11 @@
 
 #pragma mark - Graphic Circular
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircular : CLKComplicationTemplate
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularImage : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKFullColorImageProvider *imageProvider;
@@ -695,7 +695,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularOpenGaugeRangeText : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -715,7 +715,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularOpenGaugeSimpleText : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -732,7 +732,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularOpenGaugeImage : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -749,7 +749,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularClosedGaugeText : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -763,7 +763,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularClosedGaugeImage : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -777,7 +777,7 @@
 
 @end
 
-API_AVAILABLE(watchos(6.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(6.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularStackText : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKTextProvider *line1TextProvider; // Supports multi-color text.
@@ -791,7 +791,7 @@
 
 @end
 
-API_AVAILABLE(watchos(6.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(6.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicCircularStackImage : CLKComplicationTemplateGraphicCircular
 
 @property (nonatomic, copy) CLKFullColorImageProvider *line1ImageProvider;
@@ -808,7 +808,7 @@
 
 #pragma mark - Graphic Bezel
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicBezelCircularText : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKComplicationTemplateGraphicCircular *circularTemplate;
@@ -829,7 +829,7 @@
 
 #pragma mark - Graphic Rectangular
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicRectangularFullImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKFullColorImageProvider *imageProvider;
@@ -840,7 +840,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicRectangularLargeImage : CLKComplicationTemplate
 
 @property (nonatomic, copy) CLKTextProvider *textProvider; // Supports multi-color text.
@@ -854,7 +854,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicRectangularStandardBody : CLKComplicationTemplate
 
 @property (nonatomic, copy, nullable) CLKFullColorImageProvider *headerImageProvider;
@@ -897,7 +897,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicRectangularTextGauge : CLKComplicationTemplate
 
 @property (nonatomic, copy, nullable) CLKFullColorImageProvider *headerImageProvider;
@@ -928,11 +928,11 @@
 
 #pragma mark - Graphic Extra Large Circular
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircular : CLKComplicationTemplate
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularImage : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKFullColorImageProvider *imageProvider;
@@ -943,7 +943,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularOpenGaugeRangeText : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -963,7 +963,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularOpenGaugeSimpleText : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -980,7 +980,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularOpenGaugeImage : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -997,7 +997,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularClosedGaugeText : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -1011,7 +1011,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularClosedGaugeImage : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKGaugeProvider *gaugeProvider;
@@ -1025,7 +1025,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularStackText : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKTextProvider *line1TextProvider; // Supports multi-color text.
@@ -1039,7 +1039,7 @@
 
 @end
 
-API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTemplateGraphicExtraLargeCircularStackImage : CLKComplicationTemplateGraphicExtraLargeCircular
 
 @property (nonatomic, copy) CLKFullColorImageProvider *line1ImageProvider;
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTimelineEntry.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTimelineEntry.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTimelineEntry.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKComplicationTimelineEntry.h	2022-06-17 15:28:51.000000000 -0400
@@ -11,7 +11,7 @@
 
 @class CLKComplicationTemplate;
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKComplicationTimelineEntry : NSObject
 
 + (instancetype)entryWithDate:(NSDate *)date complicationTemplate:(CLKComplicationTemplate *)complicationTemplate;
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h	2022-06-17 14:29:56.000000000 -0400
@@ -27,47 +27,47 @@
     CLKComplicationTimeTravelDirectionNone      = 0,
     CLKComplicationTimeTravelDirectionForward   = 1 << 0,
     CLKComplicationTimeTravelDirectionBackward  = 1 << 1,
-} API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+} API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 typedef NS_ENUM(NSUInteger, CLKComplicationPrivacyBehavior) {
     CLKComplicationPrivacyBehaviorShowOnLockScreen,
     CLKComplicationPrivacyBehaviorHideOnLockScreen,
-} API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+} API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 typedef NS_ENUM(NSUInteger, CLKComplicationTimelineAnimationBehavior) {
     CLKComplicationTimelineAnimationBehaviorNever,
     CLKComplicationTimelineAnimationBehaviorGrouped,
     CLKComplicationTimelineAnimationBehaviorAlways
-} API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+} API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 typedef NS_ENUM(NSInteger, CLKComplicationColumnAlignment)  {
     CLKComplicationColumnAlignmentLeading = 0,
     CLKComplicationColumnAlignmentTrailing = 1,
     CLKComplicationColumnAlignmentLeft API_DEPRECATED_WITH_REPLACEMENT("CLKComplicationColumnAlignmentLeading", watchos(2.0, 2.1)) = CLKComplicationColumnAlignmentLeading,
     CLKComplicationColumnAlignmentRight API_DEPRECATED_WITH_REPLACEMENT("CLKComplicationColumnAlignmentTrailing", watchos(2.0, 2.1)) = CLKComplicationColumnAlignmentTrailing,
-} API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+} API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 typedef NS_ENUM(NSInteger, CLKComplicationRingStyle)  {
     CLKComplicationRingStyleClosed,
     CLKComplicationRingStyleOpen,
-} API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+} API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 
 typedef NS_ENUM(NSInteger, CLKGaugeProviderStyle) {
     CLKGaugeProviderStyleRing,
     CLKGaugeProviderStyleFill,
-} API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios);
+} API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
-extern float const CLKSimpleGaugeProviderFillFractionEmpty API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios);
+extern float const CLKSimpleGaugeProviderFillFractionEmpty API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 
 #pragma mark - Launch Keys
 
-extern NSString * const CLKLaunchedTimelineEntryDateKey API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+extern NSString * const CLKLaunchedTimelineEntryDateKey API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
-extern NSString * const CLKLaunchedComplicationIdentifierKey API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
+extern NSString * const CLKLaunchedComplicationIdentifierKey API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
 #pragma mark - Multiple Complication Support
 extern NSString * const CLKDefaultComplicationIdentifier API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios);
 
-extern NSArray<NSNumber *> *CLKAllComplicationFamilies(void) API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_REFINED_FOR_SWIFT;
+extern NSArray<NSNumber *> *CLKAllComplicationFamilies(void) API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(7.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios) NS_REFINED_FOR_SWIFT;
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKFullColorImageProvider.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKFullColorImageProvider.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKFullColorImageProvider.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKFullColorImageProvider.h	2022-06-17 15:28:50.000000000 -0400
@@ -11,7 +11,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKFullColorImageProvider : NSObject <NSCopying>
 
 - (instancetype)init API_DEPRECATED("Use initializers that take parameters.", watchos(2.0, 7.0), ios(9.0, 14.0));
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKGaugeProvider.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKGaugeProvider.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKGaugeProvider.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKGaugeProvider.h	2022-06-17 15:28:50.000000000 -0400
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKGaugeProvider : NSObject <NSCopying>
 
 - (instancetype)init NS_UNAVAILABLE;
@@ -26,7 +26,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKSimpleGaugeProvider : CLKGaugeProvider
 
 + (instancetype)gaugeProviderWithStyle:(CLKGaugeProviderStyle)style
@@ -42,7 +42,7 @@
 
 @end
 
-API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(5.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKTimeIntervalGaugeProvider : CLKGaugeProvider
 
 + (instancetype)gaugeProviderWithStyle:(CLKGaugeProviderStyle)style
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKImageProvider.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKImageProvider.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKImageProvider.h	2022-05-31 14:51:50.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKImageProvider.h	2022-06-17 15:28:51.000000000 -0400
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKImageProvider : NSObject <NSCopying>
 
 - (instancetype)init API_DEPRECATED("Use initializers that take parameters.", watchos(2.0, 7.0), ios(9.0, 14.0));
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKTextProvider.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKTextProvider.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKTextProvider.h	2022-05-31 15:04:55.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKTextProvider.h	2022-06-17 11:27:24.000000000 -0400
@@ -12,7 +12,7 @@
 
 @class UIColor;
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKTextProvider : NSObject <NSCopying>
 
 - (instancetype)init API_DEPRECATED("Use initializers that take parameters.", watchos(2.0, 7.0), ios(9.0, 14.0));
@@ -34,7 +34,7 @@
 // Simple text providers display arbitrary text. If shortText is provided, we will fall back on it before truncating.
 // If accessibilityLabel is provided, it will be used in place of the text property for VoiceOver.
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKSimpleTextProvider : CLKTextProvider
 
 - (instancetype)initWithText:(NSString *)text API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_SWIFT_UNAVAILABLE("Use class factory");
@@ -69,7 +69,7 @@
 //    Dec 23
 //    23
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKDateTextProvider : CLKTextProvider
 
 - (instancetype)initWithDate:(NSDate *)date units:(NSCalendarUnit)calendarUnits API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_SWIFT_UNAVAILABLE("Use class factory");
@@ -92,7 +92,7 @@
 //   11:23PM
 //   11:23
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKTimeTextProvider : CLKTextProvider
 
 - (instancetype)initWithDate:(NSDate *)date API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_SWIFT_UNAVAILABLE("Use class factory");
@@ -123,7 +123,7 @@
 //
 // If space is constrained, this text provider will fall back on showing only the startDate before truncating.
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKTimeIntervalTextProvider : CLKTextProvider
 
 - (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_SWIFT_UNAVAILABLE("Use class factory");
@@ -178,9 +178,9 @@
     CLKRelativeDateStyleNaturalAbbreviated API_AVAILABLE(watchos(5.0)),
     CLKRelativeDateStyleOffsetShort API_AVAILABLE(watchos(6.0)),
     CLKRelativeDateStyleNaturalFull API_AVAILABLE(watchos(6.0)),
-} API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios);
+}  API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios);
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKRelativeDateTextProvider : CLKTextProvider
 
 - (instancetype)initWithDate:(NSDate *)date style:(CLKRelativeDateStyle)style units:(NSCalendarUnit)calendarUnits API_AVAILABLE(watchos(7.0)) API_UNAVAILABLE(ios) NS_SWIFT_UNAVAILABLE("Use class factory");
@@ -199,7 +199,7 @@
 
 #pragma mark - Localizable
 
-API_AVAILABLE(watchos(2.0)) API_UNAVAILABLE(ios)
+API_DEPRECATED("On watchOS 9.0 or later, use WidgetKit instead", watchos(2.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios)
 @interface CLKTextProvider (Localizable)
 
 // Creates a localizable simple text provider with a strings file key for the text and (optionally) a strings file key for shorter fallback text.
Clone this wiki locally