Skip to content

HealthKit MacCatalyst xcode26.5 b3

Alex Soto edited this page Apr 30, 2026 · 2 revisions

#HealthKit.framework

diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKActivitySummary.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKActivitySummary.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h	2026-04-18 09:54:43
@@ -0,0 +1,122 @@
+//
+//  HKActivitySummary.h
+//  HealthKit
+//
+//  Copyright © 2015-2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @class         HKActivitySummary
+ @abstract      An object that represents a summary of a user's activity for a given day.
+ */
+HK_EXTERN
+API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0))
+@interface HKActivitySummary : NSObject <NSSecureCoding, NSCopying>
+
+/**
+ @method        dateComponentsForCalendar:
+ @abstract      The date components representing the day for this particular HKActivitySummary.
+ @discussion    These date components will contain era, year, month, and day components in the provided calendar.
+ */
+- (NSDateComponents *)dateComponentsForCalendar:(NSCalendar *)calendar;
+
+/**
+  @property      activityMoveMode
+  @abstract      The move mode of this activity summary
+  @discussion    The move mode of an activity summary determines if activeEnergyBurned or appleMoveTime are used for the move ring.
+  */
+@property (nonatomic, assign) HKActivityMoveMode activityMoveMode API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/**
+ @property paused
+ @abstract The paused state of this activity summary
+ @discussion The paused state of an activity summary indicates if the user is tracking their rings for the given day.
+ */
+@property (nonatomic, assign, getter=isPaused) BOOL paused API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/**
+  @property      activeEnergyBurned
+  @abstract      The amount of active energy that the user burned.
+  @discussion    This quantity is compatible with energy units.
+  */
+@property (nonatomic, strong) HKQuantity *activeEnergyBurned;
+
+/**
+  @property      appleMoveTime
+  @abstract      The amount of move time that the user performed.
+  @discussion    This quantity is compatible with time units. The measurement criteria of
+                 move time time is defined by Apple.
+  */
+@property (nonatomic, strong) HKQuantity *appleMoveTime API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/**
+  @property      appleExerciseTime
+  @abstract      The amount of exercise time that the user performed.
+  @discussion    This quantity is compatible with time units. The measurement criteria of
+                 exercise time is defined by Apple.
+  */
+@property (nonatomic, strong) HKQuantity *appleExerciseTime;
+
+/**
+  @property      appleStandHours
+  @abstract      The number of stand hours that the user earned.
+ @discussion     This quantity is compatible with the count unit. The measurement criteria of
+                 stand hours is defined by Apple.
+  */
+@property (nonatomic, strong) HKQuantity *appleStandHours;
+
+/**
+  @property      activeEnergyBurnedGoal
+  @abstract      The user's active energy goal for the day.
+  @discussion    This quantity is compatible with energy units.
+  */
+@property (nonatomic, strong) HKQuantity *activeEnergyBurnedGoal;
+
+/**
+  @property      appleMoveTimeGoal
+  @abstract      The user's move time goal for the day.
+  @discussion    This quantity is compatible with time units.
+  */
+@property (nonatomic, strong) HKQuantity *appleMoveTimeGoal API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/**
+  @property      appleExerciseTimeGoal
+  @abstract      The user's exercise time goal for the day.
+  @discussion    This quantity is compatible with time units.
+  */
+@property (nonatomic, strong) HKQuantity *appleExerciseTimeGoal API_DEPRECATED_WITH_REPLACEMENT("exerciseTimeGoal", ios(9.3, API_TO_BE_DEPRECATED), watchos(2.2, API_TO_BE_DEPRECATED));
+
+/**
+  @property      exerciseTimeGoal
+  @abstract      The user's exercise time goal for the day.
+  @discussion    This quantity is compatible with time units.
+  */
+@property (nonatomic, strong, nullable) HKQuantity *exerciseTimeGoal API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/**
+  @property      appleStandHoursGoal
+  @abstract      The user's active stand hours goal for the day.
+  @discussion    This quantity is compatible with the count unit.
+  */
+@property (nonatomic, strong) HKQuantity *appleStandHoursGoal API_DEPRECATED_WITH_REPLACEMENT("standHoursGoal", ios(9.3, API_TO_BE_DEPRECATED), watchos(2.2, API_TO_BE_DEPRECATED));
+
+/**
+  @property      standHoursGoal
+  @abstract      The user's active stand hours goal for the day.
+  @discussion    This quantity is compatible with the count unit.
+  */
+@property (nonatomic, strong, nullable) HKQuantity *standHoursGoal API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+@end
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathDateComponents API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKActivitySummaryQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummaryQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKActivitySummaryQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummaryQuery.h	2026-04-18 09:54:44
@@ -0,0 +1,48 @@
+//
+//  HKActivitySummaryQuery.h
+//  HealthKit
+//
+//  Copyright © 2015-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+
+@class HKActivitySummary;
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKActivitySummaryQueryDescriptor", ios(9.3, API_TO_BE_DEPRECATED), watchos(2.2, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKActivitySummaryQuery : HKQuery
+
+/**
+  @property      updateHandler
+  @abstract      An optional handler to be called when activity summaries matching the given predicate are updated.
+  @discussion    This property may not be modified once the query has been executed. If this property is nonnull, then
+                 the query must be manually stopped.
+  */
+@property (nonatomic, copy, nullable) void(^NS_SWIFT_SENDABLE updateHandler)(HKActivitySummaryQuery *query, NSArray<HKActivitySummary *> * _Nullable updatedActivitySummaries, NSError * _Nullable error);
+
+/*!
+  @method        initWithPredicate:resultsHandler:
+  @abstract      Returns a query that will retrieve HKActivitySummaries matching the given predicate.
+  @discussion    If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler.
+                 Otherwise, the query continues to run and calls the updateHandler as HKActivitySummaries matching the
+                 predicate are updated.
+  
+  @param         predicate  The predicate which HKActivitySummaries should match.
+  @param         handler    The block to invoke with results when the query has finished.
+  */
+- (instancetype)initWithPredicate:(nullable NSPredicate *)predicate
+                   resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKActivitySummaryQuery *query, NSArray<HKActivitySummary *> * _Nullable activitySummaries, NSError * _Nullable error))handler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAnchoredObjectQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAnchoredObjectQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h	2026-04-18 05:49:36
@@ -0,0 +1,93 @@
+//
+//  HKAnchoredObjectQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKQueryAnchor.h>
+#import <HealthKit/HKQueryDescriptor.h>
+
+@class HKDeletedObject;
+
+NS_ASSUME_NONNULL_BEGIN
+
+#define HKAnchoredObjectQueryNoAnchor (0)
+
+/*!
+ @class         HKAnchoredObjectQuery
+ @discussion    This query can be used by an application to find out about new or deleted samples in the HealthKit
+                database.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKAnchoredObjectQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKAnchoredObjectQuery : HKQuery
+
+/*!
+ @property      updateHandler
+ @abstract      An optional handler to be called when samples matching the given predicate are added or deleted.
+ @discussion    This property may not be modified once the query has been executed.  It may only be set if the query has
+                no limit.
+ */
+@property (nonatomic, copy, nullable) void(^NS_SWIFT_SENDABLE updateHandler)(HKAnchoredObjectQuery *query, NSArray<__kindof HKSample *> * _Nullable addedObjects, NSArray<HKDeletedObject *> * _Nullable deletedObjects, HKQueryAnchor * _Nullable newAnchor, NSError * _Nullable error) API_AVAILABLE(ios(9.0), watchos(2.0));
+
+/*!
+ @method        initWithType:predicate:anchor:limit:resultsHandler:
+ @abstract      Returns a query that will retrieve HKSamples and HKDeletedObjects matching the given predicate that are
+                newer than the given anchor.
+ @discussion    If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler.
+                Otherwise, the query continues to run and call updateHandler as samples matching the predicate are
+                created or deleted.
+ 
+ @param         type            The type of sample to retrieve.
+ @param         predicate       The predicate which samples should match.
+ @param         anchor          The anchor which was returned by a previous HKAnchoredObjectQuery result or update
+                                handler.  Pass nil when querying for the first time.
+ @param         limit           The maximum number of samples and deleted objects to return.  Pass HKObjectQueryNoLimit
+                                for no limit.
+ @param         handler         The block to invoke with results when the query has finished finding.
+ */
+- (instancetype)initWithType:(HKSampleType *)type
+                   predicate:(nullable NSPredicate *)predicate
+                      anchor:(nullable HKQueryAnchor *)anchor
+                       limit:(NSUInteger)limit
+              resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKAnchoredObjectQuery *query, NSArray<__kindof HKSample *> * _Nullable sampleObjects, NSArray<HKDeletedObject *> * _Nullable deletedObjects, HKQueryAnchor * _Nullable newAnchor, NSError * _Nullable error))handler API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+- (instancetype)initWithType:(HKSampleType *)type
+                   predicate:(nullable NSPredicate *)predicate
+                      anchor:(NSUInteger)anchor
+                       limit:(NSUInteger)limit
+           completionHandler:(void(^NS_SWIFT_SENDABLE)(HKAnchoredObjectQuery *query, NSArray<__kindof HKSample *> * __nullable results, NSUInteger newAnchor, NSError * __nullable error))handler API_DEPRECATED_WITH_REPLACEMENT("initWithType:predicate:anchor:limit:resultsHandler:", ios(8.0, 9.0));
+
+/*!
+ @method        initWithQueryDescriptors:anchor:limit:resultsHandler
+ @abstract      Returns a query that will retrieve HKSamples and HKDeletedObjects matching the given query descriptors
+                that are newer than the given anchor.
+ @discussion    If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler.
+                Otherwise, the query continues to run and call updateHandler as samples matching the query descriptors
+                are created or deleted.
+ 
+ @param         queryDescriptors   An array of query descriptors that describes the sample types and predicates that
+                                   you are interested in getting notified for.
+ @param         anchor             The anchor which was returned by a previous HKAnchoredObjectQuery result or update
+                                   handler.  Pass nil when querying for the first time.
+ @param         limit              The maximum number of samples and deleted objects to return. Pass
+                                   HKObjectQueryNoLimit for no limit.
+ @param         handler            The block to invoke with results when the query has finished finding.
+*/
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+                                  anchor:(nullable HKQueryAnchor *)anchor
+                                   limit:(NSInteger)limit
+                          resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKAnchoredObjectQuery *query, NSArray<__kindof HKSample *> * _Nullable sampleObjects, NSArray<HKDeletedObject *> * _Nullable deletedObjects, HKQueryAnchor * _Nullable newAnchor, NSError * _Nullable error))handler API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h	2026-04-18 09:54:45
@@ -0,0 +1,39 @@
+//
+//  HKAppleSleepingBreathingDisturbancesClassification.h
+//  HealthKit
+//
+//  Copyright © 2022-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @enum          HKAppleSleepingBreathingDisturbancesClassification
+ @abstract      This enumerated type is used to represent a classification of the user's breathing disturbances
+ @constant      HKAppleSleepingBreathingDisturbancesClassificationNotElevated          BD level is not elevated
+ @constant      HKAppleSleepingBreathingDisturbancesClassificationElevated                BD level is elevated
+ */
+typedef NS_ENUM(NSInteger, HKAppleSleepingBreathingDisturbancesClassification) {
+    HKAppleSleepingBreathingDisturbancesClassificationNotElevated,
+    HKAppleSleepingBreathingDisturbancesClassificationElevated,
+} API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/*!
+ @abstract  Determines the Breathing Disturbances classification for the provided BD value.
+ @param     value Breathing Disturbances quantity
+ @return    A Breathing Disturbances classification if one can be created, otherwise nil.
+ */
+HK_EXTERN NSNumber * _Nullable HKAppleSleepingBreathingDisturbancesClassificationForQuantity(HKQuantity *value) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @abstract  Retrieves the minimum quantity for a Breathing Disturbances classification.
+ @param     classification Breathing Disturbances classification for desired minimum value.
+ */
+HK_EXTERN HKQuantity * HKAppleSleepingBreathingDisturbancesMinimumQuantityForClassification(HKAppleSleepingBreathingDisturbancesClassification classification) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)) NS_SWIFT_NAME(getter:HKAppleSleepingBreathingDisturbancesClassification.minimum(self:));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h	2026-04-18 09:54:43
@@ -0,0 +1,49 @@
+//
+//  HKAppleWalkingSteadinessClassification.h
+//  HealthKit
+//
+//  Copyright © 2021-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @enum          HKAppleWalkingSteadinessClassification
+ @abstract      This enumerated type is used to represent the classification for the user's walking steadiness.
+ @constant      HKAppleWalkingSteadinessClassificationOK         Walking steadiness is OK.
+ @constant      HKAppleWalkingSteadinessClassificationLow        Walking steadiness is Low.
+ @constant      HKAppleWalkingSteadinessClassificationVeryLow    Walking steadiness is Very Low.
+ */
+typedef NS_ENUM(NSInteger, HKAppleWalkingSteadinessClassification) {
+    HKAppleWalkingSteadinessClassificationOK NS_SWIFT_NAME(ok) = 1,
+    HKAppleWalkingSteadinessClassificationLow,
+    HKAppleWalkingSteadinessClassificationVeryLow,
+} API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @abstract Determines the Apple Walking Steadiness classification for the provided Apple Walking Steadiness value.
+ @param value Apple Walking Steadiness quantity with expected value between 0% and 100%.
+ @param classificationOut A pointer to the classification determined for the provided value.
+ @param errorOut A pointer to an error describing why an unknown classification was returned.
+ @return YES if the classification was successful. NO otherwise, meaning the provided value could not be classified.
+ */
+HK_EXTERN BOOL HKAppleWalkingSteadinessClassificationForQuantity(HKQuantity *value, HKAppleWalkingSteadinessClassification *classificationOut, NSError **errorOut) API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @abstract Retrieves the minimum quantity in percent unit for an Apple Walking Steadiness classification.
+ @param classification Apple Walking Steadiness classification for desired minimum value.
+ */
+HK_EXTERN HKQuantity * HKAppleWalkingSteadinessMinimumQuantityForClassification(HKAppleWalkingSteadinessClassification classification) API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @abstract Retrieves the maximum quantity in percent unit for an Apple Walking Steadiness classification.
+ @param classification Apple Walking Steadiness classification for desired maximum value.
+ */
+HK_EXTERN HKQuantity * HKAppleWalkingSteadinessMaximumQuantityForClassification(HKAppleWalkingSteadinessClassification classification) API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAttachment.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachment.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAttachment.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachment.h	2026-04-18 09:54:43
@@ -0,0 +1,74 @@
+//
+//  HKAttachment.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <UniformTypeIdentifiers/UTType.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKAttachment
+ @discussion    An HKAttachment represents a file attachment stored in the HealthKit database.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKAttachment : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property      identifier
+ @abstract      A unique identifier of the receiver in the HealthKit database.
+ */
+@property (copy, readonly) NSUUID *identifier;
+
+/*!
+ @property      name
+ @abstract      Represents the name of the file.
+ */
+@property (copy, readonly) NSString *name;
+
+/*!
+ @property      contentType
+ @abstract      The Uniform Type of the file.
+ */
+@property (copy, readonly) UTType *contentType;
+
+/*!
+ @property      size
+ @abstract      The size in bytes of the file.
+ */
+@property (assign, readonly) NSInteger size;
+
+/*!
+ @property      creationDate
+ @abstract      The date the receiver was created.
+ */
+@property (copy, readonly) NSDate *creationDate;
+
+/*!
+ @property      metadata
+ @abstract      Extra information describing the attachment.
+ @discussion    Keys must be NSString and values must be either NSString, NSNumber, or NSDate.
+ */
+@property (copy, readonly, nullable) NSDictionary<NSString *, id> *metadata;
+
+/*!
+ @method        init
+ @abstract      The init method is unavailable. To create an attachment, use HKAttachmentStore.
+ */
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @method        new
+ @abstract      The new method is unavailable. To create an attachment, use HKAttachmentStore.
+ */
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAttachmentStore.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachmentStore.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAttachmentStore.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachmentStore.h	2026-04-18 04:54:22
@@ -0,0 +1,95 @@
+//
+//  HKAttachmentStore.h
+//  HealthKit
+//
+//  Copyright © 2022-2024 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKAttachment.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKHealthStore;
+@class HKObject;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKAttachmentStore
+ @discussion    The HKAttachmentStore class provides an interface for accessing and storing HKAttachment objects.
+ */
+HK_EXTERN
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKAttachmentStore : NSObject
+
+/*!
+ @method        initWithHealthStore:
+ @abstract      The designated initializer to create an HKAttachmentStore.
+ @param         healthStore     Specifies the HKHealthStore object to use.
+ */
+- (instancetype)initWithHealthStore:(HKHealthStore *)healthStore;
+
+/*!
+ @method        addAttachmentToObject:name:contentType:URL:metadata:completion:
+ @abstract      Creates a new HKAttachment using the passed in NSURL and attaches it to the specified HKObject.
+ @param         object          The object for which to add the HKAttachment.
+ @param         name            The name of the attachment.
+ @param         contentType     The content type of the attachment.
+ @param         URL             The NSURL to use to create the attachment.
+ @param         metadata        Extra information describing the attachment.
+ @param         completion      Called with an HKAttachment instance once the file was successfully saved and attached,
+                                otherwise called with an error.
+ */
+- (void)addAttachmentToObject:(HKObject *)object
+                         name:(NSString *)name
+                  contentType:(UTType *)contentType
+                          URL:(NSURL *)URL
+                     metadata:(nullable NSDictionary<NSString *, id> *)metadata
+                   completion:(void (^)(HKAttachment * _Nullable attachment, NSError * _Nullable error))completion NS_REFINED_FOR_SWIFT;
+
+/*!
+ @method        removeAttachment:fromObject:completion:
+ @abstract      Removes the given HKAttachment from the specified HKObject.
+ @param         attachment      The HKAttachment to be removed.
+ @param         object          The object from which to remove the attachment.
+ @param         completion      Called once the remove operation finishes.
+ */
+- (void)removeAttachment:(HKAttachment *)attachment
+              fromObject:(HKObject *)object
+              completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_NAME(removeAttachment(_:from:completion:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method        getAttachmentsForObject:completion:
+ @abstract      Retrieves a list of attachments for a given object.
+ @param         object               The object for which to retrieve attachments.
+ @param         completion           Called with a list of attachments or an error.
+ */
+- (void)getAttachmentsForObject:(HKObject *)object
+                     completion:(void(^)(NSArray<HKAttachment *> * _Nullable attachments, NSError * _Nullable error))completion NS_SWIFT_NAME(getAttachments(for:completion:)) NS_SWIFT_ASYNC_NAME(attachments(for:));
+
+/*!
+ @method        getDataForAttachment:completion:
+ @abstract      Retrieves the NSData for the given HKAttachment.
+ @discussion    Prefer @c streamDataForAttachment:completion: for large files that support incremental reading to limit your app's peak memory usage.
+                The attachment's data may not always be available locally, and could be stored in iCloud.
+ @param         attachment           The attachment object to read data from.
+ @param         completion           Called with an NSData or an error.
+ @return        An NSProgress object to use for tracking the progress of downloading the attachment's data from iCloud.
+ */
+- (NSProgress *)getDataForAttachment:(HKAttachment *)attachment
+                          completion:(void(^)(NSData * _Nullable attachmentData, NSError * _Nullable error))completion NS_SWIFT_NAME(getData(for:completion:));
+
+/*!
+ @method        streamDataForAttachment:dataHandler:
+ @abstract      Streams the given HKAttachment's data as ordered NSData chunks.
+ @discussion    The dataHandler's done parameter is set to YES when all chunks have been streamed.
+                The attachment's data may not always be available locally, and could be stored in iCloud.
+ @param         attachment           The attachment object to read data from.
+ @param         dataHandler          Called with an NSData chunk or an error. When done is YES, the operation has completed.
+ @return        An NSProgress object to use for tracking the progress of downloading the attachment's data from iCloud.
+ */
+- (NSProgress *)streamDataForAttachment:(HKAttachment *)attachment
+                            dataHandler:(void(^)(NSData * _Nullable dataChunk, NSError * _Nullable error, BOOL done))dataHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSample.h	2026-04-18 09:54:43
@@ -0,0 +1,66 @@
+//
+//  HKAudiogramSample.h
+//  HealthKit
+//
+//  Copyright © 2017-2024 Apple. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuantity.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKAudiogramSensitivityPoint;
+@class HKAudiogramSensitivityPointClampingRange;
+
+/*!
+ @class     HKAudiogramSample
+ @abstract  A sample object representing the results of a standard hearing test.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKAudiogramSample : HKSample
+
+/*!
+ @property  sensitivityPoints
+ @abstract  The hearing sensitivity readings associated with a hearing test.
+ */
+@property (readonly, copy) NSArray<HKAudiogramSensitivityPoint *> *sensitivityPoints;
+/*!
+ @method                   audiogramSampleWithSensitivityPoints:startDate:endDate:metadata:
+ @abstract                 Creates a new audiogram sample with the specified attributes.
+ @param sensitivityPoints  Sensitivity data associated with the sample, with a maximum limit of 30 points. Frequencies must be unique, and ordered ascending.
+ @param startDate          The start date for the hearing test.
+ @param endDate            The end date for the hearing test.
+ @param metadata           Optional meta data associated with the sample.
+ @return                   A new instance of an audiogram sample.
+ */
++ (instancetype)audiogramSampleWithSensitivityPoints:(NSArray<HKAudiogramSensitivityPoint *> *)sensitivityPoints
+                                           startDate:(NSDate *)startDate
+                                             endDate:(NSDate *)endDate
+                                            metadata:(nullable NSDictionary<NSString *, id> *)metadata API_DEPRECATED_WITH_REPLACEMENT("+[HKAudiogramSample audiogramSampleWithSensitivityPoints:startDate:endDate:device:metadata:]", ios(13.0, 18.1), watchos(6.0, 11.1));
+/*!
+ @method                   audiogramSampleWithSensitivityPoints:startDate:endDate:device:metadata:
+ @abstract                 Creates a new audiogram sample with the specified attributes.
+ @param sensitivityPoints  Sensitivity data associated with the sample, with a maximum limit of 30 points. Frequencies must be unique, and ordered ascending.
+ @param startDate          The start date of the hearing test.
+ @param endDate            The end date of the hearing test.
+ @param device             The device that generated the sample data.
+ @param metadata           Optional metadata associated with the sample.
+ @return                   A new instance of an audiogram sample.
+ */
++ (instancetype)audiogramSampleWithSensitivityPoints:(NSArray<HKAudiogramSensitivityPoint *> *)sensitivityPoints
+                                           startDate:(NSDate *)startDate
+                                             endDate:(NSDate *)endDate
+                                              device:(nullable HKDevice *)device
+                                            metadata:(nullable NSDictionary<NSString *, id> *)metadata API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1));
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSensitivityPoint.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPoint.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSensitivityPoint.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPoint.h	2026-04-18 05:49:34
@@ -0,0 +1,82 @@
+//
+//  HKAudiogramSensitivityPoint.h
+//  HealthKit
+//
+//  Copyright © 2019-2024 Apple. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKAudiogramSensitivityPointClampingRange;
+@class HKAudiogramSensitivityTest;
+@class HKQuantity;
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKAudiogramSensitivityPoint : NSObject <NSSecureCoding>
+
+/*!
+ @property frequency  Frequency where sensitivity was measured.  The unit of measurement
+ is [HKUnit hertzUnit] or "Hz".
+ */
+@property (readonly, copy) HKQuantity *frequency;
+
+/*!
+ @property sensitivity Left ear sensitivity measured in dB from a baseline of 0 dB. Reduced hearing sensitivity corresponds to an increase from 0 dB.
+ The unit of measurement is `HKUnit.decibelHearingLevelUnit` or "dBHL".
+ */
+@property (readonly, copy, nullable) HKQuantity *leftEarSensitivity API_DEPRECATED("Use tests object which will contain a value for left ear", ios(13.0, 18.1), watchos(6.0, 11.1));
+
+/*!
+ @property sensitivity Right ear sensitivity measured in dB from a baseline of 0 dB. Reduced hearing sensitivity corresponds to an increase from 0 dB.
+ The unit of measurement is `HKUnit.decibelHearingLevelUnit` or "dBHL".
+ */
+@property (readonly, copy, nullable) HKQuantity *rightEarSensitivity API_DEPRECATED("Use tests object which will contain a value for right ear", ios(13.0, 18.1), watchos(6.0, 11.1));
+
+/*!
+ @property      tests
+ @abstract      The tests conducted at this frequency
+ */
+@property (nonatomic, readonly, copy) NSArray<HKAudiogramSensitivityTest *> *tests API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1));
+
+/*!
+ @method                    sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:
+ @abstract                  Creates a point that can be included in a audiogram.
+ @param frequency           Frequency where sensitivity was measured.
+ @param leftEarSensitivity  Left ear sensitivity measured in dB from a baseline of 0 dB. Reduced hearing sensitivity corresponds to an increase from 0 dB.
+ @param rightEarSensitivity Right ear sensitivity measured in dB from a baseline of 0 dB. Reduced hearing sensitivity corresponds to an increase from 0 dB.
+ @param error               If there was a problem creating this instance this will contain the error.
+ @return                    New instance of a sensitivity point or nil if there were problems
+                            creating the instance.  Errors may include incorrect quantity units
+                            or data that is out of an expected range.
+ */
++ (nullable instancetype)sensitivityPointWithFrequency:(HKQuantity *)frequency
+                                    leftEarSensitivity:(nullable HKQuantity *)leftEarSensitivity
+                                   rightEarSensitivity:(nullable HKQuantity *)rightEarSensitivity
+                                                 error:(NSError * _Nullable *)error API_DEPRECATED("Use +[HKAudiogramSensitivityPoint sensitivityPointWithFrequency:tests:error:]", ios(13.0, 18.1), watchos(6.0, 11.1));
+
+/*!
+ @method                    sensitivityPointWithFrequency:tests:error:
+ @abstract                  Creates a point that can be included in a audiogram.
+ @param frequency           Frequency at which sensitivity was measured.
+ @param tests               The tests conducted at the frequency
+ @param errorOut            If there was a problem creating this instance this will contain the error.
+ @return                    New instance of a sensitivity point or nil if there were problems
+                            creating the instance.  Errors may include incorrect quantity units
+                            or data that is out of an expected range.
+ */
++ (nullable instancetype)sensitivityPointWithFrequency:(HKQuantity *)frequency
+                                                 tests:(NSArray<HKAudiogramSensitivityTest *> *)tests
+                                                 error:(NSError **)errorOut API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1));
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSensitivityPointClampingRange.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPointClampingRange.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSensitivityPointClampingRange.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPointClampingRange.h	2026-04-18 09:54:44
@@ -0,0 +1,54 @@
+//
+//  HKAudiogramSensitivityPointClampingRange.h
+//  HealthKit
+//
+//  Copyright © 2023-2024 Apple. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKQuantity;
+
+NS_ASSUME_NONNULL_BEGIN
+
+#pragma mark - Clamping Support
+
+/// Defines the range within which an ear's sensitivity point may have been clamped, if any.
+///
+/// At times, it may be required to indicate that a sensitivity point has been clamped to a range. These reasons include but
+/// are not limited to user safety, hardware limitations, or algorithm features.
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1))
+@interface HKAudiogramSensitivityPointClampingRange: NSObject  <NSSecureCoding, NSCopying>
+
+/**
+ @property lowerBound
+ @abstract The lower bound of the clamping range, if any, in dBHL.
+ */
+@property(nonatomic, readonly, copy, nullable) HKQuantity *lowerBound;
+
+/**
+ @property upperBound
+ @abstract The upper bound of the clamping range, if any, in dBHL.
+ */
+@property(nonatomic, readonly, copy, nullable) HKQuantity *upperBound;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @method                    clampingRangeWithLowerBound:upperBound:error:
+ @abstract                  Creates a clamping range from a given lower and upper bound. At least one bound must be specified. If both bounds are provided, the lower bound must be less than the upper bound.
+ @param lowerBound          The lower bound of the clamping range (if any)
+ @param upperBound          The upper bound of the clamping range (if any)
+ @param errorOut            If there was a problem creating this instance this will contain the error.
+ @return                    New instance of a clamping range or nil if there were problems
+                            creating the instance.  Errors may include not having any bound or lower bound is greater than the upper bound
+ */
++ (nullable instancetype)clampingRangeWithLowerBound:(nullable NSNumber *)lowerBound upperBound:(nullable NSNumber *)upperBound error:(NSError **)errorOut;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSensitivityTest.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityTest.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKAudiogramSensitivityTest.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityTest.h	2026-04-18 09:54:44
@@ -0,0 +1,101 @@
+//
+//  HKAudiogramSensitivityTest.h
+//  HealthKit
+//
+//  Copyright © 2023-2024 Apple. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+
+@class HKAudiogramSensitivityPointClampingRange;
+@class HKQuantity;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKAudiogramConductionType
+ @abstract      Represents the conduction type used for an HKAudiogramSensitivityTest
+ 
+ @constant      HKAudiogramConductionTypeAir
+ */
+typedef NS_ENUM(NSInteger, HKAudiogramConductionType) {
+    HKAudiogramConductionTypeAir = 0,
+} API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1));
+
+/*!
+ @enum          HKAudiogramSensitivityTestSide
+ @abstract      Represents the test side used for an HKAudiogramSensitivityTest
+ 
+ @constant      HKAudiogramSensitivityTestSideLeft
+ @constant      HKAudiogramSensitivityTestSideRight
+ */
+typedef NS_ENUM(NSInteger, HKAudiogramSensitivityTestSide) {
+    HKAudiogramSensitivityTestSideLeft = 0,
+    HKAudiogramSensitivityTestSideRight = 1,
+} API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1));
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.1), watchos(11.1), macCatalyst(18.1), macos(15.1), visionos(2.1))
+@interface HKAudiogramSensitivityTest : NSObject<NSSecureCoding, NSCopying>
+
+/*!
+ @property      sensitivity
+ @abstract      Ear sensitivity measured in dB from a baseline of 0 dB. Reduced hearing sensitivity corresponds to an increase from 0 dB.
+ The unit of measurement is `HKUnit.decibelHearingLevelUnit` or "dBHL".
+ */
+@property (nonatomic, readonly, copy) HKQuantity *sensitivity;
+
+/*!
+ @property      type
+ @abstract      The conduction type
+ */
+@property (nonatomic, assign, readonly) HKAudiogramConductionType type;
+
+/*!
+ @property      masked
+ @abstract      Indicates if the test was conducted with or without masking
+ */
+@property (nonatomic, assign, readonly) BOOL masked;
+
+/*!
+ @property      side
+ @abstract      The test side
+ */
+@property (nonatomic, assign, readonly) HKAudiogramSensitivityTestSide side;
+
+/*!
+ @property      clampingRange
+ @abstract      If present, indicates that the range within which the sensitivity point should be clamped.
+ */
+@property (nonatomic, readonly, copy, nullable) HKAudiogramSensitivityPointClampingRange *clampingRange;
+
+/*!
+ @method                    initWithSensitivity:type:masked:side:clampingRange:error:
+ @abstract                  Creates a sensitivity test which can be added to a HKAudiogramSensitivityPoint
+ @param sensitivity         The ear sensitivity measured in dB from a baseline of 0 dB with unit `HKUnit.decibelHearingLevelUnit` or "dBHL".
+ @param type                The type of test
+ @param masked              If the test was conducted with or without masking
+ @param side                The test side which was tested
+ @param clampingRange       The clamping range (if any)
+ @param errorOut            If there was a problem creating this instance this will contain the error.
+ @return                    New instance of a Sensitivity Test or nil if there were problems
+                            creating the instance.  Errors may include incorrect quantity units or sensitivity out of range
+ */
+- (nullable instancetype)initWithSensitivity:(HKQuantity *)sensitivity
+                                        type:(HKAudiogramConductionType)type
+                                      masked:(BOOL)masked
+                                        side:(HKAudiogramSensitivityTestSide)side
+                               clampingRange:(nullable HKAudiogramSensitivityPointClampingRange *)clampingRange
+                                       error:(NSError **)errorOut;
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCDADocumentSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCDADocumentSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCDADocumentSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCDADocumentSample.h	2026-04-18 08:30:06
@@ -0,0 +1,131 @@
+//
+//  HKCDADocumentSample.h
+//  HealthKit
+//
+//  Copyright © 2015-2024 Apple. All rights reserved.
+//
+//  HealthKit support for storing and retrieving
+//  Consolidated Clinical Document records.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKDocumentSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKCDADocument;
+
+/*!
+ @class         HKCDADocumentSample
+ @abstract      A sample object representing a CDA document.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos)
+@interface HKCDADocumentSample : HKDocumentSample
+
+/*!
+ @property      document
+ @abstract      The contents of the document.
+ @discussion    Access to each CDA instance must be authorized by the user in order for the document data to be
+                accessible to an app.  The authorization request occurs the first time a document matches the predicate
+                of an executed HKDocumentQuery.  This property will always be nil if the sample is returned by an
+                HKSampleQuery or an HKAnchoredObjectQuery.
+ */
+@property (readonly, nullable) HKCDADocument *document;
+
+/*!
+ @method                CDADocumentSampleWithData:startDate:endDate:device:metadata:validationError:
+ @abstract              Creates a new document sample with the specified attributes.
+ @param documentData    Document contents in an XML format that meets the CDA standard.
+ @param startDate       The start date for the document.
+ @param endDate         The end date for the document.
+ @param metadata        Metadata for the document.
+ @param validationError The XML content will be validated against the standard for CDA content.  If that validation
+                        fails, then this parameter will be set with the relavant error.  Detailed information about the
+                        failure may be obtained by examining the value for the HKDetailedCDAValidationErrorKey key of
+                        the NSError's userInfo dictionary.
+ @return                The new instance or nil if the documentData does not pass validation.
+ @discussion            Attributes of the document, such as title, patient name, etc. will be extracted automatically
+                        from the document content.
+ */
++ (nullable instancetype)CDADocumentSampleWithData:(NSData *)documentData
+                                         startDate:(NSDate *)startDate
+                                           endDate:(NSDate *)endDate
+                                          metadata:(nullable NSDictionary<NSString *, id> *)metadata
+                                   validationError:(NSError **)validationError __WATCHOS_UNAVAILABLE;
+
+@end
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(11.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos)
+@interface HKCDADocument : NSObject
+
+/*!
+ @property  documentData
+ @abstract  The CDA document content in XML format as specified in the CDA standard. This may be nil if the
+            includeDocumentData option in HKDocumentQuery is specified as NO.
+ */
+@property (readonly, copy, nullable) NSData *documentData API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      title
+ @abstract      The title of the document.
+ @discussion    This property is extracted automatically from the document.
+ */
+@property (readonly, copy) NSString *title API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      patientName
+ @abstract      The name of the patient receiving treatment.
+ @discussion    This property is extracted automatically from the document.
+ */
+@property (readonly, copy) NSString *patientName API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      authorName
+ @abstract      The person responsible for authoring the document.  Usually, this is the treating physician.
+ @discussion    This property is extracted automatically from the document.
+ */
+@property (readonly, copy) NSString *authorName API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      custodianName
+ @abstract      The organization responsible for the document.  This is usually the treating institution name.
+ @discussion    This property is extracted automatically from the document.
+ */
+@property (readonly, copy) NSString *custodianName API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+/*!
+ @constant  HKPredicateKeyPathCDATitle
+ */
+HK_EXTERN NSString * const HKPredicateKeyPathCDATitle API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant  HKPredicateKeyPathCDAPatientName
+ */
+HK_EXTERN NSString * const HKPredicateKeyPathCDAPatientName API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant  HKPredicateKeyPathCDAAuthorName
+ */
+HK_EXTERN NSString * const HKPredicateKeyPathCDAAuthorName API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant  HKPredicateKeyPathCDACustodianName
+ */
+HK_EXTERN NSString * const HKPredicateKeyPathCDACustodianName API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDetailedCDAValidationErrorKey
+ @discussion    This may be used with the validationError parameter of
+                CDADocumentSampleWithData:startDate:endDate:device:metadata:validationError: to obtain a detailed
+                description of the validation errors encountered when creating a CDA document.
+ */
+HK_EXTERN NSString * const HKDetailedCDAValidationErrorKey API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCategorySample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCategorySample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCategorySample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCategorySample.h	2026-04-18 09:54:44
@@ -0,0 +1,92 @@
+//
+//  HKCategorySample.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKObject.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKCategoryType;
+
+/*!
+ @class      HKCategorySample
+ @abstract   An HKObject subclass representing an category measurement
+ @discussion Category samples are samples that can be categorized into an enum of concrete values
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKCategorySample : HKSample
+
+@property (readonly, strong) HKCategoryType *categoryType;
+
+/*!
+ @property   value
+ @discussion The preferred enum for the value is determined by the receiver's category type.
+ */
+@property (readonly) NSInteger value;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @method     categorySampleWithType:value:startDate:endDate:metadata:
+ @abstract   Creates a new HKCategorySample.
+ 
+ @param      type       The type of the sample.
+ @param      value      The enumeration value for the sample. See HKCategoryTypeIdentifier for appropriate value.
+ @param      startDate  The start date of the sample.
+ @param      endDate    The end date of the sample.
+ @param      metadata   Metadata for the sample (optional).
+ */
++ (instancetype)categorySampleWithType:(HKCategoryType *)type
+                                 value:(NSInteger)value
+                             startDate:(NSDate *)startDate
+                               endDate:(NSDate *)endDate
+                              metadata:(nullable NSDictionary<NSString *, id> *)metadata;
+
+/*!
+ @method     categorySampleWithType:value:startDate:endDate:
+ @abstract   Creates a new HKCategorySample.
+ 
+ @param      type       The type of the sample.
+ @param      value      The enumeration value for the sample. See HKCategoryTypeIdentifier for appropriate value.
+ @param      startDate  The start date of the sample.
+ @param      endDate    The end date of the sample.
+ */
++ (instancetype)categorySampleWithType:(HKCategoryType *)type
+                                 value:(NSInteger)value
+                             startDate:(NSDate *)startDate
+                               endDate:(NSDate *)endDate;
+
+/*!
+ @method     categorySampleWithType:value:startDate:endDate:device:metadata:
+ @abstract   Creates a new HKCategorySample.
+ 
+ @param      type       The type of the sample.
+ @param      value      The enumeration value for the sample. See HKCategoryTypeIdentifier for appropriate value.
+ @param      startDate  The start date of the sample.
+ @param      endDate    The end date of the sample.
+ @param      device     The HKDevice that generated the sample (optional).
+ @param      metadata   Metadata for the sample (optional).
+ */
++ (instancetype)categorySampleWithType:(HKCategoryType *)type
+                                 value:(NSInteger)value
+                             startDate:(NSDate *)startDate
+                               endDate:(NSDate *)endDate
+                                device:(nullable HKDevice *)device
+                              metadata:(nullable NSDictionary<NSString *, id> *)metadata API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+/*!
+ @constant     HKPredicateKeyPathCategoryValue
+ */
+HK_EXTERN NSString * const HKPredicateKeyPathCategoryValue API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCategoryValues.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCategoryValues.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCategoryValues.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCategoryValues.h	2026-04-18 08:30:09
@@ -0,0 +1,268 @@
+//
+//  HKCategoryValues.h
+//  HealthKit
+//
+//  Copyright © 2022-2025 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <HealthKit/HKDefines.h>
+
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKCategoryValue
+ @abstract      This category value is to be used for types which don't have a specific value defined.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValue) {
+    HKCategoryValueNotApplicable = 0,
+} API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueAppetiteChanges
+ @abstract      Set of values to indicate the direction of appetite changes.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueAppetiteChanges) {
+    HKCategoryValueAppetiteChangesUnspecified = 0,
+    HKCategoryValueAppetiteChangesNoChange = 1,
+    HKCategoryValueAppetiteChangesDecreased = 2,
+    HKCategoryValueAppetiteChangesIncreased = 3,
+} API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueAppleStandHour
+ @abstract      Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierAppleStandHour
+                type.
+
+ @constant      HKCategoryValueAppleStandHourStood  The user stood up and moved a little for at least one minute during
+                                                    the sample.
+ @constant      HKCategoryValueAppleStandHourIdle   The user did not stand up and move a little for at least one
+                                                    continuous minute during the sample.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueAppleStandHour) {
+    HKCategoryValueAppleStandHourStood = 0,
+    HKCategoryValueAppleStandHourIdle = 1,
+} API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueAppleWalkingSteadinessEvent
+ @abstract      Set of values that may be used for HKCategorySamples with the
+                HKCategoryTypeIdentifierAppleWalkingSteadinessEvent type.
+
+ @constant      HKCategoryValueAppleWalkingSteadinessEventInitialLow        This constant defines Apple Walking
+                                                                            Steadiness events associated with the user's
+                                                                            walking steadiness being low.
+ @constant      HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow    This constant defines Apple Walking
+                                                                            Steadiness events associated with the user's
+                                                                            walking steadiness being very low.
+ @constant      HKCategoryValueAppleWalkingSteadinessEventRepeatLow         This constant defines Apple Walking
+                                                                            Steadiness events associated with the user's
+                                                                            walking steadiness remaining low over a
+                                                                            significant time period.
+ @constant      HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow     This constant defines Apple Walking
+                                                                            Steadiness events associated with the user's
+                                                                            walking steadiness remaining very low over a
+                                                                            significant time period.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueAppleWalkingSteadinessEvent) {
+    HKCategoryValueAppleWalkingSteadinessEventInitialLow = 1,
+    HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow = 2,
+    HKCategoryValueAppleWalkingSteadinessEventRepeatLow = 3,
+    HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow = 4,
+} API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueCervicalMucusQuality
+ @abstract      Set of values that may be used for HKCategorySamples with the
+                HKCategoryTypeIdentifierCervicalMucusQuality type.
+ @discussion    These cervical mucus quality values are ordered from least-fertile (Dry) to most-fertile (EggWhite).
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueCervicalMucusQuality) {
+    HKCategoryValueCervicalMucusQualityDry = 1,
+    HKCategoryValueCervicalMucusQualitySticky = 2,
+    HKCategoryValueCervicalMucusQualityCreamy = 3,
+    HKCategoryValueCervicalMucusQualityWatery = 4,
+    HKCategoryValueCervicalMucusQualityEggWhite = 5,
+} API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueContraceptive
+ @abstract      Set of values to indicate the type of contraceptive.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueContraceptive) {
+    HKCategoryValueContraceptiveUnspecified = 1,
+    HKCategoryValueContraceptiveImplant = 2,
+    HKCategoryValueContraceptiveInjection = 3,
+    HKCategoryValueContraceptiveIntrauterineDevice = 4,
+    HKCategoryValueContraceptiveIntravaginalRing = 5,
+    HKCategoryValueContraceptiveOral = 6,
+    HKCategoryValueContraceptivePatch = 7,
+} API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueEnvironmentalAudioExposureEvent
+ @abstract      Specifies the kind of environmental audio exposure event associated with the sample.
+
+ @constant      HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit    This constant defines environmental
+                                                                                events associated with the user being
+                                                                                exposed to a loud environment during a
+                                                                                short timespan.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueEnvironmentalAudioExposureEvent) {
+    HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit = 1,
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueHeadphoneAudioExposureEvent
+ @abstract      Specifies the kind of headphone audio exposure event associated with the sample.
+
+ @constant      HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit     This constant defines headphone events
+                                                                            associated with the user being exposed to
+                                                                            significant audio levels throught a
+                                                                            seven-day period.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueHeadphoneAudioExposureEvent) {
+    HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit = 1,
+} API_AVAILABLE(ios(14.2), watchos(7.1), macCatalyst(14.2), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueLowCardioFitnessEvent
+ @abstract      Specifies the type of cardio fitness event.
+
+ @constant      HKCategoryValueLowCardioFitnessEventLowFitness  This constant defines an event where a VO2Max
+                                                                measurement was recorded that falls into the "Low"
+                                                                fitness classification
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueLowCardioFitnessEvent) {
+    HKCategoryValueLowCardioFitnessEventLowFitness = 1,
+} API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueMenstrualFlow
+ @abstract      Set of values to indicate the type of menstrual flow.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueMenstrualFlow) {
+    HKCategoryValueMenstrualFlowUnspecified = 1,
+    HKCategoryValueMenstrualFlowLight = 2,
+    HKCategoryValueMenstrualFlowMedium = 3,
+    HKCategoryValueMenstrualFlowHeavy = 4,
+    HKCategoryValueMenstrualFlowNone API_DEPRECATED_WITH_REPLACEMENT("HKCategoryValueVaginalBleeding", ios(12.0, 18.0), watchos(5.0, 11.0), macCatalyst(13.0, 18.0), macos(13.0, 15.0), visionos(1.0, 2.0)) = 5,
+} API_DEPRECATED_WITH_REPLACEMENT("HKCategoryValueVaginalBleeding", ios(9.0, 18.0), watchos(2.0, 11.0), macCatalyst(13.0, 18.0), macos(13.0, 15.0), visionos(1.0, 2.0));
+
+/*!
+ @enum          HKCategoryValueOvulationTestResult
+ @abstract      Set of values that may be used for HKCategorySamples with the
+                HKCategoryTypeIdentifierOvulationTestResult type.
+ @discussion    This category value tracks the result of a home ovulation test that use surges in hormone levels to
+                indicate fertility.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueOvulationTestResult) {
+    HKCategoryValueOvulationTestResultNegative = 1,
+    HKCategoryValueOvulationTestResultLuteinizingHormoneSurge API_AVAILABLE(ios(13.0), watchos(6.0)) = 2,
+    HKCategoryValueOvulationTestResultPositive API_DEPRECATED_WITH_REPLACEMENT("HKCategoryValueOvulationTestResultLuteinizingHormoneSurge", ios(9.0, 13.0), watchos(2.0, 6.0)) = HKCategoryValueOvulationTestResultLuteinizingHormoneSurge,
+    HKCategoryValueOvulationTestResultIndeterminate = 3,
+    HKCategoryValueOvulationTestResultEstrogenSurge API_AVAILABLE(ios(13.0), watchos(6.0)) = 4,
+} API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValuePregnancyTestResult
+ @abstract      Set of values that may be used for HKCategorySamples with the
+                HKCategoryTypeIdentifierPregnancyTestResult type.
+ @discussion    This category value tracks the result of a home pregnancy test that checks for presence of the human
+                chorionic gonadotrophin (hCG) hormone in urine to confirm pregnancy.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValuePregnancyTestResult) {
+    HKCategoryValuePregnancyTestResultNegative = 1,
+    HKCategoryValuePregnancyTestResultPositive = 2,
+    HKCategoryValuePregnancyTestResultIndeterminate = 3,
+} API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValuePresence
+ @abstract      Set of values to indicate whether a data type is present or not.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValuePresence) {
+    HKCategoryValuePresencePresent = 0,
+    HKCategoryValuePresenceNotPresent = 1,
+} API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueProgesteroneTestResult
+ @abstract      Set of values that may be used for HKCategorySamples with the
+                HKCategoryTypeIdentifierProgesteroneTestResult type.
+ @discussion    This category value tracks the result of a home ovulation confirmation test that use surges in hormone
+                levels to confirm if ovulation has occurred.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueProgesteroneTestResult) {
+    HKCategoryValueProgesteroneTestResultNegative = 1,
+    HKCategoryValueProgesteroneTestResultPositive = 2,
+    HKCategoryValueProgesteroneTestResultIndeterminate = 3,
+} API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueSeverity
+ @abstract      Set of values to indicate the severity of a symptom.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueSeverity) {
+    HKCategoryValueSeverityUnspecified = 0,
+    HKCategoryValueSeverityNotPresent = 1,
+    HKCategoryValueSeverityMild = 2,
+    HKCategoryValueSeverityModerate = 3,
+    HKCategoryValueSeveritySevere = 4,
+} API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueSleepAnalysis
+ @abstract      Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierSleepAnalysis
+                type.
+ @discussion    To represent the user being both in bed and asleep, use two or more samples with overlapping times. By
+                comparing the start and end times of these samples, it is possible to calculate a number of secondary
+                statistics:
+                1) The amount of time it took for the user to fall asleep
+                2) The percentage of time in bed that the user actually spent sleeping,
+                3) The number of times the user woke while in bed
+                4) The total amount of time spent both in bed and asleep.
+
+ @constant      HKCategoryValueSleepAnalysisInBed               The user is in bed.
+ @constant      HKCategoryValueSleepAnalysisAsleepUnspecified   The user is asleep and no specific stage is specified.
+ @constant      HKCategoryValueSleepAnalysisAwake               The user is awake.
+ @constant      HKCategoryValueSleepAnalysisAsleepCore          Corresponds to Stages 1 and 2 of AASM scoring model.
+ @constant      HKCategoryValueSleepAnalysisAsleepDeep          Corresponds to Stage 3 of AASM scoring model.
+ @constant      HKCategoryValueSleepAnalysisAsleepREM           Corresponds to REM stage of AASM scoring model.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueSleepAnalysis) {
+    HKCategoryValueSleepAnalysisInBed = 0,
+    HKCategoryValueSleepAnalysisAsleepUnspecified API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) = 1,
+    HKCategoryValueSleepAnalysisAsleep API_DEPRECATED_WITH_REPLACEMENT("HKCategoryValueSleepAnalysisAsleepUnspecified", ios(8.0, 16.0), watchos(2.0, 9.0), macCatalyst(13.0, 16.0), macos(13.0, 13.0)) = HKCategoryValueSleepAnalysisAsleepUnspecified,
+    HKCategoryValueSleepAnalysisAwake API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0)) = 2,
+    HKCategoryValueSleepAnalysisAsleepCore API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) = 3,
+    HKCategoryValueSleepAnalysisAsleepDeep API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) = 4,
+    HKCategoryValueSleepAnalysisAsleepREM API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) = 5,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKCategoryValueVaginalBleeding
+ @abstract      Set of values to indicate the type of bleeding.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueVaginalBleeding) {
+    HKCategoryValueVaginalBleedingUnspecified = 1,
+    HKCategoryValueVaginalBleedingLight = 2,
+    HKCategoryValueVaginalBleedingMedium = 3,
+    HKCategoryValueVaginalBleedingHeavy = 4,
+    HKCategoryValueVaginalBleedingNone = 5,
+} API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+// MARK: Deprecated
+
+/*!
+@enum          HKCategoryValueAudioExposureEvent
+@abstract      Specifies the kind of audio exposure event associated with the sample.
+*/
+typedef NS_ENUM(NSInteger, HKCategoryValueAudioExposureEvent) {
+    HKCategoryValueAudioExposureEventLoudEnvironment API_DEPRECATED_WITH_REPLACEMENT("HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit", ios(13.0, 14.0), watchos(6.0, 7.0)) = 1,
+} API_DEPRECATED_WITH_REPLACEMENT("HKCategoryValueEnvironmentalAudioExposureEvent", ios(13.0, 14.0), watchos(6.0, 7.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCharacteristicObjects.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicObjects.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCharacteristicObjects.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicObjects.h	2026-04-18 09:54:44
@@ -0,0 +1,79 @@
+//
+//  HKCharacteristicObjects.h
+//  HealthKit
+//
+//  Copyright © 2016-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKCharacteristicValues.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class     HKBiologicalSexObject
+ @abstract  A wrapper object for HKBiologicalSex enumeration.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKBiologicalSexObject : NSObject <NSCopying, NSSecureCoding>
+
+@property (readonly) HKBiologicalSex biologicalSex;
+
+@end
+
+/*!
+ @class     HKBloodTypeObject
+ @abstract  A wrapper object for HKBloodType enumeration.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKBloodTypeObject : NSObject <NSCopying, NSSecureCoding>
+
+@property (readonly) HKBloodType bloodType;
+
+@end
+
+/*!
+ @class     HKFitzpatrickSkinTypeObject
+ @abstract  A wrapper object for HKFitzpatrickSkinType enumeration.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKFitzpatrickSkinTypeObject : NSObject <NSCopying, NSSecureCoding>
+
+@property (readonly) HKFitzpatrickSkinType skinType;
+
+@end
+
+/*!
+ @class     HKWheelchairUseObject
+ @abstract  A wrapper object for HKWheelchairUse enumeration.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0))
+@interface HKWheelchairUseObject : NSObject <NSCopying, NSSecureCoding>
+
+@property (readonly) HKWheelchairUse wheelchairUse;
+
+@end
+
+/*!
+ @class     HKActivityMoveModeObject
+ @abstract  A wrapper object for HKActivityMoveMode enumeration.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0))
+@interface HKActivityMoveModeObject : NSObject <NSCopying, NSSecureCoding>
+
+@property (readonly) HKActivityMoveMode activityMoveMode;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCharacteristicValues.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicValues.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCharacteristicValues.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicValues.h	2026-04-18 09:54:43
@@ -0,0 +1,87 @@
+//
+//  HKCharacteristicValues.h
+//  HealthKit
+//
+//  Copyright © 2022-2023 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKActivityMoveMode
+ @abstract      This enumerated type is used to represent the activity mode for the user's move ring.
+
+ @constant      HKActivityMoveModeActiveEnergy      User's move ring is updated from Active Energy Burned
+ @constant      HKActivityMoveModeAppleMoveTime     User's move ring is updated from Apple Move Time
+ */
+typedef NS_ENUM(NSInteger, HKActivityMoveMode) {
+    HKActivityMoveModeActiveEnergy = 1,
+    HKActivityMoveModeAppleMoveTime = 2,
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+ @enum          HKBiologicalSex
+ @abstract      This enumerated type is used to represent the biological sex of an individual.
+ */
+typedef NS_ENUM(NSInteger, HKBiologicalSex) {
+    HKBiologicalSexNotSet = 0,
+    HKBiologicalSexFemale = 1,
+    HKBiologicalSexMale = 2,
+    HKBiologicalSexOther API_AVAILABLE(ios(8.2), watchos(2.0), macCatalyst(13.0), macos(13.0)) = 3,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKBloodType
+ @abstract      This enumerated type is used to represent the blood type of an individual.
+ */
+typedef NS_ENUM(NSInteger, HKBloodType) {
+    HKBloodTypeNotSet = 0,
+    HKBloodTypeAPositive = 1,
+    HKBloodTypeANegative = 2,
+    HKBloodTypeBPositive = 3,
+    HKBloodTypeBNegative = 4,
+    HKBloodTypeABPositive = 5,
+    HKBloodTypeABNegative = 6,
+    HKBloodTypeOPositive = 7,
+    HKBloodTypeONegative = 8,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKFitzpatrickSkinType
+ @abstract      This enumerated type is used to represent the skin type of an individual based on the Fitzpatrick scale.
+ @discussion    The Fitzpatrick scale is a numerical classification for skin color based on the skin's response to sun
+                exposure in terms of the degree of burning and tanning.
+
+ @constant      HKFitzpatrickSkinTypeI      Pale white skin that always burns easily in the sun and never tans.
+ @constant      HKFitzpatrickSkinTypeII     White skin that burns easily and tans minimally.
+ @constant      HKFitzpatrickSkinTypeIII    White to light brown skin that burns moderately and tans uniformly.
+ @constant      HKFitzpatrickSkinTypeIV     Beige-olive, lightly tanned skin that burns minimally and tans moderately.
+ @constant      HKFitzpatrickSkinTypeV      Brown skin that rarely burns and tans profusely.
+ @constant      HKFitzpatrickSkinTypeVI     Dark brown to black skin that never burns and tans profusely.
+ */
+typedef NS_ENUM(NSInteger, HKFitzpatrickSkinType) {
+    HKFitzpatrickSkinTypeNotSet = 0,
+    HKFitzpatrickSkinTypeI = 1,
+    HKFitzpatrickSkinTypeII = 2,
+    HKFitzpatrickSkinTypeIII = 3,
+    HKFitzpatrickSkinTypeIV = 4,
+    HKFitzpatrickSkinTypeV = 5,
+    HKFitzpatrickSkinTypeVI = 6,
+} API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKWheelchairUse
+ @abstract      This enumerated type is used to represent whether the user uses a wheelchair.
+
+ @constant      HKWheelchairUseNo   The user does not use a wheelchair.
+ @constant      HKWheelchairUseYes  The user does use a wheelchair.
+ */
+typedef NS_ENUM(NSInteger, HKWheelchairUse) {
+    HKWheelchairUseNotSet = 0,
+    HKWheelchairUseNo = 1,
+    HKWheelchairUseYes = 2,
+} API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKClinicalCoding.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalCoding.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKClinicalCoding.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalCoding.h	2026-04-18 09:54:45
@@ -0,0 +1,55 @@
+//
+//  HKClinicalCoding.h
+//  HealthKit
+//
+//  Copyright © 2025 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A clinical coding that represents a medical concept using a standardized coding system.
+///
+/// A clinical coding pairs a ``system``, an optional ``version``,
+/// and a ``code`` which identify a medical concept.
+///
+/// This model is closely related to the [FHIR Coding model](https://build.fhir.org/datatypes.html#Coding).
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKClinicalCoding : NSObject <NSCopying, NSSecureCoding>
+
+/// The string that identifies the coding system that defines this clinical code.
+///
+/// The system is usually expressed as a URL from the [HL7 Terminology](https://terminology.hl7.org/).
+/// For example, the RxNorm, a coding system for medications uses:
+/// `http://www.nlm.nih.gov/research/umls/rxnorm`.
+@property (nonatomic, copy, readonly) NSString *system;
+
+/// The version of the coding system.
+@property (nonatomic, copy, readonly, nullable) NSString *version;
+
+/// The clinical code that represents a medical concept inside the coding system.
+///
+/// The format depends on the coding system. For example, RxNorm codes are numeric.
+@property (nonatomic, copy, readonly) NSString *code;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/// Creates a clinical coding with the specified system, version, and code.
+///
+/// @param system  The string that identifies the coding system, typically a HL7 URL.
+/// @param version The version of the system, if applicable.
+/// @param code    The clinical code string that represents the medical concept.
+///
+/// Use when you need to explicitly construct a coding object to associate
+/// a HealthKit concept with a standardized medical code.
+- (instancetype)initWithSystem:(NSString *)system
+                       version:(nullable NSString *)version
+                          code:(NSString *)code;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKClinicalRecord.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKClinicalRecord.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h	2026-04-18 09:54:45
@@ -0,0 +1,53 @@
+//
+//  HKClinicalRecord.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+@class HKClinicalType;
+@class HKFHIRResource;
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN NSString * const HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) __WATCHOS_PROHIBITED;
+HK_EXTERN NSString * const HKPredicateKeyPathClinicalRecordFHIRResourceType API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) __WATCHOS_PROHIBITED;
+
+/*!
+ @class		   HKClinicalRecord
+ @abstract     An HKObject subclass representing a health record.
+ @discussion   The startDate and endDate properties (inherited from HKSample) are set to the date the sample was
+               added to Health. Unlike other HKObject subclasses, UUID is not a stable identifier
+               for a given sample. Use a combination of HKSource, FHIRResource.resourceType, and
+               FHIRResource.identifier instead.
+*/
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) __WATCHOS_PROHIBITED
+@interface HKClinicalRecord : HKSample <NSSecureCoding, NSCopying>
+
+@property (readonly, copy) HKClinicalType *clinicalType;
+
+/*!
+ @property     displayName
+ @abstract     The primary display name used in Health.
+ @discussion   The display name is not localized, and is generally expected to be US English.
+ */
+@property (copy, readonly) NSString *displayName;
+
+/*!
+ @property     FHIRResource
+ @abstract     The FHIR resource (where applicable) backing this sample.
+ */
+@property (copy, readonly, nullable) HKFHIRResource *FHIRResource;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKClinicalType.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKClinicalType.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h	2026-04-18 09:54:43
@@ -0,0 +1,69 @@
+//
+//  HKClinicalType.h
+//  HealthKit
+//
+//  Copyright © 2018-2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKObjectType.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKClinicalType;
+
+typedef NSString *HKClinicalTypeIdentifier NS_TYPED_ENUM API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records of allergies or intolerances.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierAllergyRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records that represent clinical notes.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierClinicalNoteRecord API_AVAILABLE(ios(16.4), watchos(9.4), macCatalyst(16.4), macos(13.3));
+
+/// A type identifier for records of a condition, problem, or diagnosis.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierConditionRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records of vaccine administration.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierImmunizationRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records of lab results.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierLabResultRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records of medication prescription, intake, or administration.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierMedicationRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records of clinical procedures.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierProcedureRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records of vital signs.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierVitalSignRecord API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// A type identifier for records containing information about the user’s insurance coverage.
+HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierCoverageRecord API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+
+@interface HKObjectType (ClinicalType)
+
+/*!
+ @method        clinicalTypeForIdentifier
+ @abstract      Returns the clinical type given a valid clinical type identifier.
+ */
+#if defined(__swift__) && __swift__
++ (nullable HKClinicalType *)clinicalTypeForIdentifier:(HKClinicalTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKClinicalType(_:)", ios(12.0, API_TO_BE_DEPRECATED), watchos(5.0, API_TO_BE_DEPRECATED));
+#else
++ (nullable HKClinicalType *)clinicalTypeForIdentifier:(HKClinicalTypeIdentifier)identifier API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+#endif // defined(__swift__) && __swift__
+@end
+
+/*!
+ @class         HKClinicalType
+ @abstract      A type that identifies samples that contain clinical record data.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0))
+@interface HKClinicalType : HKSampleType
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKContactsLensSpecification.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsLensSpecification.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKContactsLensSpecification.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsLensSpecification.h	2026-04-18 09:54:43
@@ -0,0 +1,59 @@
+//
+//  HKContactsLensSpecification.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKLensSpecification.h>
+
+@class HKQuantity;
+@class HKVisionPrism;
+
+NS_ASSUME_NONNULL_BEGIN
+/*!
+ @class         HKContactsLensSpecification
+ @abstract      An object subclass representing lens specification for contacts
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKContactsLensSpecification : HKLensSpecification <NSSecureCoding, NSCopying>
+
+/*!
+ @property      baseCurve
+ @abstract      The curvature of the back surface of the lens (measured in mm)
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *baseCurve;
+
+/*!
+ @property      diameter
+ @abstract      The width of the lens from edge to edge (measured in mm)
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *diameter;
+
+/*!
+ @method        initWithSphere:cylinder:axis:addPower:baseCurve:diameter
+
+ @param         sphere     The lens power to correct nearsightedness or farsightedness
+ @param         cylinder   The lens power required to correct astigmatism
+ @param         axis       The angle along which cylindrical power should be positioned to correct astigmatism
+ @param         addPower   The power adjustment applied to a multifocal lens to correct presbyopia
+ @param         baseCurve  The curvature of the back surface of the lens
+ @param         diameter   The width of the lens from edge to edge
+ */
+- (instancetype)initWithSphere:(HKQuantity *)sphere
+                      cylinder:(nullable HKQuantity *)cylinder
+                          axis:(nullable HKQuantity *)axis
+                      addPower:(nullable HKQuantity *)addPower
+                     baseCurve:(nullable HKQuantity *)baseCurve
+                      diameter:(nullable HKQuantity *)diameter;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKContactsPrescription.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKContactsPrescription.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h	2026-04-18 09:54:45
@@ -0,0 +1,74 @@
+//
+//  HKContactsPrescription.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKVisionPrescription.h>
+
+@class HKContactsLensSpecification;
+@class HKDevice;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKContactsPrescription
+ @abstract      An object representing a contacts prescription
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKContactsPrescription: HKVisionPrescription <NSSecureCoding, NSCopying>
+
+/*!
+ @property      rightEye
+ @abstract      The right eye lens specification
+ */
+@property (nonatomic, copy, readonly, nullable) HKContactsLensSpecification *rightEye;
+
+/*!
+ @property      leftEye
+ @abstract      The left eye lens specification
+ */
+@property (nonatomic, copy, readonly, nullable) HKContactsLensSpecification *leftEye;
+
+/*!
+ @property      brand
+ @abstract      The prescribed brand after contact lens fitting
+ */
+@property (nonatomic, copy, readonly) NSString *brand;
+
+/*!
+ @method        prescriptionWithRightEyeSpecification:leftEyeSpecification:brand:dateIssued:expirationDate:device:metadata
+
+ @param         rightEyeSpecification  The right eye specification
+ @param         leftEyeSpecification   The left eye specification
+ @param         brand                  The prescribed brand after contact lens fitting
+ @param         dateIssued             The date the prescription was issued
+ @param         expirationDate         The date the prescription expires
+ @param         device                 The device that generated the sample
+ @param         metadata               The metadata for the sample
+ */
++ (instancetype)prescriptionWithRightEyeSpecification:(nullable HKContactsLensSpecification *)rightEyeSpecification
+                                 leftEyeSpecification:(nullable HKContactsLensSpecification *)leftEyeSpecification
+                                                brand:(NSString *)brand
+                                           dateIssued:(NSDate *)dateIssued
+                                       expirationDate:(nullable NSDate *)expirationDate
+                                               device:(nullable HKDevice *)device
+                                             metadata:(nullable NSDictionary<NSString *, id> *)metadata;
+
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
++ (instancetype)prescriptionWithType:(HKVisionPrescriptionType)type
+                          dateIssued:(NSDate *)dateIssued
+                      expirationDate:(nullable NSDate *)expirationDate
+                              device:(nullable HKDevice *)device
+                            metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCorrelation.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelation.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCorrelation.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelation.h	2026-04-18 09:54:44
@@ -0,0 +1,85 @@
+//
+//  HKCorrelation.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKObjectType;
+@class HKCorrelationType;
+
+/*!
+ @class         HKCorrelation
+ @abstract      An HKCorrelation is a collection of correlated objects.
+ @discussion    When multiple readings are taken together, it may be beneficial to correlate them so that they can be
+                displayed together and share common metadata about how they were created.
+ 
+                For example, systolic and diastolic blood pressure readings are typically presented together so these
+                readings should be saved with a correlation of type blood pressure.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKCorrelation : HKSample
+
+@property (readonly) HKCorrelationType *correlationType;
+
+/*!
+ @property  objects
+ @abstract  A set of HKSamples containing all of the objects that were saved with the receiver.
+ */
+@property (readonly, copy) NSSet<__kindof HKSample *> *objects;
+
+/*!
+ @method        correlationWithType:startDate:endDate:objects:
+ @abstract      Creates a new HKCorrelation with the given type, start date, end date, and objects.
+ @discussion    objects must be a set of HKQuantitySamples and HKCategorySamples
+ */
++ (instancetype)correlationWithType:(HKCorrelationType *)correlationType
+                          startDate:(NSDate *)startDate
+                            endDate:(NSDate *)endDate
+                            objects:(NSSet<HKSample *> *)objects;
+
+/*!
+ @method        correlationWithType:startDate:endDate:objects:metadata:
+ @abstract      Creates a new HKCorrelation with the given type, start date, end date, objects, and metadata.
+ @discussion    objects must be a set of HKQuantitySamples and HKCategorySamples
+ */
++ (instancetype)correlationWithType:(HKCorrelationType *)correlationType
+                          startDate:(NSDate *)startDate
+                            endDate:(NSDate *)endDate
+                            objects:(NSSet<HKSample *> *)objects
+                           metadata:(nullable NSDictionary<NSString *, id> *)metadata;
+
+/*!
+ @method        correlationWithType:startDate:endDate:objects:device:metadata:
+ @abstract      Creates a new HKCorrelation with the given type, start date, end date, objects, and metadata.
+ @param         correlationType The correlation type of the objects set.
+ @param         startDate       The start date of the correlation.
+ @param         endDate         The end date of the correlation.
+ @param         device          The HKDevice that generated the samples (optional).
+ @param         metadata        Metadata for the correlation (optional).
+ @discussion    objects must be a set of HKQuantitySamples and HKCategorySamples
+ */
++ (instancetype)correlationWithType:(HKCorrelationType *)correlationType
+                          startDate:(NSDate *)startDate
+                            endDate:(NSDate *)endDate
+                            objects:(NSSet<HKSample *> *)objects
+                             device:(nullable HKDevice *)device
+                           metadata:(nullable NSDictionary<NSString *, id> *)metadata API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method    objectsForType:
+ @abstract  Returns the set of correlated objects with the specified type.
+ */
+- (NSSet<__kindof HKSample *> *)objectsForType:(HKObjectType *)objectType;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCorrelationQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelationQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCorrelationQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelationQuery.h	2026-04-18 09:54:43
@@ -0,0 +1,57 @@
+//
+//  HKCorrelationQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKCorrelationType;
+@class HKCorrelation;
+
+/*!
+ @class         HKCorrelationQuery
+ @abstract      A query to find HKCorrelations
+ @discussion    Correlations are HKSamples that contain a set of correlated samples. HKCorrelationQuery
+                accepts a predicate to filter HKCorrelations and a dictionary of predicates to filter the
+                correlated samples.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKCorrelationQuery : HKQuery
+
+@property (readonly, copy) HKCorrelationType *correlationType;
+/*!
+ @property      samplePredicates
+ @abstract      A dictionary of predicates for the HKCorrelation's objects
+ @discussion    samplePredicates maps HKSampleTypes to NSPredicates. The predicate value will apply
+                to objects of the key type. 
+ 
+ */
+@property (readonly, copy, nullable) NSDictionary<__kindof HKSampleType *, NSPredicate *> *samplePredicates;
+
+/*!
+ @method    initWithTypes:predicate:samplePredicate:completion:
+ @abstract  The designated initializer for HKCorrelationQuery.
+
+ @param     correlationType     The type of correlation that is being queried for
+
+ @param     predicate           The predicate for scoping which HKCorrelations are returned
+
+ @param     samplePredicates    A dictionary mapping HKSampleTypes to NSPredicates. If no predicate for a particular type
+                                is provided, it is assumed to be a nil predicate and objects of that type will not be
+                                filtered.
+ */
+- (instancetype)initWithType:(HKCorrelationType *)correlationType
+                   predicate:(nullable NSPredicate *)predicate
+            samplePredicates:(nullable NSDictionary<HKSampleType *, NSPredicate *> *)samplePredicates
+                  completion:(void(^NS_SWIFT_SENDABLE)(HKCorrelationQuery *query, NSArray<HKCorrelation *> * _Nullable correlations, NSError * _Nullable error))completion;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCumulativeQuantitySample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCumulativeQuantitySample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCumulativeQuantitySample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCumulativeQuantitySample.h	2026-04-18 09:54:44
@@ -0,0 +1,36 @@
+//
+//  HKCumulativeQuantitySample.h
+//  HealthKit
+//
+//  Copyright © 2018 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuantitySample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @class         HKCumulativeQuantitySample
+ @abstract      An HKQuantitySample subclass representing a quantity measurement with cumulative aggregation style.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKCumulativeQuantitySample : HKQuantitySample
+
+/*!
+ @property      sumQuantity
+ @abstract      The sum of quantities represented by the receiver.
+ */
+@property (readonly, copy) HKQuantity *sumQuantity;
+
+@end
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathSum API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCumulativeQuantitySeriesSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCumulativeQuantitySeriesSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKCumulativeQuantitySeriesSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKCumulativeQuantitySeriesSample.h	2026-04-18 09:54:43
@@ -0,0 +1,23 @@
+//
+//  HKCumulativeQuantitySeriesSample.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKCumulativeQuantitySample.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_DEPRECATED_WITH_REPLACEMENT("HKCumulativeQuantitySample", ios(12.0, 13.0), watchos(5.0, 6.0))
+@interface HKCumulativeQuantitySeriesSample : HKCumulativeQuantitySample
+
+@property (readonly, copy) HKQuantity *sum;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDefines.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDefines.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h	2026-04-18 05:49:37
@@ -0,0 +1,112 @@
+//
+//  HKDefines.h
+//  HealthKit
+//
+//  Copyright © 2013-2025 Apple Inc. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <os/availability.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#if !defined(__cplusplus)
+#define HK_EXTERN extern __attribute__((visibility("default")))
+#else
+#define HK_EXTERN extern "C" __attribute__((visibility("default")))
+#endif
+
+HK_EXTERN NSString * const HKErrorDomain API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum      HKErrorCode
+
+ @constant  HKUnknownError                      Unknown error.
+ @constant  HKErrorHealthDataUnavailable        HealthKit is not available on this device.
+ @constant  HKErrorHealthDataRestricted         HealthKit is restricted on this device.
+ @constant  HKErrorInvalidArgument              An invalid argument was provided to the API.
+ @constant  HKErrorAuthorizationDenied          The application is not authorized to perform the requested operation.
+ @constant  HKErrorAuthorizationNotDetermined   The user has not yet chosen whether the application is authorized to
+                                                perform the requested operation.
+ @constant  HKErrorDatabaseInaccessible         Protected health data is inaccessible because the device is locked.
+ @constant  HKErrorUserCanceled                 The user canceled the operation.
+ @constant  HKErrorAnotherWorkoutSessionStarted Another primary workout session has started or is already ongoing by this or another application.
+ @constant  HKErrorUserExitedWorkoutSession     User exited the application while a workout session was running.
+ @constant  HKErrorRequiredAuthorizationDenied  The user has not granted the application authorization to access
+                                                required data types.
+ @constant  HKErrorNoData                       No data is available for the requested query and predicate, and so the
+                                                query's result could not be meaningfully computed.
+ @constant  HKErrorWorkoutActivityNotAllowed    A workout session is not allowed to be created for the activity type.
+ @constant  HKErrorDataSizeExceeded             The provided data's size exceeds the maximum allowed.
+ @constant  HKErrorBackgroundWorkoutSessionNotAllowed   A workout session is not allowed to start or prepare when this app is in the background.
+ @constant  HKErrorNotPermissibleForGuestUserMode   Protected Health data changes are not allowed in Guest User mode on visionOS.
+ */
+typedef NS_ENUM(NSInteger, HKErrorCode) {
+    HKUnknownError = 0,
+    HKNoError API_DEPRECATED_WITH_REPLACEMENT("HKUnknownError", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED)) = HKUnknownError,
+    HKErrorHealthDataUnavailable = 1,
+    HKErrorHealthDataRestricted,
+    HKErrorInvalidArgument,
+    HKErrorAuthorizationDenied,
+    HKErrorAuthorizationNotDetermined,
+    HKErrorDatabaseInaccessible,
+    HKErrorUserCanceled,
+    HKErrorAnotherWorkoutSessionStarted         API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0)),
+    HKErrorUserExitedWorkoutSession             API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0)),
+    HKErrorRequiredAuthorizationDenied          API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0)),
+    HKErrorNoData                               API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)),
+    HKErrorWorkoutActivityNotAllowed            API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0)),
+    HKErrorDataSizeExceeded                     API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0)),
+    HKErrorBackgroundWorkoutSessionNotAllowed   API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0)),
+    HKErrorNotPermissibleForGuestUserMode       API_AVAILABLE(ios(18.0), visionos(2.0)),
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum      HKUpdateFrequency
+ */
+typedef NS_ENUM(NSInteger, HKUpdateFrequency) {
+    HKUpdateFrequencyImmediate = 1,
+    HKUpdateFrequencyHourly,
+    HKUpdateFrequencyDaily,
+    HKUpdateFrequencyWeekly,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum      HKAuthorizationStatus
+ @abstract  This enumerated type is used to indicate the currently granted authorization status for a specific
+            HKObjectType.
+
+ @constant  HKAuthorizationStatusNotDetermined      The user has not yet made a choice regarding whether this
+                                                    application may save objects of the specified type.
+ @constant  HKAuthorizationStatusSharingDenied      This application is not allowed to save objects of the specified type.
+ @constant  HKAuthorizationStatusSharingAuthorized  This application is authorized to save objects of the specified type.
+ */
+typedef NS_ENUM(NSInteger, HKAuthorizationStatus) {
+    HKAuthorizationStatusNotDetermined = 0,
+    HKAuthorizationStatusSharingDenied,
+    HKAuthorizationStatusSharingAuthorized,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum      HKAuthorizationRequestStatus
+ @abstract  This enumerated type is used to indicate whether it is necessary to request authorization from the user.
+
+ @constant  HKAuthorizationRequestStatusUnknown         The authorization request status could not be determined because
+                                                        an error occurred.
+ @constant  HKAuthorizationRequestStatusShouldRequest   The application should request authorization from the user.
+ @constant  HKAuthorizationRequestStatusUnnecessary     Requesting authorization from the user is unnecessary.
+ */
+typedef NS_ENUM(NSInteger, HKAuthorizationRequestStatus) {
+    HKAuthorizationRequestStatusUnknown = 0,
+    HKAuthorizationRequestStatusShouldRequest,
+    HKAuthorizationRequestStatusUnnecessary,
+} API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/// Returns the set of `HKCategoryValueSleepAnalysis` values that are considered to be asleep.
+HK_EXTERN NSSet<NSNumber *> * HKCategoryValueSleepAnalysisAsleepValues(void) API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
+
+NS_ASSUME_NONNULL_END
+
+#import <HealthKit/HKCategoryValues.h>
+#import <HealthKit/HKCharacteristicValues.h>
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDeletedObject.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDeletedObject.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDeletedObject.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDeletedObject.h	2026-04-18 09:54:43
@@ -0,0 +1,40 @@
+//
+//  HKDeletedObject.h
+//  HealthKit
+//
+//  Copyright © 2015-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKDeletedObject
+ @abstract      A class representing an HKObject that was deleted from the HealtKit database.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKDeletedObject : NSObject <NSSecureCoding>
+
+/*!
+ @property      UUID
+ @abstract      The unique identifier of the HKObject that was deleted from the HealthKit database.
+ */
+@property (readonly, strong) NSUUID *UUID;
+
+/*!
+ @property      metadata
+ @abstract      Extra information describing properties of the receiver.
+ @discussion    Metadata retained from the deleted HKObject.
+                Available keys: HKMetadataKeySyncIdentifier, HKMetadataKeySyncVersion
+ */
+@property (readonly, copy, nullable) NSDictionary<NSString *, id> *metadata API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDevice.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDevice.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDevice.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDevice.h	2026-04-18 08:30:08
@@ -0,0 +1,164 @@
+//
+//  HKDevice.h
+//  HealthKit
+//
+//  Copyright © 2015-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @constant      HKDevicePropertyKeyName
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a device name.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyName API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeyManufacturer
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a device manufacturer.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyManufacturer API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeyModel
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a device model.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyModel API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeyHardwareVersion
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a hardware version.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyHardwareVersion API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeyFirmwareVersion
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a firmware version.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyFirmwareVersion API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeySoftwareVersion
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a software version.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeySoftwareVersion API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeyLocalIdentifier
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a local identifier.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyLocalIdentifier API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKDevicePropertyKeyUDIDeviceIdentifier
+ @abstract      Used with predicateForObjectsWithDeviceProperty to specify a UDI device identifier.
+ @discussion    The expected value type is an NSString.
+ */
+HK_EXTERN NSString * const HKDevicePropertyKeyUDIDeviceIdentifier API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKDevice : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property      name
+ @abstract      The name of the receiver.
+ @discussion    The user-facing name, such as the one displayed in the Bluetooth Settings for a BLE device.
+ */
+@property (readonly, nullable) NSString *name;
+
+/*!
+ @property      manufacturer
+ @abstract      The manufacturer of the receiver.
+ */
+@property (readonly, nullable) NSString *manufacturer;
+
+/*!
+ @property      model
+ @abstract      The model of the receiver.
+ */
+@property (readonly, nullable) NSString *model;
+
+/*!
+ @property      hardwareVersion
+ @abstract      The hardware revision of the receiver.
+ */
+@property (readonly, nullable) NSString *hardwareVersion;
+
+/*!
+ @property      firmwareVersion
+ @abstract      The firmware revision of the receiver.
+ */
+@property (readonly, nullable) NSString *firmwareVersion;
+
+/*!
+ @property      softwareVersion
+ @abstract      The software revision of the receiver.
+ */
+@property (readonly, nullable) NSString *softwareVersion;
+
+/*!
+ @property      localIdentifier
+ @abstract      A unique identifier for the receiver.
+ @discussion    This property is available to clients for a local identifier.
+                For example, Bluetooth peripherals managed by HealthKit use this
+                for the CoreBluetooth UUID which is valid only on the local
+                device and thus distinguish the same Bluetooth peripheral used
+                between multiple devices.
+ */
+@property (readonly, nullable) NSString *localIdentifier;
+
+/*!
+ @property      UDIDeviceIdentifier
+ @abstract      Represents the device identifier portion of a device's FDA UDI (Unique Device Identifier).
+ @discussion    The device identifier can be used to reference the FDA's GUDID (Globally Unique Device
+                Identifier Database). Note that for user privacy concerns this field should not be used to
+                persist the production identifier portion of the device UDI. HealthKit clients should manage
+                the production identifier independently, if needed.
+                See http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/ for more information.
+ */
+@property (readonly, nullable) NSString *UDIDeviceIdentifier;
+
+
+/*!
+ @method        initWithName:manufacturer:model:hardwareVersion:firmwareVersion:softwareVersion:localIdentifier:UDIDeviceIdentifier:
+ @abstract      Initialize a new HKDevice with the specified values.
+ @discussion    This allows initialization of an HKDevice object based on the
+                information provided.
+ */
+- (instancetype)initWithName:(nullable NSString *)name
+                manufacturer:(NSString * _Nullable)manufacturer
+                       model:(NSString * _Nullable)model
+             hardwareVersion:(NSString * _Nullable)hardwareVersion
+             firmwareVersion:(NSString * _Nullable)firmwareVersion
+             softwareVersion:(NSString * _Nullable)softwareVersion
+             localIdentifier:(NSString * _Nullable)localIdentifier
+         UDIDeviceIdentifier:(NSString * _Nullable)UDIDeviceIdentifier;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @method        localDevice
+ @abstract      Returns a device representing the host.
+ @discussion    If an app chooses to save samples that were retrieved from the local device, e.g. an HKWorkout with a 
+                totalDistance HKQuantity gathered from CoreLocation GPS distances, then this would be an appropriate 
+                HKDevice to use.
+ */
++ (HKDevice *)localDevice;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDiscreteQuantitySample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDiscreteQuantitySample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDiscreteQuantitySample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDiscreteQuantitySample.h	2026-04-18 09:54:44
@@ -0,0 +1,67 @@
+//
+//  HKDiscreteQuantitySample.h
+//  HealthKit
+//
+//  Copyright © 2019-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuantitySample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @class         HKDiscreteQuantitySample
+ @abstract      An HKQuantitySample subclass representing a quantity measurement with
+                discrete aggregation style.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKDiscreteQuantitySample : HKQuantitySample
+
+/*!
+ @property      minimumQuantity
+ @abstract      The minimum of the receiver's quantities
+ */
+@property (readonly, copy) HKQuantity *minimumQuantity;
+
+/*!
+ @property      averageQuantity
+ @abstract      The average of the receiver's quantities
+ */
+@property (readonly, copy) HKQuantity *averageQuantity;
+
+/*!
+ @property      maximumQuantity
+ @abstract      The maximum of the receiver's quantities
+ */
+@property (readonly, copy) HKQuantity *maximumQuantity;
+
+/*!
+ @property      mostRecentQuantity
+ @abstract      The receiver's quantity with most recent date interval
+ */
+@property (readonly, copy) HKQuantity *mostRecentQuantity;
+
+/*!
+ @property      mostRecentQuantityDateInterval
+ @abstract      The date interval for the receiver's most recent quantity
+ */
+@property (readonly, copy) NSDateInterval *mostRecentQuantityDateInterval;
+
+@end
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathMin API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathAverage API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathMax API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathMostRecent API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathMostRecentStartDate API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathMostRecentEndDate API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathMostRecentDuration API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDocumentQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDocumentQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDocumentQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDocumentQuery.h	2026-04-18 09:54:43
@@ -0,0 +1,83 @@
+//
+//  HKDocumentQuery.h
+//  HealthKit
+//
+//  Copyright © 2016-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKDocumentSample;
+@class HKDocumentType;
+
+/*!
+ @class         HKDocumentQuery
+ @abstract      A concrete subclass of HKQuery that provides an interface to retrieve documents from the Health store.
+ 
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0))
+@interface HKDocumentQuery : HKQuery
+
+/*!
+ @property      limit
+ @abstract      The maximum number of documents the receiver will return upon completion.
+ */
+@property (readonly) NSUInteger limit;
+
+/*!
+ @property      sortDescriptors
+ @abstract      An array of NSSortDescriptors.
+ */
+@property (readonly, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptors;
+
+/*!
+ @property      includeDocumentData
+ @abstract      The XML content for documents may be large.  This property can be used to control whether the query
+                returns the XML content for each record.
+ */
+@property (readonly) BOOL includeDocumentData;
+
+/*!
+ @method        initWithDocumentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler:
+ @abstract      Returns a query that will retrieve HKDocumentSamples matching the given predicate.
+ 
+ @param         documentType        The type of document to retreive.
+ @param         predicate           The predicate which documents should match.
+ @param         limit               The maximum number of documents to return.  Pass HKObjectQueryNoLimit for no limit.
+ @param         sortDescriptors     The sort descriptors to use to order the resulting documents.
+ @param         includeDocumentData If true, the document content will be returned with the HKDocumentSample instance.
+                                    This option can be used to limit the size of the content returned since the content
+                                    may be large.
+ @param         resultsHandler      The block that will receive query results.  Results will be returned incrementally
+                                    through several calls to this block.  When there are no more results, the done 
+                                    parameter will be YES and the results array will be empty.  If results is nil, then
+                                    an error has occurred and the error parameter will be set.  Delivery of results can
+                                    be stopped by calling HKHealthStore's stopQuery: method.
+
+ @discussion    Health documents may contain sensitive data that a user may want to control explicitly. HKDocumentSample
+                objects returned by HKSampleQuery and HKAnchoredObjectQuery do not include this data (i.e., the document
+                property is nil).  This query can be used to retrieve fully populated HKDocumentSample instances.  The 
+                query will prompt the user to authorize your app to read individual documents.  The query will then
+                return the documents that your app is authorized to read. The user will only be asked to authorize your
+                app to read documents that are new since the last time an HKDocumentQuery was executed.
+ */
+- (instancetype)initWithDocumentType:(HKDocumentType *)documentType
+                           predicate:(nullable NSPredicate *)predicate
+                               limit:(NSUInteger)limit
+                     sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors
+                 includeDocumentData:(BOOL)includeDocumentData
+                      resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKDocumentQuery *query,
+                                              NSArray<__kindof HKDocumentSample *> * _Nullable results,
+                                              BOOL done,
+                                              NSError * _Nullable error))resultsHandler;
+
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDocumentSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDocumentSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKDocumentSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKDocumentSample.h	2026-04-18 09:54:43
@@ -0,0 +1,29 @@
+//
+//  HKDocumentSample.h
+//  HealthKit
+//
+//  Copyright © 2016-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKDocumentType;
+
+/*!
+ @class         HKDocumentSample
+ @abstract      An abstract class representing a health document.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0))
+@interface HKDocumentSample : HKSample
+
+@property (readonly, strong) HKDocumentType *documentType;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKElectrocardiogram.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKElectrocardiogram.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKElectrocardiogram.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKElectrocardiogram.h	2026-04-18 05:35:44
@@ -0,0 +1,109 @@
+//
+//  HKElectrocardiogram.h
+//  HealthKit
+//
+//  Copyright © 2020-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+@class HKQuantity;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+@enum          HKElectrocardiogramLead
+@abstract      The medically-defined leads supported by HKElectrocardiogram
+@constant      HKElectrocardiogramLeadAppleWatchSimilarToLeadI.   Apple Watch Series 4 and above has an electrical heart sensor that, when using
+                                                                  the ECG app, enables the generation and analysis of an ECG  similar to a Lead I ECG.
+*/
+typedef NS_ENUM(NSInteger, HKElectrocardiogramLead) {
+    HKElectrocardiogramLeadAppleWatchSimilarToLeadI = 1
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)) NS_SWIFT_NAME(HKElectrocardiogram.Lead);
+
+/*!
+@enum          HKElectrocardiogramClassification
+@abstract      The possible classifications determined for HKElectrocardiograms
+
+@constant      HKElectrocardiogramClassificationNotSet                      No classification is set on this sample.
+@constant      HKElectrocardiogramClassificationSinusRhythm                 The sample exhibits no signs  of atrial fibrillation.
+@constant      HKElectrocardiogramClassificationAtrialFibrillation          The sample exhibits signs of atrial fibrillation.
+@constant      HKElectrocardiogramClassificationInconclusiveLowHeartRate    The sample classifier could not check for atrial fibrillation due to a heart rate under 50 BPM.
+@constant      HKElectrocardiogramClassificationInconclusiveHighHeartRate   The sample classifier could not check for atrial fibrillation due to a high heart rate.
+@constant      HKElectrocardiogramClassificationInconclusivePoorReading     The sample classifier did not attempt a classification due to not meeting the signal requirements.
+@constant      HKElectrocardiogramClassificationInconclusiveOther           The sample classifier could not determine a classification.
+@constant      HKElectrocardiogramClassificationUnrecognized                The classification created for this sample is unrecognized on this device.
+*/
+typedef NS_ENUM(NSInteger, HKElectrocardiogramClassification) {
+    HKElectrocardiogramClassificationNotSet = 0,
+    HKElectrocardiogramClassificationSinusRhythm,
+    HKElectrocardiogramClassificationAtrialFibrillation,
+    HKElectrocardiogramClassificationInconclusiveLowHeartRate,
+    HKElectrocardiogramClassificationInconclusiveHighHeartRate,
+    HKElectrocardiogramClassificationInconclusivePoorReading,
+    HKElectrocardiogramClassificationInconclusiveOther,
+    
+    HKElectrocardiogramClassificationUnrecognized = 100,
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)) NS_SWIFT_NAME(HKElectrocardiogram.Classification);
+
+/*!
+@enum          HKElectrocardiogramSymptomsStatus
+@abstract      An indication of whether the user experienced symptoms when taking an ECG
+@constant      HKElectrocardiogramSymptomsStatusNotSet        The user did not specify whether or not they experienced symptoms.
+               HKElectrocardiogramSymptomsStatusNone          The user did not experience any symptoms during the duration of the electrocardiogram reading.
+               HKElectrocardiogramSymptomsStatusPresent       The user indicated that they experienced symptoms during the duration of the electrocardiogram reading.
+@discussion    If an HKElectrocardiogram indicates that there are symptoms present, you must do a separate sample query to
+                                retrieve those symptoms.
+ */
+typedef NS_ENUM(NSInteger, HKElectrocardiogramSymptomsStatus) {
+    HKElectrocardiogramSymptomsStatusNotSet = 0,
+    HKElectrocardiogramSymptomsStatusNone = 1,
+    HKElectrocardiogramSymptomsStatusPresent = 2,
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)) NS_SWIFT_NAME(HKElectrocardiogram.SymptomsStatus);
+
+/*!
+ @class         HKElectrocardiogram
+ @abstract      An HKElectrocardiogram is a collection of voltage values as waveforms
+                from one or more leads
+*/
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0))
+@interface HKElectrocardiogram : HKSample
+
+/*!
+ The number of voltage measurements in the electrocardiogram.
+ */
+@property (nonatomic, readonly, assign) NSInteger numberOfVoltageMeasurements;
+
+/*!
+ The frequency at which the data was sampled. This is reported in [HKUnit hertzUnit].
+*/
+@property (nonatomic, readonly, copy, nullable) HKQuantity *samplingFrequency;
+
+/*!
+ The classification of this electrocardiogram sample.
+*/
+@property (nonatomic, readonly, assign) HKElectrocardiogramClassification classification;
+
+/*!
+ The average heart rate of the user while the electrocardiogram was recorded.
+*/
+@property (nonatomic, readonly, copy, nullable) HKQuantity *averageHeartRate;
+
+/*!
+ Whether the user experienced symptoms during this electrocardiogram.
+*/
+@property (nonatomic, readonly, assign) HKElectrocardiogramSymptomsStatus symptomsStatus;
+
+@end
+
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathAverageHeartRate API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathECGClassification API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathECGSymptomsStatus API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKElectrocardiogramQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKElectrocardiogramQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKElectrocardiogramQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKElectrocardiogramQuery.h	2026-04-18 09:54:45
@@ -0,0 +1,68 @@
+//
+//  HKElectrocardiogramQuery.h
+//  HealthKit
+//
+//  Copyright © 2020-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKElectrocardiogram.h>
+#import <HealthKit/HKQuery.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+@class         HKElectrocardiogramVoltageMeasurement
+@abstract      An HKElectrocardiogramVoltageMeasurement contains voltage quantities for all leads at a single instance of measurement.
+@discussion    Each HKElectrocardiogramVoltageMeasurement object corresponds to the voltage quantities across all leads for a given instance in time.
+*/
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)) NS_SWIFT_NAME(HKElectrocardiogram.VoltageMeasurement)
+@interface HKElectrocardiogramVoltageMeasurement : NSObject <NSCopying>
+
+/*!
+ The time interval between this voltage measurement and the start of the sample.
+*/
+@property (nonatomic, readonly, assign) NSTimeInterval timeSinceSampleStart;
+
+/*!
+@method        quantityForLead:
+@abstract      Returns an HKQuantity for the specified lead with a unit compatible with [HKUnit voltUnit].
+
+@param         lead      The HKElectrocardiogramLead for which voltage quantity will be returned.
+*/
+- (nullable HKQuantity *)quantityForLead:(HKElectrocardiogramLead)lead;
+
+@end
+
+/*!
+@class         HKElectrocardiogramQuery
+@abstract      An HKElectrocardiogramQuery is used to access voltage data associated with an HKElectrocardiogram.
+@discussion    Once instantiated, call HKHealthStore executeQuery to begin enumerating the HKElectrocardiogram voltage data.
+*/
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKElectrocardiogramQueryDescriptor", ios(14.0, API_TO_BE_DEPRECATED), watchos(7.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0))
+#endif
+@interface HKElectrocardiogramQuery : HKQuery
+
+/*!
+@method        initWithElectrocardiogram:dataHandler:
+@abstract      Returns a query that will enumerate over voltages recorded across leads in
+               an electrocardiogram.
+ 
+ @param         electrocardiogram    The sample for which the lead data will be returned.
+ @param         dataHandler          The block to invoke with results from the query. It will be called once for each voltage measurement. Call [query stop] to stop enumeration, if desired.
+
+*/
+- (instancetype)initWithElectrocardiogram:(HKElectrocardiogram *)electrocardiogram
+                             dataHandler:(void (^)(HKElectrocardiogramQuery *query, HKElectrocardiogramVoltageMeasurement * _Nullable voltageMeasurement, BOOL done, NSError * _Nullable error))dataHandler NS_SWIFT_NAME(init(electrocardiogram:dataHandler:)) NS_DESIGNATED_INITIALIZER NS_REFINED_FOR_SWIFT;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKFHIRRelease.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRRelease.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKFHIRRelease.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRRelease.h	2026-04-18 09:54:44
@@ -0,0 +1,35 @@
+//
+//  HKFHIRRelease.h
+//  HealthKit
+//
+//  Copyright © 2019-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @abstract      FHIR releases are official releases of the FHIR specification.
+ @discussion    FHIR releases are published on https://hl7.org/fhir. There is a one-to-many relationship between FHIR
+                releases and FHIR versions.
+ */
+typedef NSString * HKFHIRRelease NS_TYPED_ENUM;
+
+/*!
+ @abstract      The "DSTU2" release: http://hl7.org/fhir/DSTU2/
+ */
+HK_EXTERN HKFHIRRelease const HKFHIRReleaseDSTU2 NS_SWIFT_NAME(dstu2) API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+/*!
+ @abstract      The "R4" release: http://hl7.org/fhir/R4/
+ */
+HK_EXTERN HKFHIRRelease const HKFHIRReleaseR4 NS_SWIFT_NAME(r4) API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+/*!
+ @abstract      An unknown release
+ */
+HK_EXTERN HKFHIRRelease const HKFHIRReleaseUnknown API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKFHIRResource.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRResource.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKFHIRResource.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRResource.h	2026-04-18 09:54:44
@@ -0,0 +1,82 @@
+//
+//  HKFHIRResource.h
+//  HealthKit
+//
+//  Copyright © 2018-2024 Apple. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKFHIRVersion;
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef NSString * HKFHIRResourceType NS_TYPED_ENUM API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeAllergyIntolerance API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeCondition API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeCoverage API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeDiagnosticReport API_AVAILABLE(ios(16.4), macCatalyst(16.4), macos(13.3)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeDocumentReference API_AVAILABLE(ios(16.4), macCatalyst(16.4), macos(13.3)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeImmunization API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeMedicationDispense API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeMedicationOrder API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeMedicationRequest API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeMedicationStatement API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeObservation API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+HK_EXTERN HKFHIRResourceType const HKFHIRResourceTypeProcedure API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+
+/*!
+ @class         HKFHIRResource
+ @abstract      The HKFHIRResource class encapsulates a FHIR (Fast Healthcare Interoperability Resources) resource.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos)
+@interface HKFHIRResource : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property      FHIRVersion
+ @abstract      The FHIR version of the resource data.
+ */
+@property (readonly, copy) HKFHIRVersion *FHIRVersion API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+/*!
+ @property      resourceType
+ @abstract      The resource type, corresponding to the 'resourceType' field in the resource's JSON representation.
+ @discussion    May be one of 8 FHIR resource types supported within HealthKit: AllergyIntolerance, Condition,
+                Immunization, MedicationDispense, MedicationOrder, MedicationStatement, Observation, and Procedure.
+ */
+@property (readonly, copy) HKFHIRResourceType resourceType;
+
+/*!
+ @property      identifier
+ @abstract      The identifier of the resource, corresponding to the 'id' field in the resource's JSON representation.
+ @discussion    Unique within a given resource type and FHIR end-point, as represented by an HKSource.
+ */
+@property (readonly, copy) NSString *identifier;
+
+/*!
+ @property      data
+ @abstract      The JSON representation of the FHIR resource.
+ @discussion    Conforms to the HL7 Argonaut Project resource type definitions.
+ */
+@property (readonly, copy) NSData *data;
+
+/*!
+ @property      sourceURL
+ @abstract      The fully specified source URL of the FHIR resource.
+ @discussion    This URL can be used to help determine the provenance of the resource. Direct access is protected by
+                OAuth: querying without suitable authorization will result in an authorization error.
+ */
+@property (readonly, copy, nullable) NSURL *sourceURL;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKFHIRVersion.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRVersion.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKFHIRVersion.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRVersion.h	2026-04-18 09:54:45
@@ -0,0 +1,50 @@
+//
+//  HKFHIRVersion.h
+//  HealthKit
+//
+//  Copyright © 2019-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKFHIRRelease.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKFHIRVersion
+ @abstract      Represents a FHIR version.
+ @discussion    FHIR uses semantic versions ("1.0.2", "4.0.1") to communicate which FHIR version a server supports or a
+                given resource is represented in. A FHIR version is associated with one FHIR release.
+ @see           http://hl7.org/fhir/versions.html#versions
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(14.0), macCatalyst(14.0), macos(13.0)) API_UNAVAILABLE(watchos)
+@interface HKFHIRVersion : NSObject <NSCopying, NSSecureCoding>
+
+@property (nonatomic, assign, readonly) NSInteger majorVersion;
+
+@property (nonatomic, assign, readonly) NSInteger minorVersion;
+
+@property (nonatomic, assign, readonly) NSInteger patchVersion;
+
+@property (nonatomic, strong, readonly) HKFHIRRelease FHIRRelease;
+
+/*!
+ @property      stringRepresentation
+ @abstract      A string representation in the format "{major}.{minor}.{patch}".
+ */
+@property (nonatomic, copy, readonly) NSString *stringRepresentation;
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (nullable instancetype)versionFromVersionString:(NSString *)versionString error:(NSError **)errorOut;
+
++ (instancetype)primaryDSTU2Version;
+
++ (instancetype)primaryR4Version;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKGAD7Assessment.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKGAD7Assessment.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKGAD7Assessment.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKGAD7Assessment.h	2026-04-18 09:54:43
@@ -0,0 +1,73 @@
+//
+//  HKGAD7Assessment.h
+//  HealthKit
+//
+//  Copyright © 2023-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKScoredAssessment.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+/*!
+ @enum          HKGAD7AssessmentRisk
+ @abstract      Anxiety risk level determined by GAD-7 assessment.
+ */
+typedef NS_ENUM(NSInteger, HKGAD7AssessmentRisk) {
+    HKGAD7AssessmentRiskNoneToMinimal = 1,
+    HKGAD7AssessmentRiskMild,
+    HKGAD7AssessmentRiskModerate,
+    HKGAD7AssessmentRiskSevere,
+} NS_SWIFT_NAME(HKGAD7Assessment.Risk) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/*!
+ @enum          HKGAD7AssessmentAnswer
+ @abstract      Answer to question on GAD-7 assessment.
+ */
+typedef NS_ENUM(NSInteger, HKGAD7AssessmentAnswer) {
+    HKGAD7AssessmentAnswerNotAtAll = 0,
+    HKGAD7AssessmentAnswerSeveralDays,
+    HKGAD7AssessmentAnswerMoreThanHalfTheDays,
+    HKGAD7AssessmentAnswerNearlyEveryDay,
+} NS_SWIFT_NAME(HKGAD7Assessment.Answer) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/// Returns the lower bound of the score range for the given GAD-7 risk classification.
+HK_EXTERN NSInteger HKMinimumScoreForGAD7AssessmentRisk(HKGAD7AssessmentRisk risk) API_UNAVAILABLE(ios, watchos, macCatalyst, macos);
+
+/// Returns the upper bound of the score range for the given GAD-7 risk classification.
+HK_EXTERN NSInteger HKMaximumScoreForGAD7AssessmentRisk(HKGAD7AssessmentRisk risk) API_UNAVAILABLE(ios, watchos, macCatalyst, macos);
+
+/// Represents the result of a GAD-7 assessment. Learn more about Pfizer's GAD-7 at https://support.apple.com/en-us/105070
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))
+@interface HKGAD7Assessment : HKScoredAssessment
+
+/// Answers on the GAD-7 assessment. There are exactly 7 answers, one for each multiple choice question. Each answer is of type `HKGAD7AssessmentAnswer`.
+@property (nonatomic, copy, readonly) NSArray<NSNumber *> *answers NS_REFINED_FOR_SWIFT;
+
+/*!
+ @property   risk
+ @discussion The risk determined by the score on a GAD-7 assessment.
+ */
+@property (nonatomic, assign, readonly) HKGAD7AssessmentRisk risk;
+
+/// Creates a new GAD-7 sample. There must be exactly 7 elements in answers, each answer must be of type `HKGAD7AssessmentAnswer`.
++ (instancetype)assessmentWithDate:(NSDate *)date
+                           answers:(NSArray<NSNumber *> *)answers NS_REFINED_FOR_SWIFT;
+
+/// Creates a new GAD-7 sample. There must be exactly 7 elements in answers, each answer must be of type `HKGAD7AssessmentAnswer`.
++ (instancetype)assessmentWithDate:(NSDate *)date
+                           answers:(NSArray<NSNumber *> *)answers
+                          metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_REFINED_FOR_SWIFT;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKGlassesLensSpecification.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesLensSpecification.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKGlassesLensSpecification.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesLensSpecification.h	2026-04-18 09:54:43
@@ -0,0 +1,81 @@
+//
+//  HKGlassesLensSpecification.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKLensSpecification.h>
+
+@class HKQuantity;
+@class HKVisionPrism;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKGlassesLensSpecification
+ @abstract      An object subclass representing lens specification for glasses
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKGlassesLensSpecification : HKLensSpecification <NSSecureCoding, NSCopying>
+
+/*!
+ @property      vertexDistance
+ @abstract      The distance between the back of the eyeglass lens and the eye (measured in mm)
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *vertexDistance;
+
+/*!
+ @property      prism
+ @abstract      The object encapsulating the prism fields
+ */
+@property (nonatomic, copy, readonly, nullable) HKVisionPrism *prism;
+
+/*!
+ @property      farPupillaryDistance
+ @abstract      The distance from each pupil to the center of the nose (measured in mm) when looking at a far target.
+                Can be described as combined or individual value. For distance prescriptions, the pupillary distance will be a far value.
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *farPupillaryDistance;
+
+/*!
+ @property      nearPupillaryDistance
+ @abstract      The distance from each pupil to the center of the nose (measured in mm) when looking at a near target.
+                Can be described as combined or individual value. For near prescriptions, the pupillary distance will be a near value.
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *nearPupillaryDistance;
+
+
+/*!
+ @method        initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance
+
+ @param         sphere                  The lens power to correct nearsightedness or farsightedness
+ @param         cylinder                The lens power required to correct astigmatism
+ @param         axis                    The angle along which cylindrical power should be positioned to correct astigmatism
+ @param         addPower                The power adjustment applied to a multifocal lens to correct presbyopia
+ @param         vertexDistance          The distance between the back of the eyeglass lens and the eye
+ @param         prism                   The object encapsulating the prism fields
+ @param         farPupillaryDistance    The distance from each pupil to the center of the nose (measured in mm) when looking at a far target.
+                                        Can be described as combined or individual value. For distance prescriptions, the pupillary distance will be a far value.
+ @param         nearPupillaryDistance   The distance from each pupil to the center of the nose (measured in mm) when looking at a near target.
+                                        Can be described as combined or individual value. For near prescriptions, the pupillary distance will be a near value.
+ */
+- (instancetype)initWithSphere:(HKQuantity *)sphere
+                      cylinder:(nullable HKQuantity *)cylinder
+                          axis:(nullable HKQuantity *)axis
+                      addPower:(nullable HKQuantity *)addPower
+                vertexDistance:(nullable HKQuantity *)vertexDistance
+                         prism:(nullable HKVisionPrism *)prism
+          farPupillaryDistance:(nullable HKQuantity *)farPupillaryDistance
+         nearPupillaryDistance:(nullable HKQuantity *)nearPupillaryDistance;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKGlassesPrescription.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKGlassesPrescription.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h	2026-04-18 09:54:43
@@ -0,0 +1,66 @@
+//
+//  HKGlassesPrescription.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKVisionPrescription.h>
+
+@class HKDevice;
+@class HKQuantity;
+@class HKGlassesLensSpecification;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKGlassesPrescription
+ @abstract      An object subclass representing a glasses prescription
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKGlassesPrescription : HKVisionPrescription <NSSecureCoding, NSCopying>
+
+/*!
+ @property      rightEye
+ @abstract      The right eye lens specification
+ */
+@property (nonatomic, copy, readonly, nullable) HKGlassesLensSpecification *rightEye;
+
+/*!
+ @property      leftEye
+ @abstract      The left eye lens specification
+ */
+@property (nonatomic, copy, readonly, nullable) HKGlassesLensSpecification *leftEye;
+
+/*!
+ @method        prescriptionWithRightEyeSpecification:leftEyeSpecification:type:dateIssued:expirationDate:device:metadata
+
+ @param         rightEyeSpecification    The right eye specification
+ @param         leftEyeSpecification     The left eye specification
+ @param         dateIssued               The date the prescription was issued
+ @param         expirationDate           The date the prescription expires
+ @param         device                   The device that generated the sample
+ @param         metadata                 The metadata for the sample
+ */
++ (instancetype)prescriptionWithRightEyeSpecification:(nullable HKGlassesLensSpecification *)rightEyeSpecification
+                                 leftEyeSpecification:(nullable HKGlassesLensSpecification *)leftEyeSpecification
+                                           dateIssued:(NSDate *)dateIssued
+                                       expirationDate:(nullable NSDate *)expirationDate
+                                               device:(nullable HKDevice *)device
+                                             metadata:(nullable NSDictionary<NSString *, id> *)metadata;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
++ (instancetype)prescriptionWithType:(HKVisionPrescriptionType)type
+                          dateIssued:(NSDate *)dateIssued
+                      expirationDate:(nullable NSDate *)expirationDate
+                              device:(nullable HKDevice *)device
+                            metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHealthConceptIdentifier.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthConceptIdentifier.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHealthConceptIdentifier.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthConceptIdentifier.h	2026-04-18 09:54:45
@@ -0,0 +1,46 @@
+//
+//  HKHealthConceptIdentifier.h
+//  HealthKit
+//
+//  Copyright © 2025 Apple. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#pragma mark - Concepts
+
+/// A domain that represents a health concept.
+///
+/// A health concept describes what type of medical information a concept belongs to.
+/// For example, the medication domain groups all medication concepts together.
+typedef NSString * HKHealthConceptDomain NS_TYPED_ENUM API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+/// The domain that represents medication concepts.
+///
+/// Use with identifiers for medications, such as ibuprofen or insulin.
+HK_EXTERN HKHealthConceptDomain const HKHealthConceptDomainMedication API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+/// A unique identifier for a specific health concept within a domain.
+///
+/// Each identifier points to one concept inside a domain. For example, within the medication
+/// domain, one identifier might represent ibuprofen while another represents insulin.
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKHealthConceptIdentifier : NSObject <NSSecureCoding, NSCopying>
+
+/// The domain this identifier belongs to.
+///
+/// This value identifies the group of concepts the identifier comes from. For example,
+/// if the identifier represents a medication, the category will be the medication domain.
+@property (nonatomic, copy, readonly) HKHealthConceptDomain domain;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHealthStore.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHealthStore.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h	2026-04-18 08:30:09
@@ -0,0 +1,447 @@
+//
+//  HKHealthStore.h
+//  HealthKit
+//
+//  Copyright © 2013-2025 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKCharacteristicObjects.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKDevice;
+@class HKObject;
+@class HKObjectType;
+@class HKQuantity;
+@class HKQuantityType;
+@class HKQuery;
+@class HKSample;
+@class HKSampleType;
+@class HKSource;
+@class HKSourceRevision;
+@class HKUnit;
+@class HKWorkout;
+@class HKWorkoutActivity;
+@class HKWorkoutBuilder;
+@class HKWorkoutConfiguration;
+@class HKWorkoutSession;
+
+/*!
+ @class         HKHealthStore
+ @abstract      The HKHealthStore class provides an interface for accessing and storing the user's health data.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKHealthStore : NSObject
+
+/*!
+ @method        isHealthDataAvailable
+ @abstract      Returns YES if HealthKit is supported on the device.
+ @discussion    HealthKit is not supported on all iOS devices.  Using HKHealthStore APIs on devices which are not
+                supported will result in errors with the HKErrorHealthDataUnavailable code.  Call isHealthDataAvailable
+                before attempting to use other parts of the framework.
+ */
++ (BOOL)isHealthDataAvailable;
+
+/*!
+ @method        supportsHealthRecords
+ @abstract      Returns YES if the Health Records feature is available.
+ @discussion    The Health Records feature is not available in all regions but may be present in unsupported regions
+                if accounts have already been configured. This can change as accounts are modified during device
+                restore or synchronization.
+                Call supportsHealthRecords before attempting to request authorization for any clinical types.
+ */
+- (BOOL)supportsHealthRecords API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+/*!
+ @method        authorizationStatusForType:
+ @abstract      Returns the application's authorization status for the given object type.
+ */
+- (HKAuthorizationStatus)authorizationStatusForType:(HKObjectType *)type;
+
+/*!
+ @method        requestAuthorizationToShareTypes:readTypes:completion:
+ @abstract      Prompts the user to authorize the application for reading and saving objects of the given types.
+ @discussion    Before attempting to execute queries or save objects, the application should first request authorization
+                from the user to read and share every type of object for which the application may require access.
+ 
+                The request is performed asynchronously and its completion will be executed on an arbitrary background
+                queue after the user has responded.  If the user has already chosen whether to grant the application
+                access to all of the types provided, then the completion will be called without prompting the user.
+                The success parameter of the completion indicates whether prompting the user, if necessary, completed
+                successfully and was not cancelled by the user.  It does NOT indicate whether the application was
+                granted authorization.
+ 
+                To customize the messages displayed on the authorization sheet, set the following keys in your app's
+                Info.plist file. Set the NSHealthShareUsageDescription key to customize the message for reading data.
+                Set the NSHealthUpdateUsageDescription key to customize the message for writing data.
+ */
+- (void)requestAuthorizationToShareTypes:(nullable NSSet<HKSampleType *> *)typesToShare
+                               readTypes:(nullable NSSet<HKObjectType *> *)typesToRead
+                              completion:(void (^ NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_REFINED_FOR_SWIFT_ASYNC(3) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method        requestPerObjectReadAuthorizationForType:predicate:completion:
+ @abstract      For types that support per object authorization (like vision prescriptions), prompts the user to select
+                the objects for which they want to grant your app access.
+ @discussion    Before attempting to execute queries, the application should first request authorization from the user
+                to read objects for which the application may require access.
+ 
+                The request is performed asynchronously, and its completion will be executed on an arbitrary background
+                queue after the user has responded. The user will always be prompted to provide access to objects
+                regardless of whether access had been previously provided. The user can choose to toggle each object's
+                access with each prompt. The success parameter of the completion indicates whether prompting the user
+                completed successfully and was not cancelled. It does NOT indicate whether the application was granted
+                authorization.
+  */
+- (void)requestPerObjectReadAuthorizationForType:(HKObjectType *)objectType
+                                       predicate:(nullable NSPredicate *)predicate
+                                      completion:(void (^ NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(16.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @method        getRequestStatusForAuthorizationToShareTypes:readTypes:completion:
+ @abstract      Determines whether requesting authorization for the given types is necessary.
+ @discussion    Applications may call this method to determine whether the user would be prompted for authorization if
+                the same collections of types are passed to requestAuthorizationToShareTypes:readTypes:completion:.
+                This determination is performed asynchronously and its completion will be executed on an arbitrary
+                background queue.
+ */
+- (void)getRequestStatusForAuthorizationToShareTypes:(NSSet<HKSampleType *> *)typesToShare
+                                           readTypes:(NSSet<HKObjectType *> *)typesToRead
+                                          completion:(void (^ NS_SWIFT_SENDABLE)(HKAuthorizationRequestStatus requestStatus, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(statusForAuthorizationRequest(toShare:read:)) API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        handleAuthorizationForExtensionWithCompletion:
+ @abstract      Prompts the user to authorize the application for reading and saving objects.
+ @discussion    When an app extension calls requestAuthorizationToShareTypes:readTypes:completion:, the parent application
+                is responsible for calling this method to prompt the user to authorize the app and its extensions for the
+                types that the extension requested access to.
+ 
+                The request is performed asynchronously and its completion will be executed on an arbitrary background
+                queue after the user has responded.  The success parameter of the completion indicates whether prompting
+                the user, if necessary, completed successfully and was not cancelled by the user.  It does NOT indicate
+                whether the application was granted authorization.
+ */
+- (void)handleAuthorizationForExtensionWithCompletion:(void (^ NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(9.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos) NS_EXTENSION_UNAVAILABLE("Not available to extensions");
+
+/*!
+ @method        earliestPermittedSampleDate
+ @abstract      Samples prior to the earliestPermittedSampleDate cannot be saved or queried.
+ @discussion    On some platforms, only samples with end dates newer than the value returned by earliestPermittedSampleDate
+                may be saved or retrieved.
+ */
+- (NSDate *)earliestPermittedSampleDate API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        saveObject:withCompletion:
+ @abstract      Saves an HKObject.
+ @discussion    After an object is saved, on subsequent retrievals the sourceRevision property of the object will be set
+                to the HKSourceRevision representing the version of the application that saved it.
+ 
+                If the object has an HKObjectType property, then in order to save an object successfully the application
+                must first request authorization to share objects with that type.  Saving an object with the same unique
+                identifier as another object that has already been saved will fail.  When the application attempts to
+                save multiple objects, if any single object cannot be saved then none of the objects will be saved.
+                The operation will fail if the objects array contains samples with endDates that are older than the date
+                returned by earliestPermittedSampleDate.
+ 
+                This operation is performed asynchronously and the completion will be executed on an arbitrary
+                background queue.
+ */
+- (void)saveObject:(HKObject *)object withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method        saveObjects:withCompletion:
+ @abstract      Saves an array of HKObjects.
+ @discussion    See discussion of saveObject:withCompletion:.
+ */
+- (void)saveObjects:(NSArray<HKObject *> *)objects withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method        deleteObject:withCompletion:
+ @abstract      Deletes a single HKObject from the HealthKit database.
+ @discussion    See deleteObjects:withCompletion:.
+ */
+- (void)deleteObject:(HKObject *)object withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method        deleteObjects:withCompletion:
+ @abstract      Deletes multiple HKObjects from the HealthKit database.
+ @discussion    An application may only delete objects that it previously saved.  This operation is performed
+                asynchronously and the completion will be executed on an arbitrary background queue.
+ */
+- (void)deleteObjects:(NSArray<HKObject *> *)objects withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        deleteObjectsOfType:predicate:withCompletion:
+ @abstract      Deletes all objects matching the given predicate from the HealthKit database.
+ @discussion    An application may only delete objects that it previously saved.  This operation is performed
+                asynchronously and the completion will be executed on an arbitrary background queue.
+ */
+- (void)deleteObjectsOfType:(HKObjectType *)objectType predicate:(NSPredicate *)predicate withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSUInteger deletedObjectCount, NSError * _Nullable error))completion  NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        executeQuery:
+ @abstract      Begins executing the given query.
+ @discussion    After executing a query, the completion, update, and/or results handlers of that query will be invoked
+                asynchronously on an arbitrary background queue as results become available.  Errors that prevent a
+                query from executing will be delivered to one of the query's handlers.  Which handler the error will be
+                delivered to is defined by the HKQuery subclass.  
+ 
+                Each HKQuery instance may only be executed once and calling this method with a currently executing query
+                or one that was previously executed will result in an exception.
+                
+                If a query would retrieve objects with an HKObjectType property, then the application must request
+                authorization to access objects of that type before executing the query.
+ */
+- (void)executeQuery:(HKQuery *)query;
+
+/*!
+ @method        stopQuery:
+ @abstract      Stops a query that is executing from continuing to run.
+ @discussion    Calling this method will prevent the handlers of the query from being invoked in the future.  If the
+                query is already stopped, this method does nothing.
+ */
+- (void)stopQuery:(HKQuery *)query;
+
+/*!
+ @method        splitTotalEnergy:startDate:endDate:resultsHandler:
+ @abstract      For the time period specified, this method calculates the resting and active energy parts of the total
+                energy provided.
+ @discussion    This method uses the user's metrics like age, biological sex, body mass and height to determine
+                their basal metabolic rate. If the application does not have authorization to access these characteristics
+                or if the user has not entered their data then this method uses builtin default values.
+ */
+- (void)splitTotalEnergy:(HKQuantity *)totalEnergy
+               startDate:(NSDate *)startDate
+                 endDate:(NSDate *)endDate
+          resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKQuantity * _Nullable restingEnergy, HKQuantity * _Nullable activeEnergy, NSError * _Nullable error))resultsHandler API_DEPRECATED("No longer supported", ios(9.0, 11.0), watchos(2.0, 4.0));
+
+- (nullable NSDate *)dateOfBirthWithError:(NSError **)error API_DEPRECATED_WITH_REPLACEMENT("dateOfBirthComponentsWithError:", ios(8.0, 10.0), watchos(2.0, 3.0));
+
+/*!
+ @method        dateOfBirthComponentsWithError:
+ @abstract      Returns the user's date of birth in the Gregorian calendar.
+ @discussion    Before calling this method, the application should request authorization to access objects with the
+                HKCharacteristicType identified by HKCharacteristicTypeIdentifierDateOfBirth.
+ */
+- (nullable NSDateComponents *)dateOfBirthComponentsWithError:(NSError **)error API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        biologicalSexWithError:
+ @abstract      Returns an object encapsulating the user's biological sex.
+ @discussion    Before calling this method, the application should request authorization to access objects with the
+                HKCharacteristicType identified by HKCharacteristicTypeIdentifierBiologicalSex.
+ */
+- (nullable HKBiologicalSexObject *)biologicalSexWithError:(NSError **)error;
+
+/*!
+ @method        bloodTypeWithError:
+ @abstract      Returns an object encapsulating the user's blood type.
+ @discussion    Before calling this method, the application should request authorization to access objects with the
+                HKCharacteristicType identified by HKCharacteristicTypeIdentifierBloodType.
+ */
+- (nullable HKBloodTypeObject *)bloodTypeWithError:(NSError **)error;
+
+/*!
+ @method        fitzpatrickSkinTypeWithError:
+ @abstract      Returns an object encapsulating the user's Fitzpatrick skin type.
+ @discussion    Before calling this method, the application should request authorization to access objects with the
+                HKCharacteristicType identified by HKCharacteristicTypeIdentifierFitzpatrickSkinType.
+ */
+- (nullable HKFitzpatrickSkinTypeObject *)fitzpatrickSkinTypeWithError:(NSError **)error API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        wheelchairUseWithError:
+ @abstract      Returns an object encapsulating the user's wheelchair use.
+ @discussion    Before calling this method, the application should request authorization to access objects with the
+                HKCharacteristicType identified by HKCharacteristicTypeIdentifierWheelchairUse.
+ */
+- (nullable HKWheelchairUseObject *)wheelchairUseWithError:(NSError **)error API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        activityMoveModeWithError:
+ @abstract      Returns an object encapsulating the user's activity move mode
+ @discussion    Before calling this method, the application should request authorization to access objects with the
+                HKCharacteristicType identified by HKCharacteristicTypeIdentifierActivityMoveMode.
+ */
+- (nullable HKActivityMoveModeObject *)activityMoveModeWithError:(NSError **)error API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+@end
+
+@interface HKHealthStore (HKWorkout)
+
+/*!
+ @property      workoutSessionMirroringStartHandler
+ @abstract      Called when a session has started mirroring.
+ @discussion    This property should always be assigned a value promptly after your app is launched,
+                to ensure it is always observing for incoming mirrored workout sessions.
+                If your app is not active when a mirrored session starts, it will be launched in the background and given a one-time
+                permission to start a Live Activity from the background.
+                The assigned block will be executed on an arbitrary background queue.
+ */
+@property (copy, nullable) void (^NS_SWIFT_SENDABLE workoutSessionMirroringStartHandler)(HKWorkoutSession *mirroredSession) API_AVAILABLE(ios(17.0));
+
+/*!
+ @method        addSamples:toWorkout:completion:
+ @abstract      Associates samples with a given workout.
+ @discussion    This will associate the given samples with the given workout. These samples will then be returned by a
+                query that contains this workout as a predicate. If a sample is added that is not saved yet, then it will
+                be saved for you. Note that the sample will be saved without an HKDevice.
+ 
+                The workout provided must be one that has already been saved to HealthKit.
+ */
+- (void)addSamples:(NSArray<HKSample *> *)samples toWorkout:(HKWorkout *)workout completion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addSamples(_:to:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_DEPRECATED("Use HKWorkoutBuilder", ios(8.0, 17.0), watchos(2.0, 10.0), macCatalyst(13.0, 16.0), macos(13.0, 14.0));
+
+/*!
+ @method        startWorkoutSession:
+ @abstract      Starts the given workout session.
+ @discussion    This method will asynchronously begin a workout session. The methods on the session's delegate will be 
+                called when the session has successfully started or fails to start.
+ */
+- (void)startWorkoutSession:(HKWorkoutSession *)workoutSession API_DEPRECATED("Use HKWorkoutSession's start method", watchos(2.0, 5.0)) API_UNAVAILABLE(ios, macCatalyst, macos);
+
+/*!
+ @method        endWorkoutSession:
+ @abstract      Ends the given workout session.
+ @discussion    This method will end the given session if it is currently running. The state of the workout session will
+                transition to HKWorkoutSessionStateEnded. Once a workout session is ended, it cannot be reused to start
+                a new workout session.
+ */
+- (void)endWorkoutSession:(HKWorkoutSession *)workoutSession API_DEPRECATED("Use HKWorkoutSession's end method", watchos(2.0, 5.0)) API_UNAVAILABLE(ios, macCatalyst, macos);
+
+/*!
+ @method        pauseWorkoutSession:
+ @abstract      Pauses the given workout session.
+ @discussion    This method will pause the given session if it is currently running. The state of the workout session
+                will transition to HKWorkoutSessionStatePaused. An HKWorkoutEventTypePause will be generated and
+                delivered to the workout session's delegate.
+ */
+- (void)pauseWorkoutSession:(HKWorkoutSession *)workoutSession API_DEPRECATED("Use HKWorkoutSession's pause method", watchos(3.0, 5.0)) API_UNAVAILABLE(ios);
+
+/*!
+ @method        resumeWorkoutSession:
+ @abstract      Resumes the given workout session.
+ @discussion    This method will resume the given session if it is currently paused. The state of the workout session
+                will transition to HKWorkoutSessionStateRunning. An HKWorkoutEventTypeResume will be generated and
+                delivered to the workout session's delegate.
+ */
+- (void)resumeWorkoutSession:(HKWorkoutSession *)workoutSession API_DEPRECATED("Use HKWorkoutSession's resume method", watchos(3.0, 5.0)) API_UNAVAILABLE(ios);
+
+/*!
+ @method        startWatchAppWithWorkoutConfiguration:completion:
+ @abstract      Launches or wakes up the WatchKit app on the watch
+ @discussion    This method will launch the WatchKit app corresponding to the calling iOS application on the currently
+                active Apple Watch. After launching, the handleWorkoutConfiguration: method on the WKExtensionDelegate
+                protocol will be called with the HKWorkoutConfiguration as a parameter. The receiving Watch app can use
+                this configuration object to create an HKWorkoutSession and start it with -startWorkoutSession:.
+ */
+- (void)startWatchAppWithWorkoutConfiguration:(HKWorkoutConfiguration *)workoutConfiguration completion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) NS_SWIFT_ASYNC_NAME(startWatchApp(toHandle:)) API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+/*!
+ @method        recoverActiveWorkoutSessionWithCompletion:
+ @abstract      Recovers an active workout session after a client crash. If no session is available to be re-attached,
+                nil will be returned. If an error occurs, session will be nil and error will be set appropriately.
+ */
+- (void)recoverActiveWorkoutSessionWithCompletion:(void (^NS_SWIFT_SENDABLE)(HKWorkoutSession * _Nullable_result session, NSError * _Nullable error))completion API_AVAILABLE(ios(26.0), watchos(5.0)) API_UNAVAILABLE(macCatalyst, macos, visionos);
+
+@end
+
+
+@interface HKHealthStore (HKBackgroundDelivery)
+
+/*!
+ @method        enableBackgroundDeliveryForType:frequency:withCompletion:
+ @abstract      This method enables activation of your app when data of the type is recorded at the cadence specified.
+ @discussion    When an app has subscribed to a certain data type it will get activated at the cadence that is specified
+                with the frequency parameter. The app is still responsible for creating an HKObserverQuery to know which
+                data types have been updated and the corresponding fetch queries. Note that certain data types (such as
+                HKQuantityTypeIdentifierStepCount) have a minimum frequency of HKUpdateFrequencyHourly. This is enforced
+                transparently to the caller.
+ */
+- (void)enableBackgroundDeliveryForType:(HKObjectType *)type frequency:(HKUpdateFrequency)frequency withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(watchos(8.0), macCatalyst(13.0), macos(13.0));
+
+- (void)disableBackgroundDeliveryForType:(HKObjectType *)type withCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(watchos(8.0), macCatalyst(13.0), macos(13.0));
+
+- (void)disableAllBackgroundDeliveryWithCompletion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(watchos(8.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+/*!
+ @constant      HKUserPreferencesDidChangeNotification
+ @abstract      A notification posted every time the user updates their preferred units.
+ @discussion    Each HKHealthStore posts a HKUserPreferencesDidChangeNotification notification when the preferred unit
+                for a HKQuantityType is changed by the user. To guarantee your listener will only receive a single
+                notification when this occurs, it is necessary to provide an HKHealthStore instance for the object
+                parameter of NSNotificationCenter's addObserver methods.
+ */
+HK_EXTERN NSString * const HKUserPreferencesDidChangeNotification API_AVAILABLE(ios(8.2), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+@interface HKHealthStore (HKUserPreferences)
+
+/*!
+ @method        preferredUnitsForQuantityTypes:completion:
+ @abstract      Calls the completion with the preferred HKUnits for a given set of HKQuantityTypes.
+ @discussion    A preferred unit is either the unit that the user has chosen in Health for displaying samples of the
+                given quantity type or the default unit for that type in the current locale of the device. To access the
+                user's preferences it is necessary to request read or share authorization for the set of HKQuantityTypes
+                provided. If neither read nor share authorization has been granted to the app, then the default unit for
+                the locale is provided.
+ 
+                An error will be returned when preferred units are inaccessible because protected health data is
+                unavailable or authorization status is not determined for one or more of the provided types.
+ 
+                The returned dictionary will map HKQuantityType to HKUnit.
+ */
+- (void)preferredUnitsForQuantityTypes:(NSSet<HKQuantityType *> *)quantityTypes completion:(void (^ NS_SWIFT_SENDABLE)(NSDictionary<HKQuantityType *, HKUnit *> *preferredUnits, NSError * _Nullable error))completion API_AVAILABLE(ios(8.2), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+@interface HKHealthStore (HKRecalibrateEstimates)
+
+/*!
+@method     recalibrateEstimatesForSampleType:atDate:completion:
+@abstract   Recalibrates the prediction algorithm used for this sample type.
+@discussion Check -[HKSampleType allowsRecalibrationForEstimates] to see if a given sample type is supported. Calling this method results in first-party
+ estimation algorithms to recalibrate what data is used when generating values for HKSamples of this sampleType.
+ */
+- (void)recalibrateEstimatesForSampleType:(HKSampleType *)sampleType
+                                   atDate:(NSDate *)date
+                               completion:(void(^ NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) NS_SWIFT_NAME(recalibrateEstimates(sampleType:date:completion:));
+
+@end
+
+@interface HKHealthStore (HKWorkoutRelationship)
+
+/*!
+ @method        relateWorkoutEffortSample:withWorkout:activity:completion
+ @abstract      Relates a workout effort sample with a workout
+ 
+ @param         sample     The workout effort sample
+ @param         workout    The HKWorkout to relate the sample to
+ @param         activity   The HKWorkoutActivity on the HKWorkout
+ @param         completion The block to be called when the sample has been related
+ */
+- (void)relateWorkoutEffortSample:(HKSample *)sample
+                      withWorkout:(HKWorkout *)workout
+                         activity:(nullable HKWorkoutActivity *)activity
+                       completion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+/*!
+ @method        unrelateWorkoutEffortSample:fromWorkout:activity:completion
+ @abstract      Unrelates a workout effort sample from a workout
+ 
+ @param         sample     The workout effort sample
+ @param         workout    The HKWorkout to unrelate the sample from
+ @param         activity   The HKWorkoutActivity on the HKWorkout
+ @param         completion The block to be called when the sample has been unrelated
+ */
+- (void)unrelateWorkoutEffortSample:(HKSample *)sample
+                        fromWorkout:(HKWorkout *)workout
+                           activity:(nullable HKWorkoutActivity *)activity
+                         completion:(void (^NS_SWIFT_SENDABLE)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h	2026-04-18 04:54:21
@@ -0,0 +1,104 @@
+//
+//  HKHeartbeatSeriesBuilder.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSeriesBuilder.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKHealthStore;
+@class HKDevice;
+@class HKHeartbeatSeriesSample;
+
+/*!
+ @class              HKHeartbeatSeriesBuilder
+ @abstract           An HKHeartbeatSeriesBuilder is used to generate an HKHeartbeatSeriesSample.
+ @discussion         This class is intended for generating an HKHeartbeatSeriesSample which represents a series of
+                     heartbeats. If the discard method is called, collected data will be deleted.
+                     Calling finishSeriesWithcompletion: will stop and complete the series. If the builder is deleted,
+                     or the client goes away before calling the finish method, data will be lost.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKHeartbeatSeriesBuilder : HKSeriesBuilder
+
+/*!
+ @property           maximumCount
+ @abstract           The maximum number of heartbeats that can be added to an HKHeartbeatSeriesBuilder.
+ @discussion         Any calls to addHeartbeatWithTimeIntervalSinceSeriesStartDate:precededByGap:completion: once
+                     maximumCount has been reached will fail and an error will be returned in the completion handler.
+ */
+@property (class, readonly) NSUInteger maximumCount;
+
+/*!
+ @method             initWithHealthStore:device:startDate:
+ @abstract           The designated initializer to create an HKHeartbeatSeriesBuilder.
+ @discussion         The HKHealthStore is retained during the life of the object for the saving of the series data and final
+                     return of the series sample.
+ 
+ @param              healthStore  Specifies the HKHealthStore object to use for building the series.
+ @param              device       The optional device represents the HKDevice from which the data is provided.
+ @param              startDate    The start date of the HKHeartbeatSeriesSample that will be generated.
+ */
+- (instancetype)initWithHealthStore:(HKHealthStore *)healthStore
+                             device:(nullable HKDevice *)device
+                          startDate:(NSDate *)startDate NS_DESIGNATED_INITIALIZER;
+
+/*!
+ @method             addHeartbeatWithTimeIntervalSinceSeriesStartDate:precededByGap:completion:
+ @abstract           Associate a heartbeat with the receiver.
+ @discussion         Use this method to asynchronously add a heartbeat to the series.
+ 
+ @param     timeIntervalSinceStart  The elapsed time between the series startDate and the heartbeat occurence. Must be
+                                    a positive value.
+ @param              precededByGap  Whether or not this heartbeat was preceded by a gap in data collection.
+ @param              completion     The completion callback handler returns the status of the save. If the completion
+                                    handler success is NO, then error is non-nil. An error here is considered fatal and
+                                    the series builder will be complete.
+ */
+- (void)addHeartbeatWithTimeIntervalSinceSeriesStartDate:(NSTimeInterval)timeIntervalSinceStart
+                                           precededByGap:(BOOL)precededByGap
+                                              completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addHeartbeat(at:precededByGap:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method             addMetadata:completion:
+ @discussion         Adds new metadata to the builder instance. This method can be called more than once; each time
+                     the newly provided metadata will be incorporated in the same manner as
+                     -[NSMutableDictionary addEntriesFromDictionary:].
+                     This operation is performed asynchronously and the completion will be executed on an arbitrary
+                     background queue.
+ 
+ @param              metadata    The metadata to add to the builder.
+ @param              completion  Block to be called when the addition of metadata to the builder is complete.
+                                 If success is YES, the metadata has been added to the builder successfully. If success
+                                 is NO, error will be non-null and will contain the error encountered during the
+                                 insertion operation. When an error occurs, the builder's metadata will remain unchanged.
+ */
+- (void)addMetadata:(NSDictionary<NSString *, id> *)metadata
+         completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
+
+/*!
+ @method             finishSeriesWithCompletion:
+ @abstract           Method to stop data collection and return the associated HKHeartbeatSeriesSample.
+ @discussion         Call this method when you have added all heartbeats to this builder. The completion handler will
+                     return the saved HKHeartbeatSeriesSample. If no heartbeat was added, then heartbeatSeries will be
+                     nil and an error returned. The receiver will be considered invalid afterwards and any further calls
+                     to it will result in an error.
+
+ @param              completion  The completion callback handler returns the saved HKHeartbeatSeriesSample object. If
+                                 heartbeatSeries is nil, an error will indicate why the series could not be returned
+                                 including database inaccessibility during device lock. Subsequent requests for the
+                                 HKHeartbeatSeriesSample can be made through HKSampleQuery or similar queries. To
+                                 retrieve the data stored with an HKHeartbeatSeriesSample use HKHeartbeatSeriesQuery.
+ */
+- (void)finishSeriesWithCompletion:(void (^)(HKHeartbeatSeriesSample * _Nullable heartbeatSeries, NSError * _Nullable error))completion;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHeartbeatSeriesQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHeartbeatSeriesQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesQuery.h	2026-04-18 09:54:45
@@ -0,0 +1,47 @@
+//
+//  HKHeartbeatSeriesQuery.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKHeartbeatSeriesSample;
+
+/*!
+ @class         HKHeartbeatSeriesQuery
+ @abstract      An HKHeartbeatSeriesQuery is used to access data associated with an HKHeartbeatSeriesSample.
+ @discussion    Once instantiated, call HKHealthStore executeQuery to begin enumerating the heartbeat series data.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKHeartbeatSeriesQueryDescriptor", ios(13.0, API_TO_BE_DEPRECATED), watchos(6.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKHeartbeatSeriesQuery : HKQuery
+
+/*!
+ @method        initWithHeartbeatSeries:dataHandler:
+ @abstract      Returns a query that will retrieve heartbeat timestamps for the specified HKHeartbeatSeriesSample.
+ 
+ @param         heartbeatSeries    The HKHeartbeatSeriesSample for which the heartbeat data will be returned.
+ @param         dataHandler        The block to invoke with results from the query. It is called repeatedly for each
+                                   heartbeat in the series. timeSinceSeriesStart is the time elapsed in seconds after the
+                                   series startDate that represents when the heartbeat occured. precededByGap indicates if
+                                   there was a gap in data collection before the current heartbeat, meaning that one or more
+                                   heartbeats may have occured since the previous heartbeat in the series. Once done is YES,
+                                   or stopQuery called, the query is complete and no more calls to the handler will be made.
+ */
+- (instancetype)initWithHeartbeatSeries:(HKHeartbeatSeriesSample *)heartbeatSeries
+                            dataHandler:(void(^NS_SWIFT_SENDABLE)(HKHeartbeatSeriesQuery *query, NSTimeInterval timeSinceSeriesStart, BOOL precededByGap, BOOL done, NSError * _Nullable error))dataHandler NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHeartbeatSeriesSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKHeartbeatSeriesSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesSample.h	2026-04-18 09:54:43
@@ -0,0 +1,26 @@
+//
+//  HKHeartbeatSeriesSample.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSeriesSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKHeartbeatSeriesSample
+ @abstract      An HKHeartbeatSeriesSample represents a series of heartbeats.
+ @discussion    To retrieve the underlying series data for an HKHeartbeatSeriesSample, use HKHeartbeatSeriesQuery
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKHeartbeatSeriesSample : HKSeriesSample
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKLensSpecification.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKLensSpecification.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKLensSpecification.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKLensSpecification.h	2026-04-18 09:54:45
@@ -0,0 +1,53 @@
+//
+//  HKLensSpecification.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKQuantity;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKLensSpecification
+ @abstract      An object subclass representing common lens specification
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKLensSpecification : NSObject
+
+/*!
+ @property      sphere
+ @abstract      The lens power to correct nearsightedness or farsightedness. (-) means nearsighted while (+) farsighted.
+ */
+@property (nonatomic, copy, readonly) HKQuantity *sphere;
+
+/*!
+ @property      cylinder
+ @abstract      The lens power required to correct astigmatism. Can be positive or negative.
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *cylinder;
+
+/*!
+ @property      axis
+ @abstract      The angle along which cylindrical power should be positioned to correct astigmatism
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *axis;
+
+/*!
+ @property      addPower
+ @abstract      The power adjustment applied to a multifocal lens to correct presbyopia
+ */
+@property (nonatomic, copy, readonly, nullable) HKQuantity *addPower;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKLiveWorkoutBuilder.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutBuilder.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKLiveWorkoutBuilder.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutBuilder.h	2026-04-18 09:17:53
@@ -0,0 +1,118 @@
+//
+//  HKLiveWorkoutBuilder.h
+//  HealthKit
+//
+//  Copyright © 2018-2025 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKLiveWorkoutDataSource.h>
+#import <HealthKit/HKObjectType.h>
+#import <HealthKit/HKWorkoutBuilder.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKLiveWorkoutBuilder;
+@class HKWorkoutSession;
+
+HK_EXTERN
+API_AVAILABLE(ios(26.0), watchos(5.0)) API_UNAVAILABLE(visionos)
+@protocol HKLiveWorkoutBuilderDelegate <NSObject>
+
+/*!
+ @method        workoutBuilder:didCollectDataOfTypes:
+ @abstract      Called every time new samples are added to the workout builder.
+ @discussion    With new samples added, statistics for the collectedTypes may have changed and should be read again
+ 
+ @param         workoutBuilder    The workout builder to which samples were added.
+ @param         collectedTypes    The sample types that were added.
+ */
+- (void)workoutBuilder:(HKLiveWorkoutBuilder *)workoutBuilder didCollectDataOfTypes:(NSSet<HKSampleType *> *)collectedTypes;
+
+/*!
+ @method        workoutBuilderDidCollectEvent:
+ @abstract      Called every time a new event is added to the workout builder.
+ 
+ @param         workoutBuilder    The workout builder to which an event was added.
+ */
+- (void)workoutBuilderDidCollectEvent:(HKLiveWorkoutBuilder *)workoutBuilder;
+
+@optional
+
+/*!
+ @method        workoutBuilder:didBeginActivity:
+ @abstract      Called every time new activity is started and added to the workout builder.
+ 
+ @param         workoutBuilder      The workout builder to which the activity was added to.
+ @param         workoutActivity     The activity that was added.
+ */
+- (void)workoutBuilder:(HKLiveWorkoutBuilder *)workoutBuilder didBeginActivity:(HKWorkoutActivity *)workoutActivity API_AVAILABLE(ios(26.0), watchos(9.0)) API_UNAVAILABLE(visionos);
+
+/*!
+ @method        workoutBuilder:didEndActivity:
+ @abstract      Called every time the end date is set on an activity in the workout builder.
+ 
+ @param         workoutBuilder      The workout builder to which the activity belongs to
+ @param         workoutActivity     The activity that was ended.
+ */
+- (void)workoutBuilder:(HKLiveWorkoutBuilder *)workoutBuilder didEndActivity:(HKWorkoutActivity *)workoutActivity API_AVAILABLE(ios(26.0), watchos(9.0)) API_UNAVAILABLE(visionos);
+
+@end
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(5.0)) API_UNAVAILABLE(visionos)
+@interface HKLiveWorkoutBuilder : HKWorkoutBuilder
+
+- (instancetype)initWithHealthStore:(HKHealthStore *)healthStore
+                      configuration:(HKWorkoutConfiguration *)configuration
+                             device:(nullable HKDevice *)device NS_UNAVAILABLE;
+
+/*!
+ @property      delegate
+ @abstract      The delegate object which will be notified of changes to collected data and elapsed workout time.
+ */
+@property (weak) id<HKLiveWorkoutBuilderDelegate> delegate;
+
+/*!
+ @property      workoutSession
+ @abstract      The workout session with which this builder is associated.
+ */
+@property (weak, readonly) HKWorkoutSession *workoutSession;
+
+/*!
+ @property      shouldCollectWorkoutEvents
+ @abstract      Whether or not the builder should automatically incorporate events generated by the session.
+ @discussion    YES if the builder should automatically incorporate events from the associated session. If NO, the client
+                is expected to add relevant events directly to the builder and those generated by the session will be
+                ignored. Defaults to YES. The result of changing this value after a call to
+                beginCollectionWithStartDate:completion: is undefined.
+ */
+@property (assign) BOOL shouldCollectWorkoutEvents;
+
+/*!
+ @property      dataSource
+ @abstract      The data source that will provide data to this workout builder.
+ */
+@property (strong, nullable) HKLiveWorkoutDataSource *dataSource;
+
+/*!
+ @property      elapsedTime
+ @abstract      The elapsed duration of the workout as constructed thus far, considering paused time. When the builder
+                is reading events from an active session, it is possible for this value to increase or decrease;
+                when this occurs, the workoutBuilderDidCollectEvent: delegate method will be called.
+ */
+@property (assign, readonly) NSTimeInterval elapsedTime;
+
+/*!
+ @property      currentWorkoutActivity
+ @abstract      The latest activity that has been added to this builder.
+ @discussion    When an activity is in progress it will be returned by this property. The end date of this activity will always
+                be nil. When the activity is ended, the property would be set to nil until a new activity begins.
+ */
+@property (copy, readonly, nullable) HKWorkoutActivity *currentWorkoutActivity API_AVAILABLE(ios(26.0), watchos(9.0)) API_UNAVAILABLE(visionos);
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKLiveWorkoutDataSource.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKLiveWorkoutDataSource.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h	2026-04-18 09:54:43
@@ -0,0 +1,67 @@
+//
+//  HKLiveWorkoutDataSource.h
+//  HealthKit
+//
+//  Copyright © 2017-2025  Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKWorkoutBuilder.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKWorkoutConfiguration;
+@class HKQuantityType;
+
+/*!
+ @class         HKLiveWorkoutDataSource
+ @discussion    An HKLiveWorkoutDataSource is to be used with an HKWorkoutBuilder to automatically collect samples
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(5.0)) API_UNAVAILABLE(visionos)
+@interface HKLiveWorkoutDataSource : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @property      typesToCollect
+ @abstract      The quantity types the receiver is collecting.
+ */
+@property (copy, readonly) NSSet<HKQuantityType *> *typesToCollect API_AVAILABLE(ios(26.0), watchos(5.0));
+
+/*!
+ @method        initWithHealthStore:workoutConfiguration:
+ @abstract      The designated initializer of HKLiveWorkoutDataSource.
+ 
+ @param         healthStore     The HKHealthStore. This should match the one used to create the corresponding
+                                HKWorkoutBuilder.
+ @param         configuration   An optional workout configuration. typesToCollect will be populated with default
+                                types for the workout configuration
+ */
+- (instancetype)initWithHealthStore:(HKHealthStore *)healthStore
+               workoutConfiguration:(nullable HKWorkoutConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
+
+/*!
+ @method        enableCollectionForType:predicate
+ @abstract      Adds a new type of quantity sample to collect.
+ @discussion    Calling this method for a type that is already being collected will override the predicate for that type.
+ 
+ @param         quantityType    The type of sample to collect.
+ @param         predicate       If non-nil, collected samples must match this predicate.
+ */
+- (void)enableCollectionForType:(HKQuantityType *)quantityType
+                      predicate:(nullable NSPredicate *)predicate;
+
+/*!
+ @method        disableCollectionForType:
+ @abstract      Removes the specified quantity type from the types to collect.
+ 
+ @param         quantityType    The type of sample to no longer collect.
+ */
+- (void)disableCollectionForType:(HKQuantityType *)quantityType;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMedicationConcept.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMedicationConcept.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMedicationConcept.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMedicationConcept.h	2026-04-18 09:17:51
@@ -0,0 +1,95 @@
+//
+//  HKMedicationConcept.h
+//  HealthKit
+//
+//  Copyright © 2025 Apple. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKClinicalCoding;
+@class HKHealthConceptIdentifier;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// The manufactured form of a medication.
+typedef NSString * NS_TYPED_ENUM HKMedicationGeneralForm;
+/// The medication comes in capsule form, such as a hard-shell capsule or softgel.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormCapsule;
+/// The medication is applied as a cream.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormCream;
+/// The medication is administered through a device, such as an infusion pump for controlled fluid delivery.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormDevice;
+/// The medication is taken as drops, for example eye drops or ear drops.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormDrops;
+/// The medication is applied as a foam.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormFoam;
+/// The medication is applied as a gel.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormGel;
+/// The medication is delivered through an inhaler.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormInhaler;
+/// The medication is given as an injection.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormInjection;
+/// The medication is taken as a liquid, such as a syrup.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormLiquid;
+/// The medication is applied as a lotion.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormLotion;
+/// The medication is applied as an ointment.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormOintment;
+/// The medication is applied as a patch worn on the skin.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormPatch;
+/// The medication is taken as a powder.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormPowder;
+/// The medication is delivered as a spray, for example a nasal spray or throat spray.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormSpray;
+/// The medication is delivered as a suppository.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormSuppository;
+/// The medication comes in tablet form, such as a pill or caplet.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormTablet;
+/// The medication is applied topically in a form that wasn't specified.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormTopical;
+/// The system doesn't know the general form of the medication.
+HK_EXTERN HKMedicationGeneralForm const HKMedicationGeneralFormUnknown;
+
+/// An object that describes a specific medication concept.
+///
+/// A medication concept represents the idea of a medication, like ibuprofen or insulin.
+/// It can have clinical significance, or can be created by the person using your app.
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKMedicationConcept : NSObject <NSSecureCoding, NSCopying>
+
+/// The unique identifier for the specific medication concept.
+///
+/// Each concept has one stable identifier that stays the same across devices.
+/// You can use this identifier to directly compare medications, for example,
+/// to check whether two objects represent the same medication.
+@property (nonatomic, copy, readonly) HKHealthConceptIdentifier *identifier;
+
+
+/// The display name for this medication.
+///
+/// The name of the medication a person enters or selects during medication onboarding.
+@property (nonatomic, copy, readonly) NSString *displayText;
+
+/// The general form the medication is manufactured in.
+///
+/// A general manufactured dose form for the specific medication.
+/// This value tells you the manufactured form of the medication,
+/// such as tablet, capsule, cream, injection, or inhaler.
+@property (nonatomic, copy, readonly) HKMedicationGeneralForm generalForm;
+
+/// The set of related clinical codings for the medication.
+///
+/// Each coding links the medication to an external medical terminology system,
+/// such as RxNorm.
+@property (nonatomic, copy, readonly) NSSet<HKClinicalCoding *> *relatedCodings;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMedicationDoseEvent.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMedicationDoseEvent.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMedicationDoseEvent.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMedicationDoseEvent.h	2026-04-18 09:17:52
@@ -0,0 +1,113 @@
+//
+//  HKMedicationDoseEvent.h
+//  HealthKit
+//
+//  Copyright © 2025 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+@class HKHealthConceptIdentifier;
+@class HKUnit;
+@class HKMedicationDoseEventType;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// The statuses the system assigns to a logged medication dose event.
+typedef NS_ENUM(NSInteger, HKMedicationDoseEventLogStatus) {
+    /// The person doesn't interact with a scheduled medication reminder.
+    ///
+    /// The system generates this to represent an untouched reminder slot.
+    HKMedicationDoseEventLogStatusNotInteracted = 1,
+    /// The system assigns this status when it fails to deliver a scheduled medication notification.
+    ///
+    /// The system can generate this status because of a person's notification
+    /// restrictions or issues with notification delivery.
+    HKMedicationDoseEventLogStatusNotificationNotSent,
+    /// The person snoozes a scheduled medication notification.
+    HKMedicationDoseEventLogStatusSnoozed,
+    /// The person logs that they took the medication dose.
+    HKMedicationDoseEventLogStatusTaken,
+    /// The person logs that they skipped the medication dose.
+    HKMedicationDoseEventLogStatusSkipped,
+    /// The person undoes a previously logged medication status.
+    ///
+    /// The system clears the prior status.
+    HKMedicationDoseEventLogStatusNotLogged,
+} API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(HKMedicationDoseEvent.LogStatus);
+
+/// The kind of schedule the system associates with a logged medication dose event.
+///
+/// Each value tells you whether the person logged the dose ad-hoc or
+/// in response to a scheduled medication reminder.
+typedef NS_ENUM(NSInteger, HKMedicationDoseEventScheduleType) {
+    /// The person logged this dose event ad-hoc, outside of any scheduled reminder.
+    HKMedicationDoseEventScheduleTypeAsNeeded = 1,
+    /// The person logged this dose event in response to a scheduled medication reminder.
+    HKMedicationDoseEventScheduleTypeSchedule
+} API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(HKMedicationDoseEvent.ScheduleType);
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKMedicationDoseEvent : HKSample <NSSecureCoding, NSCopying>
+
+/// The data type that identified the samples that store medication dose event data.
+///
+/// You use this type when creating queries or filtering results by sample type.
+@property (readonly, copy) HKMedicationDoseEventType *medicationDoseEventType;
+
+/// The scheduling context for this logged dose event.
+///
+/// The system sets this to ``HKMedicationDoseEvent/ScheduleType/asNeeded`` when the person
+/// logs a dose without a schedule and ``HKMedicationDoseEvent/ScheduleType/schedule`` when a person logs a dose
+/// from a scheduled medication reminder.
+@property (nonatomic, assign, readonly) HKMedicationDoseEventScheduleType scheduleType;
+
+/// The identifier of the medication concept the system associates with this dose event.
+///
+/// The system uses this identifier to link the dose event back to its ``HKMedicationConcept`` object.
+@property (nonatomic, copy, readonly) HKHealthConceptIdentifier *medicationConceptIdentifier;
+
+/// The date and time the person takes the medication, if scheduled.
+///
+/// The value is always non-null for ``HKMedicationDoseEvent/ScheduleType/schedule`` and always null for  ``HKMedicationDoseEvent/ScheduleType/asNeeded``.
+@property (nonatomic, copy, readonly, nullable) NSDate *scheduledDate;
+
+/// The dose quantity a person is expected to take based on their medication schedule.
+///
+/// The value is always non-null for ``HKMedicationDoseEvent/ScheduleType/schedule``, and always null for ``HKMedicationDoseEvent/ScheduleType/asNeeded``.
+@property (nonatomic, copy, readonly, nullable) NSNumber *scheduledDoseQuantity NS_REFINED_FOR_SWIFT;
+
+/// The dose quantity the person reports as taken.
+///
+/// For scheduled dose events, the value defaults to the ``HKMedicationDoseEvent/scheduledDoseQuantity-477ge``, when logged from a
+/// reminder. For as needed dose events, the value defaults to `1` in the medication tracking experience, but can always be edited by the person logging.
+@property (nonatomic, copy, readonly, nullable) NSNumber *doseQuantity NS_REFINED_FOR_SWIFT;
+
+/// The log status the system assigns to this dose event.
+@property (nonatomic, assign, readonly) HKMedicationDoseEventLogStatus logStatus;
+
+/// The unit that the system associates with the medication when the person logs the dose.
+///
+/// This ensures that the dose quantity is recorded with the correct measurement unit.
+@property (nonatomic, copy, readonly, nonnull) HKUnit *unit;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+/// The key path you use to create predicates that query by a dose event’s log status.
+HK_EXTERN NSString * const HKPredicateKeyPathStatus API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+/// The key path you use to create predicates that query by the dose event's medication log origin.
+HK_EXTERN NSString * const HKPredicateKeyPathLogOrigin API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+/// The key path you use to create predicates that query by the dose event's scheduled date.
+HK_EXTERN NSString * const HKPredicateKeyPathScheduledDate API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+/// The key path you use to create predicates that query by the dose event's medication concept identifier.
+HK_EXTERN NSString * const HKPredicateKeyPathMedicationConceptIdentifier API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMetadata.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMetadata.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h	2026-04-18 08:30:09
@@ -0,0 +1,583 @@
+//
+//  HKMetadata.h
+//  HealthKit
+//
+//  Copyright © 2013-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKMetadataEnums.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @constant      HKMetadataKeyUDIProductionIdentifier
+ @abstract      Represents the serial number of the device that created the HKObject.
+ @discussion    The expected value type is NSString.
+ */
+HK_EXTERN NSString * const HKMetadataKeyDeviceSerialNumber API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyBodyTemperatureSensorLocation
+ @abstract      Represents the location where a particular body temperature reading was taken.
+ @discussion    The expected value type is an NSNumber containing a HKBodyTemperatureSensorLocation value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyBodyTemperatureSensorLocation API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateSensorLocation
+ @abstract      Represents the location where a particular heart rate reading was taken.
+ @discussion    The expected value type is an NSNumber containing a HKHeartRateSensorLocation value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateSensorLocation API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateMotionContext
+ @abstract      Represents the context in which a particular heart rate reading was taken.
+ @discussion    The expected value type is an NSNumber containing a HKHeartRateMotionContext value. The value is active
+                (HKHeartRateMotionContextActive) if the user is in motion or working out, sedentary if the user is
+                still (HKHeartRateMotionContextSedentary), or not set (HKHeartRateMotionContextNotSet) otherwise.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateMotionContext API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyUserMotionContext
+ @abstract      Represents the user's motion when a particular sample was taken.
+ @discussion    The expected value type is an NSNumber containing a HKUserMotionContext value. The value is active
+                (HKUserMotionContextActive) if the user is in motion or working out, stationary if the user is
+                still (HKUserMotionContextStationary), or not set (HKUserMotionContextNotSet) otherwise.
+ */
+HK_EXTERN NSString * const HKMetadataKeyUserMotionContext API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySessionEstimate
+ @abstract      Represents a per-session estimate prior to longitudinal smoothing applied to the value stored in the associated HKQuantitySample.
+ @discussion    The expected value type is an HKQuantity object with a unit compatible with the associated HKQuantitySample.
+ */
+HK_EXTERN NSString * const HKMetadataKeySessionEstimate API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateRecoveryTestType
+ @abstract      Represents the test used to determine a Heart Rate Recovery value
+ @discussion    The expected value type is an NSNumber containing a HKHeartRateRecoveryTestType value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateRecoveryTestType API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateRecoveryActivityType
+ @abstract      Represents the activity which preceded a Heart Rate Recovery value
+ @discussion    The expected value type is an NSNumber containing a HKWorkoutActivityType value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateRecoveryActivityType API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateRecoveryActivityDuration
+ @abstract      Represents the duration of activity which preceded a Heart Rate Recovery value
+ @discussion    The expected value type is an HKQuantity object compatible with a time unit.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateRecoveryActivityDuration API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate
+ @abstract      Represents the maximum heart rate observed during the corresponding Heart Rate Recovery sample interval
+ @discussion    The expected value type is an HKQuantity object compatible with "count/min" unit (eg "BPM").
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyFoodType
+ @abstract      Represents the type of food that was consumed when creating an HKObject.
+ @discussion    This should be a short string representing the type of food, such as 'Banana'. The expected value type
+                is NSString.
+ */
+HK_EXTERN NSString * const HKMetadataKeyFoodType API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyUDIDeviceIdentifier
+ @abstract      Represents the device identifier portion of a device's UDI (Unique Device Identifier).
+ @discussion    The device identifier can be used to reference the GUDID (Globally Unique Device Identifier Database).
+                The expected value type is NSString.
+ 
+                ** Note that the use of this key is now discouraged in favor of the HKDevice class.
+ */
+HK_EXTERN NSString * const HKMetadataKeyUDIDeviceIdentifier API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyUDIProductionIdentifier
+ @abstract      Represents the production identifier portion of a device's UDI (Unique Device Identifier).
+ @discussion    While part of a device's UDI, the production identifier is not saved in the FDA's GUDID 
+                (Globally Unique Device Identifier Database) and its use in HealthKit is now discouraged for
+                user privacy reasons. Apps should consider handling this independently of HealthKit APIs if
+                needed.
+                The expected value type is NSString.
+ */
+HK_EXTERN NSString * const HKMetadataKeyUDIProductionIdentifier API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyDigitalSignature
+ @abstract      Represents a digital signature validating the origin of an HKObject's value.
+ @discussion    Intended to provide data integrity for sample data produced by trusted (tamper resistant) measuring devices.
+                The digital signature format should be CMS (Cryptographic Message Syntax specified in IETF RFC 5652).
+                It should be a “Signed-data” type signature containing the data items to be signed (e.g., timestamp, value, etc.)
+                using ASN.1 encoding with DER (Distinguished Encoding Rules). The entire enveloping signature should be further
+                encoded using base64. Recommended digest is SHA256, and recommended cipher is FIPS PUB 186-4 Digital Signature 
+                Standard Elliptic Curve P-256. See documentation for details.
+
+ */
+HK_EXTERN NSString * const HKMetadataKeyDigitalSignature API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyExternalUUID
+ @abstract      Represents a unique identifier for an HKObject that is set by its source.
+                Uniqueness of objects with the same value of this key is not enforced by HealthKit.
+ @discussion    The expected value type is NSString.
+ */
+HK_EXTERN NSString * const HKMetadataKeyExternalUUID API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySyncIdentifier
+ @abstract      Represents an identifier for an HKObject that is set by its source and is used by HealthKit to uniquely
+                identify an object.
+ @discussion    Saving a HKObject with a HKMetadataKeySyncIdentifier will replace an existing HKObject with the
+                same HKMetadataKeySyncIdentifier value if the new HKObject has a greater HKMetadataKeySyncVersion.
+                The new sample will be added to all HKWorkouts or HKCorrelations containing the replaced sample.
+                HKMetadataKeySyncVersion must be provided if HKMetadataKeySyncIdentifier is provided.
+                The expected value type is NSString.
+ */
+HK_EXTERN NSString * const HKMetadataKeySyncIdentifier API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySyncVersion
+ @abstract      Represents the version of the HKObject that is set by its source and is used by HealthKit to identify an
+                object's version.
+ @discussion    HKMetadataKeySyncVersion may not be provided if HKMetadataKeySyncIdentifier is not provided.
+                The expected value type is NSNumber.
+ */
+HK_EXTERN NSString * const HKMetadataKeySyncVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyTimeZone
+ @abstract      Represents the time zone that the user was in when the HKObject was created.
+ @discussion    The expected value type is an NSString compatible with NSTimeZone's +timeZoneWithName:.
+ */
+HK_EXTERN NSString * const HKMetadataKeyTimeZone API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+
+/*!
+ @constant      HKMetadataKeyDeviceName
+ @abstract      Represents the name of the device that took the reading.
+ @discussion    The expected value type is NSString.
+ 
+                ** Note that the use of this key is now discouraged in favor of the HKDevice class.
+ */
+HK_EXTERN NSString * const HKMetadataKeyDeviceName API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyDeviceManufacturerName
+ @abstract      Represents the name of the manufacturer of the device that took the reading.
+ @discussion    The expected value type is NSString.
+ 
+                ** Note that the use of this key is now discouraged in favor of the HKDevice class.
+ */
+HK_EXTERN NSString * const HKMetadataKeyDeviceManufacturerName API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWasTakenInLab
+ @abstract      Represents whether or not the reading was taken in a lab.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWasTakenInLab API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyReferenceRangeLowerLimit
+ @abstract      Represents the lower limit of the reference range for a lab result.
+ @discussion    The expected value type is an NSNumber.
+ */
+HK_EXTERN NSString * const HKMetadataKeyReferenceRangeLowerLimit API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyReferenceRangeUpperLimit
+ @abstract      Represents the upper limit of the reference range for a lab result.
+ @discussion    The expected value type is an NSNumber.
+ */
+HK_EXTERN NSString * const HKMetadataKeyReferenceRangeUpperLimit API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWasUserEntered
+ @abstract      Represents whether or not the reading was entered by the user.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWasUserEntered API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWorkoutBrandName
+ @abstract      Represents the brand name of a particular workout.
+ @discussion    The expected value type is NSString.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWorkoutBrandName API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyGroupFitness
+ @abstract      Represents whether or not a workout was performed as part of a group fitness class.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyGroupFitness API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAppleFitnessPlusCatalogIdentifier
+ @abstract      Contains the catalog identifier of the Fitness+ workout.
+ @discussion    This key only exists if the workout was completed in Fitness+. The expected value type is an NSString containing the Fitness+ catalog identifier.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAppleFitnessPlusCatalogIdentifier API_AVAILABLE(ios(18.2), watchos(11.2), macCatalyst(18.2), macos(15.2), visionos(2.2));
+
+/*!
+  @constant      HKMetadataKeyAppleFitnessPlusSession
+  @abstract      Represents whether or not a workout is a Fitness+ workout.
+  @discussion    The expected value type is an NSNumber containing a BOOL value.
+  */
+HK_EXTERN NSString * const HKMetadataKeyAppleFitnessPlusSession API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @constant      HKMetadataKeyIndoorWorkout
+ @abstract      Represents whether or not a workout was performed indoors as opposed to outdoors.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyIndoorWorkout API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyCoachedWorkout
+ @abstract      Represents whether or not a workout was performed with a coach or personal trainer.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyCoachedWorkout API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWeatherCondition
+ @abstract      Represents the weather condition during the sample.
+ @discussion    The expected value type is an NSNumber containing an HKWeatherCondition value. This key may be set on an
+                HKWorkout object to represent the overall weather condition during the workout.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWeatherCondition API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWeatherTemperature
+ @abstract      Represents the weather temperature during the sample.
+ @discussion    The expected value type is an HKQuantity expressed in a temperature unit. This key may be set on an
+                HKWorkout object to represent the overall temperature during the workout.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWeatherTemperature API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWeatherHumidity
+ @abstract      Represents the weather humidity during the sample.
+ @discussion    The expected value type is an HKQuantity expressed in percent. This key may be set on an HKWorkout
+                object to represent the overall humidity during the workout.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWeatherHumidity API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySexualActivityProtectionUsed
+ @abstract      Represents whether or not protection was used during sexual activity. This can be used to track either
+                protection from STIs or protection from pregnancy.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeySexualActivityProtectionUsed API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyMenstrualCycleStart
+ @abstract      Indicates whether or not the sample represents the start of a menstrual cycle. This is a required
+                metadata key for category samples of type HKCategoryTypeIdentifierMenstrualFlow.
+ @discussion    The expected value type is an NSNumber containing a BOOL value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyMenstrualCycleStart API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyLapLength
+ @abstract      Represents the length of a lap recorded during a workout.
+ @discussion    The expected value type is an HKQuantity object compatible with a length unit. This key may be set on an
+                HKWorkout object to represent the length of a lap.
+ */
+HK_EXTERN NSString * const HKMetadataKeyLapLength API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySwimmingLocationType
+ @abstract      Represents the location type of a swimming workout.
+ @discussion    The expected value type is an NSNumber containing an HKWorkoutSwimmingLocationType value. This key may
+                be set on an HKWorkout object to represent the swimming location type.
+ */
+HK_EXTERN NSString * const HKMetadataKeySwimmingLocationType API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySwimmingStrokeStyle
+ @abstract      Represents the predominant stroke style during a lap of a swimming workout.
+ @discussion    The expected value type is an NSNumber containing an HKSwimmingStrokeStyle value. This key may be set on
+                an HKWorkoutEvent object with the type HKWorkoutEventTypeLap to represent the predominant style used
+                during the lap.
+ */
+HK_EXTERN NSString * const HKMetadataKeySwimmingStrokeStyle API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyInsulinDeliveryReason
+ @abstract      Represents the medical reason for the delivery of an insulin dose. This is a required metadata key for
+                samples of type HKQuantityTypeIdentifierInsulinDelivery.
+ @discussion    The expected value type is an NSNumber containing a HKInsulinDeliveryReason value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyInsulinDeliveryReason API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyBloodGlucoseMealTime
+ @abstract      Indicates the relative timing of a blood glucose reading to a meal.
+ @discussion    This timing, as well as other factors like meal composition, can be used by medical professionals to
+                determine the acceptable value range for a blood glucose reading. For use cases requiring the capture of
+                precise timing and composition information, developers should record additional dietary samples, such as
+                HKQuantityTypeIdentifierDietaryCarbohydrates. The expected value type is an NSNumber containing a
+                HKBloodGlucoseMealTime value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyBloodGlucoseMealTime API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyVO2MaxTestType
+ @abstract      Represents the test used to create VO2 Max Sample
+ @discussion    The expected value type is an NSNumber containing a HKVO2MaxTestType value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyVO2MaxTestType API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAverageSpeed
+ @abstract      Represents the average speed for a workout segment or distance sample.
+ @discussion    This represents the average speed when moving so it may not match the value of distance/time for a
+ distance sample.
+ 
+ The expected value type is an HKQuantity object compatible with a speed unit (e.g. m/s). This key may be
+ set on quantity samples of type HKQuantityTypeIdentifierDistanceDownhillSnowSports or a workout segment
+ representing a skiing run.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAverageSpeed API_AVAILABLE(ios(11.2), watchos(4.2), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyMaximumSpeed
+ @abstract      Represents the maximum speed for a workout segment or distance sample.
+ @discussion    The expected value type is an HKQuantity object compatible with a speed unit (e.g. m/s). This key may be
+ set on quantity samples of type HKQuantityTypeIdentifierDistanceDownhillSnowSports or a workout segment
+ representing a skiing run.
+ */
+HK_EXTERN NSString * const HKMetadataKeyMaximumSpeed API_AVAILABLE(ios(11.2), watchos(4.2), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAlpineSlopeGrade
+ @abstract      Represents the grade of a ski run.
+ @discussion    Alpine slope grade is measured in percent where 100% grade is a 45 degree slope.
+ 
+ The expected value type is an HKQuantity object compatible with percent unit. This key may be set on
+ quantity samples of type HKQuantityTypeIdentifierDistanceDownhillSnowSports or a workout segment
+ representing a skiing run.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAlpineSlopeGrade API_AVAILABLE(ios(11.2), watchos(4.2), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyElevationAscended
+ @abstract      Represents the cumulative elevation ascent during a workout.
+ @discussion    The expected value type is an HKQuantity object compatible with length unit. This key may be set on a
+ workout, workout segments or distance samples.
+ */
+HK_EXTERN NSString * const HKMetadataKeyElevationAscended API_AVAILABLE(ios(11.2), watchos(4.2), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyElevationDescended
+ @abstract      Represents the cumulative elevation descent during a workout.
+ @discussion    The expected value type is an HKQuantity object compatible with length unit. This key may be set on a
+ workout, workout segments or distance samples.
+ */
+HK_EXTERN NSString * const HKMetadataKeyElevationDescended API_AVAILABLE(ios(11.2), watchos(4.2), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyFitnessMachineDuration
+ @abstract      Represents the workout duration as displayed by a GymKit connected fitness machine.
+ @discussion    The expected value type is an HKQuantity object compatible with a time unit. This key may be set on an
+                HKWorkout object to represent the duration of the workout as displayed by a GymKit connected fitness
+                machine.
+ */
+HK_EXTERN NSString * const HKMetadataKeyFitnessMachineDuration API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyIndoorBikeDistance
+ @abstract      Represents the distance covered during an indoor bike workout.
+ @discussion    The expected value type is an HKQuantity object compatible with a length unit. This key may be set on an
+                HKWorkout object to represent the distance covered during an indoor bike workout.
+ */
+HK_EXTERN NSString * const HKMetadataKeyIndoorBikeDistance API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyCrossTrainerDistance
+ @abstract      Represents the distance covered during a cross trainer workout.
+ @discussion    The expected value type is an HKQuantity object compatible with a length unit. This key may be set on an
+                HKWorkout object to represent the distance covered during a cross trainer workout.
+ */
+HK_EXTERN NSString * const HKMetadataKeyCrossTrainerDistance API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyHeartRateEventThreshold
+ @abstract      Represents the threshold heart rate that triggered a heart rate event.
+ @discussion    The expected value is an HKQuantity object with a compatible unit (e.g. count/min).
+                This key will be set on heart rate event samples of type HKCategoryTypeIdentifierHighHeartRateEvent and
+                HKCategoryTypeIdentifierLowHeartRateEvent.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeartRateEventThreshold API_AVAILABLE(ios(12.2), watchos(5.2), macCatalyst(13.0), macos(13.0));
+
+
+/*!
+ @constant      HKMetadataKeyAverageMETs
+ @abstract      Represents the average METs, or Metabolic Equivalent of Task during a workout.
+ @discussion    The expected value type is an HKQuantity expressed in a METs (kcal/(kg*hr)) unit. This key may be set on an
+                HKWorkout object to represent the average workout intensity represented as METs over the entire workout duration.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAverageMETs API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAudioExposureLevel
+ @abstract      Represents the audio level associated with an audio event.
+ @discussion    The expected value is an HKQuantity whose value is the audio level
+                associated with the event measured in dBASPL units.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAudioExposureLevel API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+@constant      HKMetadataKeyAudioExposureDuration
+@abstract      Represents the duration of time that is covered by audio samples.
+@discussion    The expected value type is an HKQuantity object compatible with a time unit.
+               This key may be set on headphone audio exposure event samples to indicate
+               the duration of time that the user was actually exposed to audio through their headphones.
+*/
+HK_EXTERN NSString * const HKMetadataKeyAudioExposureDuration API_AVAILABLE(ios(14.2), watchos(7.1), macCatalyst(14.2), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAppleECGAlgorithmVersion
+ @abstract      Represents the ECG algorithm version that was used to generate a particular HKElectrocardiogram.
+ @discussion    The expected value type is an an NSNumber containing a HKAppleECGAlgorithmVersion value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAppleECGAlgorithmVersion API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyDevicePlacementSide
+ @abstract      Represents the detected placement of the device during the bout of walking
+ @discussion    The expected value type is an NSNumber containing a HKDevicePlacementSide value.  This key is expected to
+                be written for Walking Aymmetry Percentage.
+ */
+HK_EXTERN NSString * const HKMetadataKeyDevicePlacementSide API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+@constant      HKMetadataKeyBarometricPressure
+@abstract      Represents the barometric pressure recorded at the time of a sample.
+@discussion    The expected value type is an HKQuantity representing a value in units of pressure (atmospheres, pascals, millimeters of Mercury).
+*/
+HK_EXTERN NSString * const HKMetadataKeyBarometricPressure API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAppleDeviceCalibrated
+ @abstract      Represents the calibration status of the devices used to generate this sample.
+ @discussion    The expected value is a boolean NSNumber indicating whether the sample value was estimated using a sufficient set of device calibration data. The calibration status of a device may vary per data type. This key is read-only.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAppleDeviceCalibrated API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+@constant      HKMetadataKeyVO2MaxValue
+@abstract      Represents a VO2Max value that can be associated with, for example, Cardio Fitness Events
+@discussion    This key should be used to store an HKQuantity with a unit of `ml/kg·min`
+*/
+HK_EXTERN NSString * const HKMetadataKeyVO2MaxValue API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0));
+
+/*!
+@constant      HKMetadataKeyLowCardioFitnessEventThreshold
+@abstract      Can be used to store a snapshot of the threshold used to classify VO2Max values as "low"
+@discussion    This key should be used to store an HKQuantity, with a unit of `ml/kg·min`, representing the low fitness threshold.
+*/
+HK_EXTERN NSString * const HKMetadataKeyLowCardioFitnessEventThreshold API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0));
+
+/*!
+@constant      HKMetadataKeyDateOfEarliestDataUsedForEstimate
+@abstract      Represents how far back an estimation algorithm incorporated data from.
+@discussion    The expected value is an NSDate indicating the earliest date of data used to produce an estimated value for an HKSample.
+*/
+HK_EXTERN NSString * const HKMetadataKeyDateOfEarliestDataUsedForEstimate API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyAlgorithmVersion
+ @abstract      The version of the algorithm used to generate the sample.
+ @discussion    The key for an NSNumber containing an NSInteger indicating the version of the algorithm used to generate the sample.
+ */
+HK_EXTERN NSString * const HKMetadataKeyAlgorithmVersion API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeySWOLFScore
+ @abstract      Represents sum of strokes per length and time for the length. Calculated for each lap event and segment event during swimming workout.
+ @discussion    The expected value type is an NSNumber containing a score. This key may be set on an HKWorkout object to represent the SWOLF Score during the whole workout.
+ */
+HK_EXTERN NSString * const HKMetadataKeySWOLFScore API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyQuantityClampedToLowerBound
+ @abstract      Indicates the quantity was clamped to a lower bound.
+ @discussion    Value is a BOOL indicating whether or not the quantity value in the sample has been clamped to some lower bound
+ */
+HK_EXTERN NSString * const HKMetadataKeyQuantityClampedToLowerBound API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyQuantityClampedToUpperBound
+ @abstract      Indicates the quantity was clamped to an upper bound.
+ @discussion    Value is a BOOL indicating whether or not the quantity value in the sample has been clamped to some upper bound
+ */
+HK_EXTERN NSString * const HKMetadataKeyQuantityClampedToUpperBound API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyGlassesPrescriptionDescription
+ @abstract      Represents the description that may be associated with a HKGlassesPrescription.
+ @discussion    Glasses are often customized for different purposes like reading or distance. Prescriptions received by an eye care professional can provide different ocular functions.
+                Users may also customize their glasses for different scenarios. The value of the metadata is a NSString that describes the purpose of a HKGlassesPrescription.
+  */
+ HK_EXTERN NSString * const HKMetadataKeyGlassesPrescriptionDescription API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @constant      HKMetadataKeyWaterSalinity
+ @abstract      Represents the water salinity for an underwater depth or water temperature sample.
+ @discussion    The expected value type is an NSNumber containing a HKWaterSalinity value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyWaterSalinity API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @constant      HKMetadataKeyHeadphoneGain
+ @abstract      Represents the headphone gain associated with a Headphone audio exposure event.
+ @discussion    The expected value is an HKQuantity whose value is the gain
+                associated with the event measured in decibels in A-weighted Sound Pressure Level units.
+ */
+HK_EXTERN NSString * const HKMetadataKeyHeadphoneGain API_AVAILABLE(ios(16.4), watchos(9.4), macCatalyst(16.4), macos(13.3));
+
+/*!
+ @constant      HKMetadataKeyCyclingFunctionalThresholdPowerTestType
+ @abstract      Represents the test used to determine a Cycling Functional Threshold Power value.
+ @discussion    The expected value type is an NSNumber containing a HKCyclingFunctionalThresholdPowerTestType value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyCyclingFunctionalThresholdPowerTestType API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @constant      HKMetadataKeyActivityType
+ @abstract      Represents the activity type related to the sample
+ @discussion    The expected value type is an NSNumber containing a HKWorkoutActivityType value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyActivityType API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @constant      HKMetadataKeyPhysicalEffortEstimationType
+ @abstract      Represents the estimation type used to create the Physical Effort Sample
+ @discussion    The expected value type is an NSNumber containing a HKPhysicalEffortEstimationType value.
+ */
+HK_EXTERN NSString * const HKMetadataKeyPhysicalEffortEstimationType API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @constant      HKMetadataKeyMaximumLightIntensity
+ @abstract      Represents maximum intensity of light for an outdoor time sample.
+ @discussion    The expected value type is an HKQuantity expressed in HKUnit Lux.
+ */
+HK_EXTERN NSString * const HKMetadataKeyMaximumLightIntensity API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMetadataEnums.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKMetadataEnums.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h	2026-04-18 09:17:51
@@ -0,0 +1,250 @@
+//
+//  HKMetadataEnums.h
+//  HealthKit
+//
+//  Copyright © 2013-2025 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <HealthKit/HKDefines.h>
+
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKAppleECGAlgorithmVersion
+ @abstract      Indicates which algorithm version number was used by the ECG app on Apple Watch.
+
+ @constant      HKAppleECGAlgorithmVersion1     Apple Watch used a version 1 algorithm to generate this ECG.
+ @constant      HKAppleECGAlgorithmVersion2     Apple Watch used a version 2 algorithm to generate this ECG.
+ */
+typedef NS_ENUM(NSInteger, HKAppleECGAlgorithmVersion) {
+    HKAppleECGAlgorithmVersion1 = 1,
+    HKAppleECGAlgorithmVersion2 API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0)),
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+/*!
+ @enum          HKBloodGlucoseMealTime
+ @abstract      Indicates how your blood glucose reading relates to a meal.
+
+ @constant      HKBloodGlucoseMealTimePreprandial   A glucose value measured at the time just before a meal.
+ @constant      HKBloodGlucoseMealTimePostprandial  A glucose value measured after a meal.
+ */
+typedef NS_ENUM(NSInteger, HKBloodGlucoseMealTime) {
+    HKBloodGlucoseMealTimePreprandial = 1,
+    HKBloodGlucoseMealTimePostprandial,
+} API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+typedef NS_ENUM(NSInteger, HKBodyTemperatureSensorLocation) {
+    HKBodyTemperatureSensorLocationOther = 0,
+    HKBodyTemperatureSensorLocationArmpit,
+    HKBodyTemperatureSensorLocationBody,
+    HKBodyTemperatureSensorLocationEar,
+    HKBodyTemperatureSensorLocationFinger,
+    HKBodyTemperatureSensorLocationGastroIntestinal,
+    HKBodyTemperatureSensorLocationMouth,
+    HKBodyTemperatureSensorLocationRectum,
+    HKBodyTemperatureSensorLocationToe,
+    HKBodyTemperatureSensorLocationEarDrum,
+    HKBodyTemperatureSensorLocationTemporalArtery,
+    HKBodyTemperatureSensorLocationForehead,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKCyclingFunctionalThresholdPowerTestType
+ @abstract      Represents the test used to determine a Cycling Functional Threshold Power value.
+
+ @constant      HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute    The user was exerted to their physical
+                                                                                limit for a sustained period of 60
+                                                                                minutes.
+ @constant      HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute    The user was exerted to their physical
+                                                                                limit for a sustained period of 20
+                                                                                minutes.
+ @constant      HKCyclingFunctionalThresholdPowerTestTypeRampTest               Test with gradual intensity increase
+                                                                                until exhaustion.
+ @constant      HKCyclingFunctionalThresholdPowerTestTypePredictionExercise     An equation was used based on data from
+                                                                                the user’s cycling workouts to calculate
+                                                                                a predicted Cycling Functional Threshold
+                                                                                Power.
+ */
+typedef NS_ENUM(NSInteger, HKCyclingFunctionalThresholdPowerTestType) {
+    HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute = 1,
+    HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute,
+    HKCyclingFunctionalThresholdPowerTestTypeRampTest,
+    HKCyclingFunctionalThresholdPowerTestTypePredictionExercise,
+} API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @enum          HKDevicePlacementSide
+ @abstract      The detected placement of the device during the bout of walking
+
+ @constant      HKDevicePlacementSideUnknown    Unable to determine the placement of the device
+ @constant      HKDevicePlacementSideLeft       Device predominantly worn on left side
+ @constant      HKDevicePlacementSideRight      Device predominantly worn on right side
+ @constant      HKDevicePlacementSideCentral    Device predominantly worn on the middle of the body
+ */
+typedef NS_ENUM(NSInteger, HKDevicePlacementSide) {
+    HKDevicePlacementSideUnknown = 0,
+    HKDevicePlacementSideLeft,
+    HKDevicePlacementSideRight,
+    HKDevicePlacementSideCentral,
+} API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
+
+typedef NS_ENUM(NSInteger, HKHeartRateMotionContext) {
+    HKHeartRateMotionContextNotSet = 0,
+    HKHeartRateMotionContextSedentary,
+    HKHeartRateMotionContextActive,
+} API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKHeartRateRecoveryTestType
+ @abstract      Represents the test used to determine a Heart Rate Recovery value
+
+ @constant      HKHeartRateRecoveryTestTypeMaxExercise                  The user was exerted to their physical limit to
+                                                                        evaluate actual Heart Rate Recovery.
+ @constant      HKHeartRateRecoveryTestTypePredictionSubMaxExercise     A specific test protocol was used to calculate
+                                                                        and correlate a predicted Heart Rate Recovery.
+ @constant      HKHeartRateRecoveryTestTypePredictionNonExercise        A non-exercise equation was used based on user
+                                                                        metrics to calculate a predicted Heart Rate
+                                                                        Recovery.
+ */
+typedef NS_ENUM(NSInteger, HKHeartRateRecoveryTestType) {
+    HKHeartRateRecoveryTestTypeMaxExercise = 1,
+    HKHeartRateRecoveryTestTypePredictionSubMaxExercise,
+    HKHeartRateRecoveryTestTypePredictionNonExercise,
+} API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+typedef NS_ENUM(NSInteger, HKHeartRateSensorLocation) {
+    HKHeartRateSensorLocationOther = 0,
+    HKHeartRateSensorLocationChest,
+    HKHeartRateSensorLocationWrist,
+    HKHeartRateSensorLocationFinger,
+    HKHeartRateSensorLocationHand,
+    HKHeartRateSensorLocationEarLobe,
+    HKHeartRateSensorLocationFoot,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKInsulinDeliveryReason
+ @abstract      Represents a medical reason for the delivery of insulin
+
+ @constant      HKInsulinDeliveryReasonBasal    Delivery for the base metabolic needs of the individual, often
+                                                administered as a continuous rate from an insulin pump, or a periodic
+                                                injection of slow-acting insulin.
+ @constant      HKInsulinDeliveryReasonBolus    Delivery for the episodic needs of the individual, such as a meal or
+                                                glucose level correction.
+ */
+typedef NS_ENUM(NSInteger, HKInsulinDeliveryReason) {
+    HKInsulinDeliveryReasonBasal = 1,
+    HKInsulinDeliveryReasonBolus,
+} API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKPhysicalEffortEstimationType
+ @abstract      Represents the estimation used to create a Physical Effort Sample.
+
+ @constant      HKPhysicalEffortEstimationTypeActivityLookup    Indicates the value was calculated based on external
+                                                                standard such as a stationary bike
+ @constant      HKPhysicalEffortEstimationTypeDeviceSensed      Indicates the value was calculated based on movement
+                                                                signals (walking, running etc.)
+ */
+typedef NS_ENUM(NSInteger, HKPhysicalEffortEstimationType) {
+    HKPhysicalEffortEstimationTypeActivityLookup = 1,
+    HKPhysicalEffortEstimationTypeDeviceSensed,
+} API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+/*!
+ @enum          HKSwimmingStrokeStyle
+ @abstract      Represents a style of stroke used during a swimming workout.
+ */
+typedef NS_ENUM(NSInteger, HKSwimmingStrokeStyle) {
+    HKSwimmingStrokeStyleUnknown = 0,
+    HKSwimmingStrokeStyleMixed,
+    HKSwimmingStrokeStyleFreestyle,
+    HKSwimmingStrokeStyleBackstroke,
+    HKSwimmingStrokeStyleBreaststroke,
+    HKSwimmingStrokeStyleButterfly,
+    HKSwimmingStrokeStyleKickboard API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)),
+} API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+typedef NS_ENUM(NSInteger, HKUserMotionContext) {
+    HKUserMotionContextNotSet = 0,
+    HKUserMotionContextStationary,
+    HKUserMotionContextActive,
+} API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @enum          HKVO2MaxTestType
+ @abstract      Represents the test used to create a VO2 Max Sample.
+
+ @constant      HKVO2MaxTestTypeMaxExercise                 The user was exerted to their physical limit to evaluate and
+                                                            measure actual VO2Max.
+ @constant      HKVO2MaxTestTypePredictionSubMaxExercise    A specific test protocol was used to calculate and correlate
+                                                            a predicted VO2Max.
+ @constant      HKVO2MaxTestTypePredictionNonExercise       A non-exercise equation was used based on user metrics to
+                                                            calculate a predicted VO2Max.
+ @constant      HKVO2MaxTestTypePredictionStepTest          The step test protocol was used to calculate and correlate a
+                                                            predicted VO2Max.
+ */
+typedef NS_ENUM(NSInteger, HKVO2MaxTestType) {
+    HKVO2MaxTestTypeMaxExercise = 1,
+    HKVO2MaxTestTypePredictionSubMaxExercise,
+    HKVO2MaxTestTypePredictionNonExercise,
+    HKVO2MaxTestTypePredictionStepTest API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0)),
+} API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKWaterSalinity
+ @abstract      Represents the water salinity for an underwater depth or water temperature sample.
+ @discussion    This value indicates the water salinity
+ */
+typedef NS_ENUM(NSInteger, HKWaterSalinity) {
+    HKWaterSalinityFreshWater = 1,
+    HKWaterSalinitySaltWater,
+} API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));
+
+typedef NS_ENUM(NSInteger, HKWeatherCondition) {
+    HKWeatherConditionNone = 0,
+    HKWeatherConditionClear,
+    HKWeatherConditionFair,
+    HKWeatherConditionPartlyCloudy,
+    HKWeatherConditionMostlyCloudy,
+    HKWeatherConditionCloudy,
+    HKWeatherConditionFoggy,
+    HKWeatherConditionHaze,
+    HKWeatherConditionWindy,
+    HKWeatherConditionBlustery,
+    HKWeatherConditionSmoky,
+    HKWeatherConditionDust,
+    HKWeatherConditionSnow,
+    HKWeatherConditionHail,
+    HKWeatherConditionSleet,
+    HKWeatherConditionFreezingDrizzle,
+    HKWeatherConditionFreezingRain,
+    HKWeatherConditionMixedRainAndHail,
+    HKWeatherConditionMixedRainAndSnow,
+    HKWeatherConditionMixedRainAndSleet,
+    HKWeatherConditionMixedSnowAndSleet,
+    HKWeatherConditionDrizzle,
+    HKWeatherConditionScatteredShowers,
+    HKWeatherConditionShowers,
+    HKWeatherConditionThunderstorms,
+    HKWeatherConditionTropicalStorm,
+    HKWeatherConditionHurricane,
+    HKWeatherConditionTornado,
+} API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @enum          HKWorkoutSwimmingLocationType
+ @abstract      This enumerated type is used to represent the location type of a swimming workout.
+ @discussion    This value indicates whether a swimming workout was performed in a pool or open water.
+ */
+typedef NS_ENUM(NSInteger, HKWorkoutSwimmingLocationType) {
+    HKWorkoutSwimmingLocationTypeUnknown = 0,
+    HKWorkoutSwimmingLocationTypePool,
+    HKWorkoutSwimmingLocationTypeOpenWater,
+} API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKObject.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKObject.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKObject.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKObject.h	2026-04-18 09:54:45
@@ -0,0 +1,64 @@
+//
+//  HKObject.h
+//  HealthKit
+//
+//  Copyright © 2014-2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKSource;
+@class HKSourceRevision;
+@class HKDevice;
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKObject : NSObject <NSSecureCoding>
+
+/*!
+ @property      UUID
+ @abstract      A unique identifier of the receiver in the HealthKit database.
+ */
+@property (readonly, strong) NSUUID *UUID;
+
+@property (readonly, strong) HKSource *source API_DEPRECATED_WITH_REPLACEMENT("sourceRevision", ios(8.0, 9.0));
+
+/*!
+ @property      sourceRevision
+ @abstract      Represents the revision of the source responsible for saving the receiver.
+ */
+@property (readonly, strong) HKSourceRevision *sourceRevision API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      device
+ @abstract      Represents the device that generated the data of the receiver.
+ */
+@property (readonly, strong, nullable) HKDevice *device API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      metadata
+ @abstract      Extra information describing properties of the receiver.
+ @discussion    Keys must be NSString and values must be either NSString, NSNumber, NSDate, or
+                HKQuantity. See HKMetadata.h for potential metadata keys and values.
+ */
+@property (readonly, copy, nullable) NSDictionary<NSString *, id> *metadata;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathUUID API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathSource API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathMetadata API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathCorrelation API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathWorkout API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathDevice API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathSourceRevision API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathWorkoutEffortRelationship API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKObjectType.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKObjectType.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h	2026-04-18 05:49:35
@@ -0,0 +1,294 @@
+//
+//  HKObjectType.h
+//  HealthKit
+//
+//  Copyright © 2013-2025 Apple Inc. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuantityAggregationStyle.h>
+#import <HealthKit/HKTypeIdentifiers.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKActivitySummaryType;
+@class HKAudiogramSampleType;
+@class HKCategoryType;
+@class HKCharacteristicType;
+@class HKCorrelationType;
+@class HKDocumentType;
+@class HKElectrocardiogramType;
+@class HKMedicationDoseEventType;
+@class HKQuantityType;
+@class HKSeriesType;
+@class HKStateOfMindType;
+@class HKUnit;
+@class HKUserAnnotatedMedicationType;
+@class HKPrescriptionType;
+@class HKWorkoutType;
+@class HKScoredAssessmentType;
+
+/*!
+ @class         HKObjectType
+ @abstract      An abstract class representing a type of object that can be stored by HealthKit.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKObjectType : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property      identifier
+ @abstract      A unique string identifying a type of health object.
+ @discussion    See HKTypeIdentifiers.h for possible values.
+ */
+@property (readonly, strong) NSString *identifier;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+#if defined(__swift__) && __swift__
++ (nullable HKQuantityType *)quantityTypeForIdentifier:(HKQuantityTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKQuantityType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKCategoryType *)categoryTypeForIdentifier:(HKCategoryTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKCategoryType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKCharacteristicType *)characteristicTypeForIdentifier:(HKCharacteristicTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKCharacteristicType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKCorrelationType *)correlationTypeForIdentifier:(HKCorrelationTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKCorrelationType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKDocumentType *)documentTypeForIdentifier:(HKDocumentTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKDocumentType(_:)", ios(10.0, API_TO_BE_DEPRECATED), watchos(3.0, API_TO_BE_DEPRECATED));
+#else
++ (nullable HKQuantityType *)quantityTypeForIdentifier:(HKQuantityTypeIdentifier)identifier;
++ (nullable HKCategoryType *)categoryTypeForIdentifier:(HKCategoryTypeIdentifier)identifier;
++ (nullable HKCharacteristicType *)characteristicTypeForIdentifier:(HKCharacteristicTypeIdentifier)identifier;
++ (nullable HKCorrelationType *)correlationTypeForIdentifier:(HKCorrelationTypeIdentifier)identifier;
++ (nullable HKDocumentType *)documentTypeForIdentifier:(HKDocumentTypeIdentifier)identifier API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0));
++ (nullable HKScoredAssessmentType *)scoredAssessmentTypeForIdentifier:(HKScoredAssessmentTypeIdentifier)identifier API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+#endif // defined(__swift__) && __swift__
+
++ (nullable HKSeriesType *)seriesTypeForIdentifier:(NSString *)identifier API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
++ (HKWorkoutType *)workoutType;
++ (HKActivitySummaryType *)activitySummaryType API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0));
++ (HKAudiogramSampleType *)audiogramSampleType API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
++ (HKElectrocardiogramType *)electrocardiogramType API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));
++ (HKMedicationDoseEventType *)medicationDoseEventType API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
++ (HKPrescriptionType *)visionPrescriptionType API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
++ (HKStateOfMindType *)stateOfMindType API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
++ (HKUserAnnotatedMedicationType *)userAnnotatedMedicationType API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+/*!
+ @method        requiresPerObjectAuthorization
+ @abstract      Returns YES if the authorization for the object type needs to be requested on per object basis.
+ */
+- (BOOL)requiresPerObjectAuthorization API_AVAILABLE(ios(16.0), macCatalyst(16.0), macos(13.0));
+
+@end
+
+/*!
+ @class         HKCharacteristicType
+ @abstract      Represents a type of object that describes a characteristic of the user (such as date of birth).
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKCharacteristicType : HKObjectType
+@end
+
+/*!
+ @class         HKSampleType
+ @abstract      Represents a type of HKSample.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKSampleType : HKObjectType
+
+/*!
+ @property      isMaximumDurationRestricted
+ @abstract      Returns YES if the start and end date for samples of this type are restricted by a maximum duration.
+ */
+@property (nonatomic, readonly) BOOL isMaximumDurationRestricted API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      maximumAllowedDuration
+ @abstract      When the duration is restricted for samples of this type, returns the maximum duration allowed,
+                calculated as the difference between end and start dates.
+ @discussion    Throws an exception if there is no maximum restriction on duration for samples of this type.
+ */
+@property (nonatomic, readonly) NSTimeInterval maximumAllowedDuration API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      isMinimumDurationRestricted
+ @abstract      Returns YES if the start and end date for samples of this type are restricted by a minimum duration.
+ */
+@property (nonatomic, readonly) BOOL isMinimumDurationRestricted API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      minimumAllowedDuration
+ @abstract      When the duration is restricted for samples of this type, returns the minimum duration allowed,
+                calculated as the difference between end and start dates.
+ @discussion    Throws an exception if there is no minimum restriction on duration for samples of this type.
+ */
+@property (nonatomic, readonly) NSTimeInterval minimumAllowedDuration API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      allowsRecalibrationForEstimates
+ @abstract      Returns YES if first-party samples of this type are produced using a prediction algorithm, and that algorithm supports recalibration. To recalibrate the
+                estimates for a sample type, see -[HKHealthStore recalibrateEstimatesForSampleType:atDate:completion:]
+ */
+@property (nonatomic, readonly) BOOL allowsRecalibrationForEstimates API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+@end
+
+/*!
+ @class         HKCategoryType
+ @abstract      Represent a type of HKCategorySample.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKCategoryType : HKSampleType
+@end
+
+/*!
+ @class         HKCorrelationType
+ @abstract      Represents a type of HKCorrelation
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKCorrelationType : HKSampleType
+@end
+
+/*!
+ @class         HKDocumentType
+ @abstract      Represents a type of HKDocument.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), macCatalyst(13.0), macos(13.0))
+@interface HKDocumentType : HKSampleType
+@end
+
+/*!
+ @class         HKQuantityType
+ @abstract      Represents types of HKQuantitySamples.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKQuantityType : HKSampleType
+
+@property (readonly) HKQuantityAggregationStyle aggregationStyle;
+
+/*!
+ @method        isCompatibleWithUnit:
+ @abstract      Returns YES if the type of HKQuantitySample represented by the receiver can be created with quantities 
+                of the given unit.
+ */
+- (BOOL)isCompatibleWithUnit:(HKUnit *)unit;
+
+@end
+
+/*!
+ @class         HKWorkoutType
+ @abstract      Represents a workout or exercise
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKWorkoutType : HKSampleType
+@end
+
+/*!
+ @class         HKSeriesType
+ @abstract      Represents a type of HKSeriesSample
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0))
+@interface HKSeriesType : HKSampleType
+
++ (instancetype)workoutRouteType;
++ (instancetype)heartbeatSeriesType API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+/*!
+ @class         HKActivitySummaryType
+ @abstract      Represents an HKActivitySummary
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0))
+@interface HKActivitySummaryType : HKObjectType
+@end
+
+/*!
+ @class    HKAudiogramSampleType
+ @abstract Represents an audiogram sample.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))
+@interface HKAudiogramSampleType : HKSampleType
+@end
+
+/*!
+ @class    HKElectrocardiogramType
+ @abstract Represents an electrocardiogram sample.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0))
+@interface HKElectrocardiogramType : HKSampleType
+@end
+
+/*!
+ @class         HKMedicationDoseEventType
+ @abstract      Represents a recorded log of a specific medication, represented by HKMedicationDoseEvent samples.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKMedicationDoseEventType : HKSampleType
+@end
+
+/*!
+ @class         HKPrescriptionType
+ @abstract      Represents a prescription type
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKPrescriptionType : HKSampleType
+@end
+
+/*!
+ @class    HKScoredAssessmentType
+ @abstract Represents a scored assessment sample
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))
+@interface HKScoredAssessmentType : HKSampleType
+@end
+
+/*!
+ @class    HKStateOfMindType
+ @abstract Represents an experienced feeling and its surrounding context.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))
+@interface HKStateOfMindType : HKSampleType
+@end
+
+
+/*!
+ @class         HKUserAnnotatedMedicationType
+ @abstract      Represents the set of authorizeable HKUserAnnotatedMedications.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKUserAnnotatedMedicationType : HKObjectType
+@end
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKObserverQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKObserverQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h	2026-04-18 09:54:44
@@ -0,0 +1,48 @@
+//
+//  HKObserverQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKQueryDescriptor.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef void(^HKObserverQueryCompletionHandler)(void);
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKObserverQuery : HKQuery
+
+/*!
+ @method        initWithSampleType:predicate:updateHandler:
+ @abstract      This method installs a handler that is called when a sample type has a new sample added.
+ @discussion    If you have subscribed to background updates you must call the passed completion block
+                once you have processed data from this notification. Otherwise the system will continue
+                to notify you of this data.
+ */
+
+- (instancetype)initWithSampleType:(HKSampleType *)sampleType
+                         predicate:(nullable NSPredicate *)predicate
+                     updateHandler:(void(^NS_SWIFT_SENDABLE)(HKObserverQuery *query, HKObserverQueryCompletionHandler completionHandler, NSError * _Nullable error))updateHandler;
+
+/*!
+ @method        initWithQueryDescriptors:updateHandler:
+ @abstract      This method installs a handler that is called when a sample matching the query descriptors is added.
+ @discussion    If you have subscribed to background updates you must call the passed completion block
+                once you have processed data from this notification. Otherwise the system will continue
+                to notify you of this data.
+ 
+ @param         queryDescriptors   An array of query descriptors that describes the sample types and predicates for
+                                   which you are interested in getting notified.
+ */
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+                           updateHandler:(void(^NS_SWIFT_SENDABLE)(HKObserverQuery *query, NSSet<HKSampleType *> * _Nullable sampleTypesAdded, HKObserverQueryCompletionHandler completionHandler, NSError * _Nullable error))updateHandler API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKPHQ9Assessment.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKPHQ9Assessment.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKPHQ9Assessment.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKPHQ9Assessment.h	2026-04-18 09:54:43
@@ -0,0 +1,77 @@
+//
+//  HKPHQ9Assessment.h
+//  HealthKit
+//
+//  Copyright © 2023-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKScoredAssessment.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+/*!
+ @enum          HKPHQ9AssessmentRisk
+ @abstract      Depression risk level determined by PHQ-9 assessment.
+ */
+typedef NS_ENUM(NSInteger, HKPHQ9AssessmentRisk) {
+    HKPHQ9AssessmentRiskNoneToMinimal = 1,
+    HKPHQ9AssessmentRiskMild,
+    HKPHQ9AssessmentRiskModerate,
+    HKPHQ9AssessmentRiskModeratelySevere,
+    HKPHQ9AssessmentRiskSevere
+} NS_SWIFT_NAME(HKPHQ9Assessment.Risk) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/*!
+ @enum          HKPHQ9AssessmentAnswer
+ @abstract      Answer to question on PHQ-9 assessment.
+ */
+typedef NS_ENUM(NSInteger, HKPHQ9AssessmentAnswer) {
+    HKPHQ9AssessmentAnswerNotAtAll = 0,
+    HKPHQ9AssessmentAnswerSeveralDays,
+    HKPHQ9AssessmentAnswerMoreThanHalfTheDays,
+    HKPHQ9AssessmentAnswerNearlyEveryDay,
+    HKPHQ9AssessmentAnswerPreferNotToAnswer /// Only acceptable for Question #9 on the PHQ-9
+} NS_SWIFT_NAME(HKPHQ9Assessment.Answer) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/// Returns the lower bound of the score range for the given PHQ-9 risk classification.
+HK_EXTERN NSInteger HKMinimumScoreForPHQ9AssessmentRisk(HKPHQ9AssessmentRisk risk) API_UNAVAILABLE(ios, watchos, macCatalyst, macos);
+
+/// Returns the upper bound of the score range for the given PHQ-9 risk classification.
+HK_EXTERN NSInteger HKMaximumScoreForPHQ9AssessmentRisk(HKPHQ9AssessmentRisk risk) API_UNAVAILABLE(ios, watchos, macCatalyst, macos);
+
+/// Represents the result of a PHQ-9 assessment. Learn more about Pfizer's PHQ-9 at https://support.apple.com/en-us/105070
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))
+@interface HKPHQ9Assessment: HKScoredAssessment
+
+/// Answers on the PHQ-9 assessment. There are exactly 9 answers, one for each multiple choice question. Each answer is of type `HKPHQ9AssessmentAnswer`. If the 9th question was unanswered,  the answer is `HKPHQ9AssessmentAnswerPreferNotToAnswer`.
+@property (nonatomic, copy, readonly) NSArray<NSNumber *> *answers NS_REFINED_FOR_SWIFT;
+
+/*!
+ @property   risk
+ @discussion The risk determined by the score on a PHQ-9 assessment.
+ */
+@property (nonatomic, assign, readonly) HKPHQ9AssessmentRisk risk;
+
+/// Creates a new PHQ-9 sample. There must be exactly 9 elements in answers, each answer must be of type `HKPHQ9AssessmentAnswer`.
+/// Question #9 is considered optional. If the user does not answer #9, use `HKPHQ9AssessmentAnswerPreferNotToAnswer`
++ (instancetype)assessmentWithDate:(NSDate *)date
+                           answers:(NSArray<NSNumber *> *)answers NS_REFINED_FOR_SWIFT;
+
+/// Creates a new PHQ-9 sample. There must be exactly 9 elements in answers, each answer must be of type `HKPHQ9AssessmentAnswer`.
+/// Question #9 is considered optional. If the user does not answer #9, use `HKPHQ9AssessmentAnswerPreferNotToAnswer`
++ (instancetype)assessmentWithDate:(NSDate *)date
+                           answers:(NSArray<NSNumber *> *)answers
+                          metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_REFINED_FOR_SWIFT;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantity.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantity.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantity.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantity.h	2026-04-18 09:54:45
@@ -0,0 +1,55 @@
+//
+//  HKQuantity.h
+//  HealthKit
+//
+//  Copyright © 2013-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKUnit;
+
+/*!
+ @class         HKQuantity
+ @abstract      The HKQuantity class provides an encapsulation of a quantity value and the unit of measurement.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKQuantity : NSObject <NSSecureCoding, NSCopying>
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @method        quantityWithUnit:doubleValue:
+ @abstract      Returns a new object representing a quantity measurement with the given unit.
+ */
++ (instancetype)quantityWithUnit:(HKUnit *)unit doubleValue:(double)value;
+
+/*!
+ @method        isCompatibleWithUnit:
+ @abstract      Returns yes if the receiver's value can be converted to a value of the given unit.
+ */
+- (BOOL)isCompatibleWithUnit:(HKUnit *)unit;
+
+/*!
+ @method        doubleValueForUnit:
+ @abstract      Returns the quantity value converted to the given unit.
+ @discussion    Throws an exception if the receiver's value cannot be converted to one of the requested unit.
+ */
+- (double)doubleValueForUnit:(HKUnit *)unit;
+
+/*!
+ @method        compare:
+ @abstract      Returns an NSComparisonResult value that indicates whether the receiver is greater than, equal to, or 
+                less than a given quantity.
+ @discussion    Throws an exception if the unit of the given quantity is not compatible with the receiver's unit.
+ */
+- (NSComparisonResult)compare:(HKQuantity *)quantity;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantityAggregationStyle.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantityAggregationStyle.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantityAggregationStyle.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantityAggregationStyle.h	2026-04-18 09:54:45
@@ -0,0 +1,30 @@
+//
+//  HKQuantityAggregationStyle.h
+//  HealthKit
+//
+//  Copyright © 2013-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKQuantityAggregationStyle
+ @discussion    Describes how quantities can be aggregated over time.
+ 
+ @constant      HKQuantityAggregationStyleCumulative                        Samples may be summed over a time interval.
+ @constant      HKQuantityAggregationStyleDiscreteArithmetic                Samples may be averaged over a time interval using the arithmetic mean
+ @constant      HKQuantityAggregationStyleDiscreteTemporallyWeighted        Samples may be averaged over a time interval using a temporally weighted integration function
+ @constant      HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel Samples may be combined over a time interval by computing the equivalent continuous sound level; see IEC 61672-1
+
+ */
+typedef NS_ENUM(NSInteger, HKQuantityAggregationStyle) {
+    HKQuantityAggregationStyleCumulative = 0,
+    HKQuantityAggregationStyleDiscreteArithmetic API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)),
+    HKQuantityAggregationStyleDiscrete API_DEPRECATED_WITH_REPLACEMENT("HKQuantityAggregationStyleDiscreteArithmetic", ios(8.0, 13.0), watchos(2.0, 6.0)) = HKQuantityAggregationStyleDiscreteArithmetic,
+    HKQuantityAggregationStyleDiscreteTemporallyWeighted API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)),
+    HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)),
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantitySample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantitySample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySample.h	2026-04-18 09:54:43
@@ -0,0 +1,83 @@
+//
+//  HKQuantitySample.h
+//  HealthKit
+//
+//  Copyright © 2013-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+@class HKQuantityType;
+
+/*!
+ @class         HKQuantitySample
+ @abstract      An abstract HKSample subclass representing a quantity measurement.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKQuantitySample : HKSample
+
+@property (readonly, copy) HKQuantityType *quantityType;
+@property (readonly, copy) HKQuantity *quantity;
+
+/*!
+ @property      count
+ @abstract      The number of individual values making up the receiver's quantity.
+ @discussion    Requests for the individual series quantities can be made using HKQuantitySeriesSampleQuery.
+ */
+@property (readonly, assign) NSInteger count API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        quantitySampleWithType:quantity:startDate:endDate:
+ @abstract      Creates a new HKQuantitySample with the given type, quantity, start date, and end date.
+ @discussion    The quantity must have a unit that is compatible with the given quantity type.
+                See -[HKQuantityType isCompatibleWithUnit:].
+ */
++ (instancetype)quantitySampleWithType:(HKQuantityType *)quantityType
+                              quantity:(HKQuantity *)quantity
+                             startDate:(NSDate *)startDate
+                               endDate:(NSDate *)endDate;
+
+/*!
+ @method        quantitySampleWithType:quantity:startDate:endDate:metadata:
+ @abstract      Creates a new HKQuantitySample with the given type, quantity, start date, end date, and metadata.
+ @discussion    The quantity must have a unit that is compatible with the given quantity type.
+                See -[HKQuantityType isCompatibleWithUnit:].
+ */
++ (instancetype)quantitySampleWithType:(HKQuantityType *)quantityType
+                              quantity:(HKQuantity *)quantity
+                             startDate:(NSDate *)startDate
+                               endDate:(NSDate *)endDate
+                              metadata:(nullable NSDictionary<NSString *, id> *)metadata;
+
+/*!
+ @method        quantitySampleWithType:quantity:startDate:endDate:device:metadata:
+ @abstract      Creates a new HKQuantitySample with the given type, quantity, start date, end date, and metadata.
+ @param         quantityType    The type of the sample.
+ @param         startDate       The start date of the sample.
+ @param         endDate         The end date of the sample.
+ @param         device          The HKDevice that generated the sample (optional).
+ @param         metadata        Metadata for the sample (optional).
+ @discussion    The quantity must have a unit that is compatible with the given quantity type.
+                See -[HKQuantityType isCompatibleWithUnit:].
+ */
++ (instancetype)quantitySampleWithType:(HKQuantityType *)quantityType
+                              quantity:(HKQuantity *)quantity
+                             startDate:(NSDate *)startDate
+                               endDate:(NSDate *)endDate
+                                device:(nullable HKDevice *)device
+                              metadata:(nullable NSDictionary<NSString *, id> *)metadata API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathQuantity API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathCount API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantitySeriesSampleBuilder.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleBuilder.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantitySeriesSampleBuilder.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleBuilder.h	2026-04-18 09:17:53
@@ -0,0 +1,184 @@
+//
+//  HKQuantitySeriesSampleBuilder.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKDevice;
+@class HKHealthStore;
+@class HKQuantity;
+@class HKQuantitySample;
+@class HKQuantityType;
+
+/*!
+ @class         HKQuantitySeriesSampleBuilder
+ @abstract      An HKQuantitySeriesSampleBuilder is used to generate HKQuantitySample(s) with multiple
+                quantities.
+ @discussion    An HKQuantitySeriesSampleBuilder is used to incrementally create a new quantity series
+                sample in the HealthKit database. This class may be used to create long-running quantity
+                series samples that are associated with an activity like a workout. After inserting each
+                of the quantities that make up the series, the series may be finalized by calling
+                -finishSeriesWithMetadata:completion:. Calling -discard invalidates the series and
+                discards any data that was previously associated with it.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0))
+@interface HKQuantitySeriesSampleBuilder : NSObject
+
+/*!
+ @method        initWithHealthStore:quantityType:device:
+ @abstract      The designated initializer to create an HKQuantitySeriesSampleBuilder.
+ @discussion    The HKHealthStore is retained during the life of the object for the saving of the
+                series data and final return of the series sample.
+
+ @param         healthStore     Specifies the HKHealthStore object to use for building the series.
+ @param         quantityType    Specifies the quantity type for which to build the series.
+ @param         startDate       The date from which the produced sample(s) start.
+ @param         device          The optional device represents the HKDevice from which the data is
+                                provided.
+ */
+- (instancetype)initWithHealthStore:(HKHealthStore *)healthStore
+                       quantityType:(HKQuantityType *)quantityType
+                          startDate:(NSDate *)startDate
+                             device:(nullable HKDevice *)device NS_SWIFT_NAME(init(healthStore:quantityType:startDate:device:));
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @property      quantityType
+ */
+@property (readonly, copy) HKQuantityType *quantityType;
+
+/*!
+ @property      startDate
+ */
+@property (readonly, copy) NSDate *startDate;
+
+/*!
+ @property      device
+ */
+@property (readonly, copy, nullable) HKDevice *device;
+
+/*!
+ @method            insertQuantity:dateInterval:completion:
+ @abstract          Associate a new quantity with the receiver with a specific date interval.
+ @discussion        Use this method to add a quantity to the series. The quantity must have a unit
+                    that is compatible with the receiver's quantity type.
+                    See -[HKQuantityType isCompatibleWithUnit:].
+                    Note that quantities may be inserted in any order,
+                    but will be sorted by dateInterval.startDate when the series is finished.
+ 
+ @param             quantity        The quantity to insert.
+ @param             dateInterval    The dateInterval associated with the quantity.
+                                    If dateInterval.startDate is the same as a previously-provided
+                                    quantity, the new value will replace the old value.
+                                    An HKErrorInvalidArgument will be returned if
+                                    dateInterval.startDate is earlier than the receiver's startDate.
+ */
+- (BOOL)insertQuantity:(HKQuantity *)quantity
+          dateInterval:(NSDateInterval *)dateInterval
+                 error:(NSError **)error NS_SWIFT_NAME(insert(_:for:)) API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method            insertQuantity:date:completion:
+ @abstract          Associate a new quantity with the receiver at a specific instantaneous
+                    date interval.
+ @discussion        This method acts as a convenience for insertQuantity:dateInterval:completion:
+                    where dateInterval has a duration of 0.
+
+ @param             quantity    The quantity to insert.
+ @param             date        The start date associated with the quantity. If this is the same
+                                start date as a previously-provided quantity, the new value will
+                                replace the old value. An HKErrorInvalidArgument will be returned
+                                if date is earlier than the receiver's startDate.
+ */
+- (BOOL)insertQuantity:(HKQuantity *)quantity
+                  date:(NSDate *)date
+                 error:(NSError **)error NS_SWIFT_NAME(insert(_:at:));
+
+/*!
+ @method            finishSeriesWithMetadata:endDate:completion:
+ @abstract          Finalizes the series and returns the resulting HKQuantitySample(s).
+ @discussion        Call this method when all quantities for the series have been inserted.
+                    The completion handler will return the resulting HKQuantitySample(s)
+                    Note that it is possible for a single HKQuantitySeriesSampleBuilder to produce
+                    multiple samples. If no quantity data was added, then samples will be nil and
+                    an error will be returned. After calling this method, the receiver will be
+                    considered invalid and calling any other method will result in an error.
+ 
+ @param             metadata    Optional metadata may be added to associate with the series.
+                                Predefined keys are found in HKMetadata.h, or custom NSString
+                                keys used by the client are allowed. Acceptable metadata value types
+                                are NSString, NSDate, NSNumber and HKQuantity.
+ @param             endDate     Optional date at which the produced sample(s) end.
+                                An HKErrorInvalidArgument will be returned if endDate
+                                is earlier than the receiver's startDate,
+                                or is earlier than the dateInterval.endDate of any inserted quantity.
+ @param             completion  The completion handler will return the resulting HKQuantitySample(s)
+                                for the series. Note that it is possible for a single
+                                HKQuantitySeriesSampleBuilder to produce multiple samples.
+                                If data could not be inserted because of an authorization failure,
+                                samples will be nil and and an error with code
+                                HKErrorAuthorizationDenied or HKErrorAuthorizationNotDetermined
+                                will be returned. If the resulting sample(s) could not be accessed
+                                after they have been created, then samples will be nil and an error
+                                with code HKErrorDatabaseInaccessible will be returned. Any other
+                                error indicates the resulting samples could not be returned.
+                                After calling this method, the receiver will be considered invalid
+                                and calling any other method will result in an error.
+ */
+- (void)finishSeriesWithMetadata:(nullable NSDictionary<NSString *, id> *)metadata
+                         endDate:(nullable NSDate *)endDate
+                      completion:(void(^)(NSArray<__kindof HKQuantitySample *> * _Nullable samples, NSError * _Nullable error))completion NS_SWIFT_NAME(finishSeries(metadata:endDate:completion:));
+
+/*!
+ @method            finishSeriesWithMetadata:completion:
+ @abstract          Finalizes the series and returns the resulting HKQuantitySample(s).
+ @discussion        Call this method when all quantities for the series have been inserted.
+                    The completion handler will return the resulting HKQuantitySample(s)
+                    Note that it is possible for a single HKQuantitySeriesSampleBuilder to produce
+                    multiple samples. If no quantity data was added, then samples will be nil and
+                    an error will be returned. This method functions as a convenience for
+                    finishSeriesWithMetadata:endDate:completion: when endDate is nil.
+                    After calling this method, the receiver will be considered invalid
+                    and calling any other method will result in an error.
+
+ @param             metadata    Optional metadata may be added to associate with the series.
+                                Predefined keys are found in HKMetadata.h, or custom NSString
+                                keys used by the client are allowed. Acceptable metadata value types
+                                are NSString, NSDate, NSNumber and HKQuantity.
+ @param             completion  The completion handler will return the resulting HKQuantitySample(s)
+                                for the series. Note that it is possible for a single
+                                HKQuantitySeriesSampleBuilder to produce multiple samples.
+                                If data could not be inserted because of an authorization failure,
+                                samples will be nil and and an error with code
+                                HKErrorAuthorizationDenied or HKErrorAuthorizationNotDetermined
+                                will be returned. If the resulting sample(s) could not be accessed
+                                after they have been created, then samples will be nil and an error
+                                with code HKErrorDatabaseInaccessible will be returned. Any other
+                                error indicates the resulting samples could not be returned.
+                                After calling this method, the receiver will be considered invalid
+                                and calling any other method will result in an error.
+ */
+- (void)finishSeriesWithMetadata:(nullable NSDictionary<NSString *, id> *)metadata
+                      completion:(void(^)(NSArray<__kindof HKQuantitySample *> * _Nullable samples, NSError * _Nullable error))completion NS_SWIFT_NAME(finishSeries(metadata:completion:));
+
+/*!
+ @method            discard
+ @abstract          Discards all previously inserted data and invalidates the series.
+ @discussion        Calling this method will delete all quantities that were previously inserted into
+                    the series and invalidate the receiver. Calling other methods on the receiver
+                    after calling -discard will result in an exception.
+ */
+- (void)discard;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantitySeriesSampleQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuantitySeriesSampleQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleQuery.h	2026-04-18 08:30:07
@@ -0,0 +1,90 @@
+//
+//  HKQuantitySeriesSampleQuery.h
+//  HealthKit
+//
+//  Copyright © 2018-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+@class HKQuantitySample;
+
+/*!
+ @class         HKQuantitySeriesSampleQuery
+ @abstract      An HKQuantitySeriesSampleQuery is used to access series data associated with
+                HKQuantitySample(s).
+ @discussion    Once instantiated, call -[HKHealthStore executeQuery:] to begin enumerating
+                the series data.
+                Call -[HKHealthStore stopQuery:] to discontinue further quantity data reporting.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKQuantitySeriesSampleQueryDescriptor", ios(12.0, API_TO_BE_DEPRECATED), watchos(5.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKQuantitySeriesSampleQuery : HKQuery
+
+/*!
+ @property      includeSample
+ @abstract      Include owning HKQuantitySample in quantityHandler handler.
+ @discussion    Default value is NO.
+                If includeSample is set then the quantitySample parameter of quantityHandler will
+                be non-nil anytime the quantity parameter is non-nil.
+                Specifying this option has a performance cost.
+                This property may not be modified once the query has been executed.
+ */
+@property (nonatomic, assign) BOOL includeSample API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      orderByQuantitySampleStartDate
+ @abstract      Order enumerated results first by quantitySample.startDate,
+                then by the quantity's dateInterval.startDate.
+ @discussion    Default value is NO.
+                All quantities owned by a given quantitySample will be
+                enumerated before any quantities owned by any other quantity sample,
+                and the quantity samples will be enumerated in their startDate order.
+                Note that individual quantities may not be returned in their
+                dateInterval.startDate order if more than one quantitySample overlap in time.
+                This property may not be modified once the query has been executed.
+ */
+@property (nonatomic, assign) BOOL orderByQuantitySampleStartDate API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        initWithSample:dataHandler:
+ @abstract      Returns a query that will retrieve HKQuantity objects for samples of a specified
+                type that match the specified predicate.
+ 
+ @param         quantityType        The type of HKQuantitySample to retrieve.
+ @param         predicate           The predicate which the query results should match.
+                                    To query for the quantities for a specific quantity sample
+                                    see: +[HKPredicates predicateForObjectWithUUID:]
+
+ @param         quantityHandler     The block to invoke with results from the query. It will be
+                                    called repeatedly with HKQuantity, and NSDateInterval objects in
+                                    ascending dateInterval.startDate order, until all quantities are
+                                    returned and the done parameter is YES
+                                    or -[HKHealthStore stopQuery:] is called.
+                                    The quantitySample parameter is nil unless includeSample is YES,
+                                    in which case it will be the quantitySample which owns the current
+                                    quantity anytime the quantity paramater is non-nil.
+                                    The stopQuery call can be made within the quantityHandler block.
+                                    Once done is YES, or stopQuery has been called, the query is
+                                    complete and no more calls to quantityHandler will be made.
+ */
+- (instancetype)initWithQuantityType:(HKQuantityType *)quantityType
+                           predicate:(nullable NSPredicate *)predicate
+                     quantityHandler:(void(^NS_SWIFT_SENDABLE)(HKQuantitySeriesSampleQuery *query, HKQuantity * _Nullable quantity, NSDateInterval * _Nullable dateInterval, __kindof HKQuantitySample * _Nullable quantitySample, BOOL done, NSError * _Nullable error))quantityHandler API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+- (instancetype)initWithSample:(HKQuantitySample *)quantitySample
+               quantityHandler:(void(^NS_SWIFT_SENDABLE)(HKQuantitySeriesSampleQuery *query, HKQuantity * _Nullable quantity, NSDate * _Nullable date, BOOL done, NSError * _Nullable error))quantityHandler API_DEPRECATED_WITH_REPLACEMENT("initWithQuantityType:predicate:quantityHandler:", ios(12.0, 13.0), watchos(5.0, 6.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h	2026-04-18 09:54:45
@@ -0,0 +1,721 @@
+//
+//  HKQuery.h
+//  HealthKit
+//
+//  Copyright © 2013-2025 Apple Inc. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKElectrocardiogram.h>
+#import <HealthKit/HKFHIRResource.h>
+#import <HealthKit/HKMedicationDoseEvent.h>
+#import <HealthKit/HKStateOfMind.h>
+#import <HealthKit/HKWorkout.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKObjectType;
+@class HKQuantity;
+@class HKSampleType;
+@class HKSource;
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKQuery : NSObject
+
+@property (readonly, strong, nullable) HKObjectType *objectType API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0));
+@property (readonly, strong, nullable) HKSampleType *sampleType API_DEPRECATED_WITH_REPLACEMENT("objectType", ios(8.0, 9.3), watchos(2.0, 2.2));
+
+@property (readonly, strong, nullable) NSPredicate *predicate;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+/**
+ @enum      HKQueryOptions
+ @abstract  Time interval options are used to describe how an HKSample's time period overlaps with a given time period.
+ 
+ @constant  HKQueryOptionNone               The sample's time period must overlap with the predicate's time period.
+ @constant  HKQueryOptionStrictStartDate    The sample's start date must fall in the time period (>= startDate, < endDate)
+ @constant  HKQueryOptionStrictEndDate      The sample's end date must fall in the time period (>= startDate, < endDate)
+ 
+ */
+typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
+    HKQueryOptionNone               = 0,
+    HKQueryOptionStrictStartDate    = 1 << 0,
+    HKQueryOptionStrictEndDate      = 1 << 1,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+@interface HKQuery (HKObjectPredicates)
+
+/*!
+ @method        predicateForObjectsWithMetadataKey:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches objects with metadata that contains a given key.
+ 
+ @param         key     The metadata key.
+ */
++ (NSPredicate *)predicateForObjectsWithMetadataKey:(NSString *)key;
+
+/*!
+ @method        predicateForObjectsWithMetadataKey:allowedValues:
+ @abstract      Creates a predicate for use with HKQuery subclasses
+ @discussion    Creates a query predicate that matches objects with metadata containing a value the matches one of the
+                given values for the given key.
+ 
+ @param         key             The metadata key.
+ @param         allowedValues   The list of values that the metadata value can be equal to.
+ */
++ (NSPredicate *)predicateForObjectsWithMetadataKey:(NSString *)key allowedValues:(NSArray *)allowedValues;
+
+/*!
+ @method        predicateForObjectsWithMetadataKey:operatorType:value:
+ @abstract      Creates a predicate for use with HKQuery subclasses
+ @discussion    Creates a query predicate that matches objects with a value for a given metadata key matches the given
+                operator type and value.
+ 
+ @param         key            The metadata key.
+ @param         operatorType   The comparison operator type for the expression.
+ @param         value          The value to be compared against.
+ */
++ (NSPredicate *)predicateForObjectsWithMetadataKey:(NSString *)key operatorType:(NSPredicateOperatorType)operatorType value:(id)value;
+
+/*!
+ @method        predicateForObjectsFromSource:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches objects saved by a given source.
+ 
+ @param         source  The source.
+ */
++ (NSPredicate *)predicateForObjectsFromSource:(HKSource *)source;
+
+/*!
+ @method        predicateForObjectsFromSources:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches objects saved by any of the given sources.
+ 
+ @param         sources The list of sources.
+ */
++ (NSPredicate *)predicateForObjectsFromSources:(NSSet<HKSource *> *)sources;
+
+/*!
+ @method        predicateForObjectsFromSourceRevisions:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches objects saved by any of the specified HKSourceRevisions.
+ 
+ @param         sourceRevisions The list of source revisions.
+ */
++ (NSPredicate *)predicateForObjectsFromSourceRevisions:(NSSet<HKSourceRevision *> *)sourceRevisions API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        predicateForObjectsFromDevices:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches objects associated with any of the given devices. All properties
+                of each HKDevice are considered in the query and must match exactly, including nil values. To perform 
+                searches based on specific device properties, use predicateForObjectsWithDeviceProperty:allowedValues:.
+ 
+ @param         devices     The set of devices that generated data.
+ */
++ (NSPredicate *)predicateForObjectsFromDevices:(NSSet<HKDevice *> *)devices API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        predicateForObjectsWithDeviceProperty:allowedValues:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches objects associated with an HKDevice with the specified device
+                property matching any value included in allowedValues. To query for samples with devices that match all 
+                the properties of an HKDevice, use predicateForObjectsFromDevices.
+ 
+ @param         key             The device property key. (See HKDevice.h)
+ @param         allowedValues   The set of values for which the device property can match. An empty set will match all
+                devices whose property value is nil.
+ */
++ (NSPredicate *)predicateForObjectsWithDeviceProperty:(NSString *)key allowedValues:(NSSet<NSString *> *)allowedValues API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        predicateForObjectWithUUID:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches the object saved with a particular UUID.
+ 
+ @param         UUID The UUID of the object.
+ */
++ (NSPredicate *)predicateForObjectWithUUID:(NSUUID *)UUID;
+
+/*!
+ @method        predicateForObjectsWithUUIDs:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches the objects saved with one of the given UUIDs.
+ 
+ @param         UUIDs The set of NSUUIDs.
+ */
++ (NSPredicate *)predicateForObjectsWithUUIDs:(NSSet<NSUUID *> *)UUIDs;
+
+/*!
+ @method        predicateForObjectsNoCorrelation
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches the objects that are not associated with an HKCorrelation.
+ */
++ (NSPredicate *)predicateForObjectsWithNoCorrelation;
+
+/*!
+ @method        predicateForObjectsFromWorkout:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches the objects that have been added to the given workout.
+ 
+ @param         workout     The HKWorkout that the object was added to.
+ */
++ (NSPredicate *)predicateForObjectsFromWorkout:(HKWorkout *)workout;
+
+/*!
+ @method        predicateForObjectsAssociatedWithElectrocardiogram:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches the objects that have been added to the given electrocardiogram
+ 
+ @param         electrocardiogram     The HKElectrocardiogram that the object was added to.
+ */
++ (NSPredicate *)predicateForObjectsAssociatedWithElectrocardiogram:(HKElectrocardiogram *)electrocardiogram API_AVAILABLE(ios(14.0), watchos(7.0)) NS_SWIFT_NAME(predicateForObjectsAssociated(electrocardiogram:));
+
+/*!
+ @method        predicateForWorkoutEffortSamplesRelatedToWorkout:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches Workout Effort samples that have been related to the given workout
+ 
+ @param         workout     The HKWorkout that the object is related to.
+ @param         activity    The HKWorkoutActivity that the object is related to.
+
+ */
++ (NSPredicate *)predicateForWorkoutEffortSamplesRelatedToWorkout:(HKWorkout *)workout activity:(nullable HKWorkoutActivity *)activity API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))NS_SWIFT_NAME(predicateForWorkoutEffortSamplesRelated(workout:activity:));
+
+@end
+
+
+@interface HKQuery (HKSamplePredicates)
+
+/*!
+ @method        predicateForSamplesWithStartDate:endDate:options:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches samples with a startDate and an endDate that lie inside of a
+                given time interval.
+ 
+ @param         startDate  The start date of the predicate's time interval.
+ @param         endDate    The end date of the predicate's time interval.
+ @param         options    The rules for how a sample's time interval overlaps with the predicate's time interval.
+ */
++ (NSPredicate *)predicateForSamplesWithStartDate:(nullable NSDate *)startDate endDate:(nullable NSDate *)endDate options:(HKQueryOptions)options;
+
+@end
+
+
+@interface HKQuery (HKQuantitySamplePredicates)
+
+/*!
+ @method        predicateForQuantitySamplesWithOperatorType:quantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches quantity samples with values that match the expression formed by
+                the given operator and quantity.
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         quantity        The quantity that the sample's quantity is being compared to. It is the right hand side
+                                of the expression.
+ */
++ (NSPredicate *)predicateForQuantitySamplesWithOperatorType:(NSPredicateOperatorType)operatorType quantity:(HKQuantity *)quantity;
+
+@end
+
+@interface HKQuery (HKCategorySamplePredicates)
+
+/*!
+ @method        predicateForCategorySamplesWithOperatorType:value:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches category samples with values that match the expression formed by 
+                the given operator and value.
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         value           The value that the sample's value is being compared to. It is the right hand side of the
+                                expression.
+ */
+#if defined(__swift__) && __swift__
++ (NSPredicate *)predicateForCategorySamplesWithOperatorType:(NSPredicateOperatorType)operatorType value:(NSInteger)value API_DEPRECATED("Use HKCategoryValuePredicateProviding.predicateForSamples(_:value:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+#else
++ (NSPredicate *)predicateForCategorySamplesWithOperatorType:(NSPredicateOperatorType)operatorType value:(NSInteger)value;
+#endif // defined(__swift__) && __swift__
+
+/*!
+ @method predicateForCategorySamplesEqualToValues:
+ @abstract Creates a predicate for use with HKQuery subclasses.
+ @discussion Creates a query predicate that matches all specified category values.
+ */
++ (NSPredicate *)predicateForCategorySamplesEqualToValues:(NSSet<NSNumber *> *)values NS_REFINED_FOR_SWIFT;
+
+@end
+
+@interface HKQuery (HKWorkoutPredicates)
+
+/*!
+ @method        predicateForWorkoutsWithWorkoutActivityType:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts with the given HKWorkoutActivityType.
+ 
+ @param         workoutActivityType     The HKWorkoutActivity type of the workout
+ */
++ (NSPredicate *)predicateForWorkoutsWithWorkoutActivityType:(HKWorkoutActivityType)workoutActivityType;
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:duration:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and duration
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         duration        The value that the workout's duration is being compared to. It is the right hand side of the
+                                expression.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType duration:(NSTimeInterval)duration;
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:totalEnergyBurned:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and totalEnergyBurned
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         totalEnergyBurned   The value that the workout's totalEnergyBurned is being compared to. It is the right hand side of the
+                                    expression. The unit for this value should be of type Energy.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType totalEnergyBurned:(HKQuantity *)totalEnergyBurned API_DEPRECATED("Use predicateForWorkoutsWithOperatorType:quantityType:sumQuantity: passing the HKQuantityType for HKQuantityTypeIdentifierActiveEnergyBurned", ios(8.0, 18.0), watchos(2.0, 11.0), macCatalyst(13.0, 18.0), macos(13.0, 15.0));
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:totalDistance:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and totalEnergyBurned
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         totalDistance   The value that the workout's totalEnergyBurned is being compared to. It is the right hand side of the
+                                expression. The unit for this value should be of type Distance.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType totalDistance:(HKQuantity *)totalDistance API_DEPRECATED("Use predicateForWorkoutsWithOperatorType:quantityType:sumQuantity: passing the HKQuantityType for the desired distance type", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED), macCatalyst(13.0, API_TO_BE_DEPRECATED), macos(13.0, API_TO_BE_DEPRECATED));
+/*!
+ @method        predicateForWorkoutsWithOperatorType:totalSwimmingStrokeCount:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and totalSwimmingStrokeCount
+ 
+ @param         operatorType                The operator type for the expression.
+ @param         totalSwimmingStrokeCount    The value that the workout's totalSwimmingStrokeCount is being compared to.
+                                            It is the right hand side of the expression. The unit for this value should
+                                            be of type Count.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType totalSwimmingStrokeCount:(HKQuantity *)totalSwimmingStrokeCount API_DEPRECATED("Use predicateForWorkoutsWithOperatorType:quantityType:sumQuantity: passing the HKQuantityType for HKQuantityTypeIdentifierSwimmingStrokeCount", ios(10.0, 18.0), watchos(3.0, 11.0), macCatalyst(13.0, 18.0), macos(13.0, 15.0));
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:totalFlightsClimbed:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and totalFlightsClimbed
+ 
+ @param         operatorType                The operator type for the expression.
+ @param         totalFlightsClimbed         The value that the workout's totalFlightsClimbed is being compared to.
+                                            It is the right hand side of the expression. The unit for this value should
+                                            be of type Count.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType totalFlightsClimbed:(HKQuantity *)totalFlightsClimbed API_DEPRECATED("Use predicateForWorkoutsWithOperatorType:quantityType:sumQuantity: passing the HKQuantityType for HKQuantityTypeIdentifierFlightsClimbed", ios(11.0, 18.0), watchos(4.0, 11.0), macCatalyst(13.0, 18.0), macos(13.0, 15.0));
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:quantityType:sumQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and sumQuantity in the statistics for
+                the specified type.
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         quantityType    The quantity type to compare statistics for. Should be a cumulative quantity type.
+ @param         sumQuantity     The sum value that the workout statistics are being compared to. The unit for this value should
+                                match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType
+                                         quantityType:(HKQuantityType *)quantityType
+                                          sumQuantity:(HKQuantity *)sumQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkouts(operatorType:quantityType:sumQuantity:));
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:quantityType:minimumQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and minimumQuantity in the statistics
+                for the specified type.
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         quantityType        The quantity type to compare statistics for. Should be a discrete quantity type.
+ @param         minimumQuantity     The minumum value that the workout statistics are being compared to. The unit for this value should
+                                    match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType
+                                         quantityType:(HKQuantityType *)quantityType
+                                      minimumQuantity:(HKQuantity *)minimumQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkouts(operatorType:quantityType:minimumQuantity:));
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:quantityType:maximumQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and maximumQuantity in the statistics
+                for the specified type.
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         quantityType        The quantity type to compare statistics for. Should be a discrete quantity type.
+ @param         maximumQuantity     The maximum value that the workout statistics are being compared to. The unit for this value should
+                                    match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType
+                                         quantityType:(HKQuantityType *)quantityType
+                                      maximumQuantity:(HKQuantity *)maximumQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkouts(operatorType:quantityType:maximumQuantity:));
+
+/*!
+ @method        predicateForWorkoutsWithOperatorType:quantityType:averageQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkouts by the given operator type and averageQuantity in the statistics
+                for the specified type.
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         quantityType        The quantity type to compare statistics for. Should be a discrete quantity type.
+ @param         averageQuantity     The average value that the workout statistics are being compared to. The unit for this value should
+                                    match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutsWithOperatorType:(NSPredicateOperatorType)operatorType
+                                         quantityType:(HKQuantityType *)quantityType
+                                      averageQuantity:(HKQuantity *)averageQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkouts(operatorType:quantityType:averageQuantity:));
+
+@end
+
+@interface HKQuery (HKWorkoutActivityPredicates)
+
+/*!
+ @method        predicateForWorkoutActivitiesWithWorkoutActivityType:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objects with the given HKWorkoutActivityType.
+                The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate: before being used in a query.
+ 
+ @param         workoutActivityType     The HKWorkoutActivity type of the workout
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithWorkoutActivityType:(HKWorkoutActivityType)workoutActivityType API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(workoutActivityType:));
+
+/*!
+ @method        predicateForWorkoutActivitiesWithOperatorType:duration:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objects by the given operator type and duration.
+                The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate: before being used in a query.
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         duration        The value that the workout's duration is being compared to. It is the right hand side of the
+                                expression.
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithOperatorType:(NSPredicateOperatorType)operatorType
+                                                      duration:(NSTimeInterval)duration API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(operatorType:duration:));
+
+/*!
+ @method        predicateForWorkoutActivitiesWithStartDate:endDate:options:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objects with a startDate and an endDate that lie inside of a
+                given time interval. The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate:
+                before being used in a query.
+ 
+ @param         startDate   The start date of the predicate's time interval.
+ @param         endDate     The end date of the predicate's time interval.
+ @param         options     The rules for how a activity's time interval overlaps with the predicate's time interval.
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithStartDate:(nullable NSDate *)startDate
+                                                    endDate:(nullable NSDate *)endDate
+                                                    options:(HKQueryOptions)options API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(start:end:options:));
+
+/*!
+ @method        predicateForWorkoutActivitiesWithOperatorType:quantityType:sumQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objetcs by the given operator type and sumQuantity in the
+                statistics for the specified type. The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate:
+                before being used in a query.
+ 
+ @param         operatorType    The operator type for the expression.
+ @param         quantityType    The quantity type to compare statistics for. Should be a cumulative quantity type.
+ @param         sumQuantity     The sum value that the activity statistics are being compared to. The unit for this value should
+                                match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithOperatorType:(NSPredicateOperatorType)operatorType
+                                                  quantityType:(HKQuantityType *)quantityType
+                                                   sumQuantity:(HKQuantity *)sumQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(operatorType:quantityType:sumQuantity:));
+
+/*!
+ @method        predicateForWorkoutActivitiesWithOperatorType:quantityType:minimumQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objetcs  by the given operator type and minimumQuantity in the
+                statistics for the specified type. The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate:
+                before being used in a query.
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         quantityType        The quantity type to compare statistics for. Should be a discrete quantity type.
+ @param         minimumQuantity     The minumum value that the activty statistics are being compared to. The unit for this value should
+                                    match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithOperatorType:(NSPredicateOperatorType)operatorType
+                                                  quantityType:(HKQuantityType *)quantityType
+                                               minimumQuantity:(HKQuantity *)minimumQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(operatorType:quantityType:minimumQuantity:));
+
+/*!
+ @method        predicateForWorkoutActivitiesWithOperatorType:quantityType:maximumQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objetcs by the given operator type and maximumQuantity in the
+                statistics for the specified type. The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate:
+                before being used in a query.
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         quantityType        The quantity type to compare statistics for. Should be a discrete quantity type.
+ @param         maximumQuantity     The maximum value that the activity statistics are being compared to. The unit for this value should
+                                    match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithOperatorType:(NSPredicateOperatorType)operatorType
+                                                  quantityType:(HKQuantityType *)quantityType
+                                               maximumQuantity:(HKQuantity *)maximumQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(operatorType:quantityType:maximumQuantity:));
+
+/*!
+ @method        predicateForWorkoutActivitiesWithOperatorType:quantityType:averageQuantity:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKWorkoutActivity objetcs by the given operator type and averageQuantity in the
+                statistics for the specified type. The resulting predicate should be wrapped using predicateForWorkoutsWithActivityPredicate:
+                before being used in a query.
+ 
+ @param         operatorType        The operator type for the expression.
+ @param         quantityType        The quantity type to compare statistics for. Should be a discrete quantity type.
+ @param         averageQuantity     The average value that the activity statistics are being compared to. The unit for this value should
+                                    match the allowed values for the quantityType.
+ */
++ (NSPredicate *)predicateForWorkoutActivitiesWithOperatorType:(NSPredicateOperatorType)operatorType
+                                                  quantityType:(HKQuantityType *)quantityType
+                                               averageQuantity:(HKQuantity *)averageQuantity API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkoutActivities(operatorType:quantityType:averageQuantity:));
+
+/*!
+ @method        predicateForWorkoutsWithActivityPredicate:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches workouts containing an activity matching the passed predicate.
+ 
+ @param         activityPredicate   The predicate on the activities of the workout
+ */
++ (NSPredicate *)predicateForWorkoutsWithActivityPredicate:(NSPredicate *)activityPredicate API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_SWIFT_NAME(predicateForWorkouts(activityPredicate:));
+
+@end
+
+@interface HKQuery (HKActivitySummaryPredicates)
+
+/*!
+ @method        predicateForActivitySummaryWithDateComponents:
+ @abstract      Creates a predicate for use with HKActivitySummaryQuery
+ @discussion    Creates a query predicate that matches HKActivitySummaries with the given date components.
+ 
+ @param         dateComponents  The date components of the activity summary. These date components should contain era, year, month,
+                and day components in the gregorian calendar.
+ */
++ (NSPredicate *)predicateForActivitySummaryWithDateComponents:(NSDateComponents *)dateComponents API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        predicateForActivitySummariesBetweenStartDateComponents:endDateComponents:
+ @abstract      Creates a predicate for use with HKActivitySummaryQuery
+ @discussion    Creates a query predicate that matches HKActivitySummaries that fall between the given date components.
+ 
+ @param         startDateComponents The date components that define the beginning of the range. These date components should contain 
+                era, year, month, and day components in the gregorian calendar.
+ 
+ @param         endDateComponents   The date components that define the end of the range. These date components should contain era, 
+                year, month, and day components in the gregorian calendar.
+ */
++ (NSPredicate *)predicateForActivitySummariesBetweenStartDateComponents:(NSDateComponents *)startDateComponents endDateComponents:(NSDateComponents *)endDateComponents API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0));
+
+@end
+
+@interface HKQuery (HKClinicalRecordPredicates)
+
+/*!
+ @method        predicateForClinicalRecordsWithFHIRResourceType:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKClinicalRecords with a specific FHIR resource type.
+ 
+ @param         resourceType    The FHIR resource type.
+ */
++ (NSPredicate *)predicateForClinicalRecordsWithFHIRResourceType:(HKFHIRResourceType)resourceType API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+/*!
+ @method        predicateForClinicalRecordsFromSource:withFHIRResourceType:identifier:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKClinicalRecords for a given source, FHIR resource type, and FHIR identifier.
+ 
+ @param         source          The source.
+ @param         resourceType    The FHIR resource type.
+ @param         identifier      The FHIR identifier.
+ */
++ (NSPredicate *)predicateForClinicalRecordsFromSource:(HKSource *)source
+                                      FHIRResourceType:(HKFHIRResourceType)resourceType
+                                            identifier:(NSString *)identifier API_AVAILABLE(ios(12.0), macCatalyst(13.0), macos(13.0)) API_UNAVAILABLE(watchos);
+
+@end
+
+@interface HKQuery (HKElectrocardiogramPredicates)
+
+/*!
+ @method        predicateForElectrocardiogramsWithClassification:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKElectrocardiograms with a specific classification.
+ 
+ @param         classification    The classification for the electrocardiogram.
+ */
++ (NSPredicate *)predicateForElectrocardiogramsWithClassification:(HKElectrocardiogramClassification)classification API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)) NS_SWIFT_NAME(predicateForElectrocardiograms(classification:));
+
+/*!
+ @method        predicateForElectrocardiogramsWithSymptomsStatus:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKElectrocardiograms with a specificied symptoms status.
+ 
+ @param         symptomsStatus    The symptoms status for the electrocardiogram.
+ */
++ (NSPredicate *)predicateForElectrocardiogramsWithSymptomsStatus:(HKElectrocardiogramSymptomsStatus)symptomsStatus API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)) NS_SWIFT_NAME(predicateForElectrocardiograms(symptomsStatus:));
+
+@end
+
+@interface HKQuery (HKVerifiableClinicalRecordPredicates)
+
+/**
+ @method        predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a predicate that matches HKVerifiableClinicalRecords with a relevant date within a date interval.
+ 
+ @param         dateInterval      The date interval that the record's relevant date is in.
+ */
++ (NSPredicate *)predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:(NSDateInterval *)dateInterval API_AVAILABLE(ios(15.0), macCatalyst(15.0), macos(13.0)) NS_SWIFT_NAME(predicateForVerifiableClinicalRecords(withRelevantDateWithin:));
+
+@end
+
+@interface HKQuery (HKStateOfMind)
+
+/**
+ @method        predicateForStatesOfMindWithValence:operatorType:
+ @abstract      Creates a predicate for use with HKStateOfMind
+ @discussion    Creates a query predicate that matches HKStateOfMind samples that have a valence property matching the operator type and valence.
+ 
+ @param         valence The value to be compared against.
+ @param         operatorType The comparison operator type for the expression.
+ */
++ (NSPredicate *)predicateForStatesOfMindWithValence:(double)valence
+                                        operatorType:(NSPredicateOperatorType)operatorType;
+
+/**
+ @method        predicateForStatesOfMindWithKind:
+ @abstract      Creates a predicate for use with HKStateOfMind
+ @discussion    Creates a query predicate that matches HKStateOfMind samples that have the specified kind of feeling type.
+ 
+ @param         kind The kind of feeling type to be compared against.
+ */
++ (NSPredicate *)predicateForStatesOfMindWithKind:(HKStateOfMindKind)kind;
+
+/**
+ @method        predicateForStatesOfMindWithLabel:
+ @abstract      Creates a predicate for use with HKStateOfMind
+ @discussion    Creates a query predicate that matches HKStateOfMind samples that have the specified label.
+ 
+ @param         label The label to be compared against.
+ */
++ (NSPredicate *)predicateForStatesOfMindWithLabel:(HKStateOfMindLabel)label;
+
+/**
+ @method        predicateForStatesOfMindWithAssociation:
+ @abstract      Creates a predicate for use with HKStateOfMind
+ @discussion    Creates a query predicate that matches HKStateOfMind samples that have the specified association.
+ 
+ @param         association The association to be compared against.
+ */
++ (NSPredicate *)predicateForStatesOfMindWithAssociation:(HKStateOfMindAssociation)association;
+
+@end
+
+@interface HKQuery (HKMedicationDoseEvent)
+
+/*!
+ @method        predicateForMedicationDoseEventWithStatus:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples that have the status specified.
+ 
+ @param         status    The logged status of the medication dose event to match.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithStatus:(HKMedicationDoseEventLogStatus)status API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(status:));
+
+/*!
+ @method        predicateForMedicationDoseEventWithStatuses:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples that have any of the statuses specified.
+ 
+ @param         statuses    The logged statuses of the medication dose event to match.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithStatuses:(NSSet<NSNumber *> *)statuses API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(statuses:)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @method        predicateForMedicationDoseEventWithScheduledDate:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples that have the exact scheduled date specified.
+ 
+ @param         scheduledDate    The exact scheduled date of the medication dose event to match.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithScheduledDate:(NSDate *)scheduledDate API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(scheduledDate:));
+
+/*!
+ @method        predicateForMedicationDoseEventWithScheduledDates:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples that have any of the exact scheduled dates specified.
+ 
+ @param         scheduledDates    The exact scheduled dates of any medication dose event to match.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithScheduledDates:(NSSet<NSDate *> *)scheduledDates API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(scheduledDates:));
+
+/*!
+ @method        predicateForMedicationDoseEventWithScheduledStartDate:endDate:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples that have a scheduled date within a window of scheduled times. If nil is provided to either parameter, the respective side of the window is unbound.
+ 
+ @param         startDate    The beginning of the window for scheduled dates of any medication dose event to match.
+ @param         endDate    The beginning of the window for scheduled dates of any medication dose event to match.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithScheduledStartDate:(nullable NSDate *)startDate
+                                                               endDate:(nullable NSDate *)endDate API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(scheduledStart:end:));
+
+/*!
+ @method        predicateForMedicationDoseEventWithMedicationConceptIdentifier:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples that match a medication's concept identifier.
+ 
+ @param         medicationConceptIdentifier    The identifier of the medication that a dose event was created for.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithMedicationConceptIdentifier:(HKHealthConceptIdentifier *)medicationConceptIdentifier API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(medicationConceptIdentifier:));
+
+/*!
+ @method        predicateForMedicationDoseEventWithMedicationConceptIdentifiers:
+ @abstract      Creates a predicate for use with HKQuery subclasses.
+ @discussion    Creates a query predicate that matches HKMedicationDoseEvent samples generated by any medication in a set of medication concept identifiers.
+ 
+ @param         medicationConceptIdentifiers    Any identifier of a medication that a dose event was created for.
+ */
++ (NSPredicate *)predicateForMedicationDoseEventWithMedicationConceptIdentifiers:(NSSet<HKHealthConceptIdentifier *> *)medicationConceptIdentifiers API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForMedicationDoseEvent(medicationConceptIdentifiers:));
+
+@end
+
+@interface HKQuery (HKUserAnnotatedMedications)
+
+/*!
+ @method        predicateForUserAnnotatedMedicationsWithIsArchived:
+ @abstract      Creates a predicate for use with HKUserAnnotatedMedicationQuery.
+ @discussion    Creates a query predicate that matches HKUserAnnotatedMedication objects that have the archived status specified.
+ 
+ @param         isArchived    The archived status of the medication. Ex: True will match medications in the archived section in the Health App.
+ */
++ (NSPredicate *)predicateForUserAnnotatedMedicationsWithIsArchived:(BOOL)isArchived API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForUserAnnotatedMedications(isArchived:));
+
+/*!
+ @method        predicateForUserAnnotatedMedicationsWithHasSchedule:
+ @abstract      Creates a predicate for use with HKUserAnnotatedMedicationQuery.
+ @discussion    Creates a query predicate that matches HKUserAnnotatedMedication objects that match the schedule status specified.
+ 
+ @param         hasSchedule    The schedule status of the medication. Ex: True will match medications that have a reminders schedule set up in the Health App.
+ */
++ (NSPredicate *)predicateForUserAnnotatedMedicationsWithHasSchedule:(BOOL)hasSchedule API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0)) NS_SWIFT_NAME(predicateForUserAnnotatedMedications(hasSchedule:));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQueryAnchor.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryAnchor.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQueryAnchor.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryAnchor.h	2026-04-18 09:54:44
@@ -0,0 +1,33 @@
+//
+//  HKQueryAnchor.h
+//  HealthKit
+//
+//  Copyright © 2019-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKQueryAnchor
+ @discussion    This object encapsulates the state of an HKAnchoredObjectQuery
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKQueryAnchor : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @method        anchorFromValue:
+ @discussion    Creates an HKQueryAnchor with an integer anchor which was previously obtained from an
+                HKAnchoredObjectQuery prior to iOS 9.0.
+ */
++ (instancetype)anchorFromValue:(NSUInteger)value;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQueryDescriptor.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKQueryDescriptor.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h	2026-04-18 09:54:44
@@ -0,0 +1,46 @@
+//
+//  HKQueryDescriptor.h
+//  HealthKit
+//
+//  Copyright © 2021-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKObjectType.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0))
+@interface HKQueryDescriptor : NSObject<NSCopying, NSSecureCoding>
+
+/*!
+ @property      sampleType
+ @abstract      The type of sample to retrieve in an HKQuery.
+ */
+@property (nonatomic, readonly, copy) HKSampleType *sampleType;
+
+/*!
+ @property      predicate
+ @abstract      The predicate which samples should match.
+ */
+@property (nonatomic, readonly, copy, nullable) NSPredicate *predicate;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ @method        initWithSampleType:predicate:
+ @abstract      Returns a query descriptor that describes a data type and predicate to be used in an HKQuery.
+ 
+ @param         sampleType      The type of sample to retrieve.
+ @param         predicate       The predicate which samples should match.
+*/
+- (instancetype)initWithSampleType:(HKSampleType *)sampleType
+                         predicate:(nullable NSPredicate *)predicate NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSample.h	2026-04-18 09:54:44
@@ -0,0 +1,48 @@
+//
+//  HKSample.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKObject.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKSampleType;
+
+/*!
+ @class         HKSample
+ @abstract      An abstract class representing measurements taken over a period of time.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKSample : HKObject
+
+@property (readonly, copy) HKSampleType *sampleType;
+
+@property (readonly, strong) NSDate *startDate;
+@property (readonly, strong) NSDate *endDate;
+
+/*!
+ @property      hasUndeterminedDuration
+ @abstract      Indicates whether a sample has an undetermined duration.
+ @discussion    Computed based on the endDate of a sample.
+ */
+@property (readonly) BOOL hasUndeterminedDuration API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0));
+
+
+@end
+
+// Sort Identifiers
+HK_EXTERN NSString * const HKSampleSortIdentifierStartDate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKSampleSortIdentifierEndDate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+// Predicate Key Paths
+HK_EXTERN NSString * const HKPredicateKeyPathStartDate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKPredicateKeyPathEndDate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSampleQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSampleQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h	2026-04-18 09:54:44
@@ -0,0 +1,95 @@
+//
+//  HKSampleQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKQueryDescriptor.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+// The query returns all samples that match the given sampleType and predicate.
+static const NSUInteger HKObjectQueryNoLimit = 0;
+
+/*!
+ @class         HKSampleQuery
+ @abstract      A concrete subclass of HKQuery that provides an interface to retrieve HKSample objects.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKSampleQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKSampleQuery : HKQuery
+
+/*!
+ @property      limit
+ @abstract      The maximum number of results the receiver will return upon completion.
+ */
+@property (readonly) NSUInteger limit;
+
+/*!
+ @property      sortDescriptors
+ @abstract      An array of NSSortDescriptors.
+ */
+@property (readonly, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptors;
+
+/*!
+ @method        initWithSampleType:predicate:limit:sortDescriptors:resultsHandler:
+ @abstract      Returns a query that will retrieve HKSamples matching the given predicate.
+ 
+ @param         sampleType      The type of sample to retrieve.
+ @param         predicate       The predicate which samples should match.
+ @param         limit           The maximum number of samples to return.  Pass HKObjectQueryNoLimit for no limit.
+ @param         sortDescriptors The sort descriptors to use to order the resulting samples.
+ @param         resultsHandler  The block to invoke with results when the query has finished executing.
+ */
+- (instancetype)initWithSampleType:(HKSampleType *)sampleType
+                         predicate:(nullable NSPredicate *)predicate
+                             limit:(NSUInteger)limit
+                   sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors
+                    resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKSampleQuery *query, NSArray<__kindof HKSample *> * _Nullable results, NSError * _Nullable error))resultsHandler;
+
+/*!
+ @method        initWithQueryDescriptors:limit:resultsHandler:
+ @abstract      Returns a query that will retrieve HKSamples matching any of the given queryDescriptors.
+ 
+ @param         queryDescriptors          An array of query descriptors that describes the sample types and predicates
+                                          used for querying.
+ @param         limit                     The maximum number of samples to return. Pass HKObjectQueryNoLimit
+                                          for no limit.
+ @param         resultsHandler            The block to invoke with results when the query has finished executing. This
+                                          block is invoked once with results, an array of HKSamples matching the
+                                          queryDescriptors passed in, or nil if an error occurred.
+ */
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+                                   limit:(NSInteger)limit
+                          resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKSampleQuery *query, NSArray<__kindof HKSample *> * _Nullable results, NSError * _Nullable error))resultsHandler API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+
+/*!
+ @method        initWithQueryDescriptors:limit:sortDescriptors:resultsHandler:
+ @abstract      Returns a query that will retrieve HKSamples matching any of the given queryDescriptors.
+ 
+ @param         queryDescriptors          An array of query descriptors that describes the sample types and predicates
+                                          used for querying.
+ @param         limit                     The maximum number of samples to return. Pass HKObjectQueryNoLimit
+                                          for no limit.
+ @param         sortDescriptors           The sort descriptors to use to order the resulting samples.
+ @param         resultsHandler            The block to invoke with results when the query has finished executing. This
+                                          block is invoked once with results, an array of HKSamples matching the
+                                          queryDescriptors passed in, or nil if an error occurred. The HKSamples in the
+                                          array are sorted by the specified sortDescriptors.
+ */
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+                                   limit:(NSInteger)limit
+                         sortDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors
+                          resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKSampleQuery *query, NSArray<__kindof HKSample *> * _Nullable results, NSError * _Nullable error))resultsHandler API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0));
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKScoredAssessment.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKScoredAssessment.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKScoredAssessment.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKScoredAssessment.h	2026-04-18 09:54:45
@@ -0,0 +1,31 @@
+//
+//  HKScoredAssessment.h
+//  HealthKit
+//
+//  Copyright © 2023-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKScoredAssessment
+ @abstract      An abstract HKSample subclass representing the results of a scored assessment.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))
+@interface HKScoredAssessment : HKSample <NSSecureCoding, NSCopying>
+
+/// The score determined by the answers on an assessment
+@property (nonatomic, assign, readonly) NSInteger score;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSeriesBuilder.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSeriesBuilder.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSeriesBuilder.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSeriesBuilder.h	2026-04-18 09:54:41
@@ -0,0 +1,40 @@
+//
+//  HKSeriesBuilder.h
+//  HealthKit
+//
+//  Copyright © 2015 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKSeriesBuilder
+ @abstract      An HKSeriesBuilder is an abstract class for generating HKSeriesSample objects. 
+                Concrete subclasses generate the actual HKSeriesSample objects.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+@interface HKSeriesBuilder : NSObject
+
+/*!
+ @method        discard
+ @abstract      Stop series generation and discard all collected data.
+ @discussion    This method informs the receiver that no more data should be collected and all
+                previously collected data should be deleted and the receiver will be considered
+                invalid. Any further calls to the receiver will result in an exception.
+ */
+- (void)discard;
+
+
+/*!
+ @method        init
+ @abstract      Use only subclass initializer methods.
+ */
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSeriesSample.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSeriesSample.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSeriesSample.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSeriesSample.h	2026-04-18 09:54:42
@@ -0,0 +1,32 @@
+//
+//  HKSeriesSample.h
+//  HealthKit
+//
+//  Copyright © 2015 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKSeriesSample
+ @abstract      This class represents a type of HKSample that references a series of data.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+@interface HKSeriesSample : HKSample
+
+/*!
+ @property      count
+ @abstract      The number of individual series datum represented by the receiver and accessible
+                through the appropriate HKQuery series subclass.
+ */
+@property (readonly) NSUInteger count;
+
+@end
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSource.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSource.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSource.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSource.h	2026-04-18 09:54:43
@@ -0,0 +1,45 @@
+//
+//  HKSource.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class     HKSource
+ @abstract  Represents the entity that created an object stored by HealthKit.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKSource : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property      name
+ @abstract      The name of the source represented by the receiver.  If the source is an app, then the name is the
+                localized name of the app.
+ */
+@property (readonly, strong) NSString *name;
+
+/*!
+ @property  bundleIdentifier
+ @abstract  The bundle identifier of the source represented by the receiver.
+ */
+@property (readonly, strong) NSString *bundleIdentifier;
+
+/*!
+ @method    defaultSource
+ @abstract  Returns the source representing the calling application.
+ */
++ (HKSource *)defaultSource;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSourceQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSourceQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceQuery.h	2026-04-18 09:54:44
@@ -0,0 +1,42 @@
+//
+//  HKSourceQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKSourceQuery
+ @abstract      A query that returns a set of sources that have saved objects matching certain criteria.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKSourceQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKSourceQuery : HKQuery
+
+/*!
+ @method        initWithSampleType:samplePredicate:completionHandler:
+ @abstract      Returns a query that will retrieve HKSources that have saved samples of the given type matching the 
+                given predicate.
+ 
+ @param         sampleType          The type of sample.
+ @param         objectPredicate     The predicate which samples must match.
+ @param         completionHandler   The block to be called when the query has finished executing.
+ */
+- (instancetype)initWithSampleType:(HKSampleType *)sampleType
+                   samplePredicate:(nullable NSPredicate *)objectPredicate
+                 completionHandler:(void(^NS_SWIFT_SENDABLE)(HKSourceQuery *query, NSSet<HKSource *> * _Nullable sources, NSError * _Nullable error))completionHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSourceRevision.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceRevision.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKSourceRevision.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceRevision.h	2026-04-18 09:54:45
@@ -0,0 +1,78 @@
+//
+//  HKSourceRevision.h
+//  HealthKit
+//
+//  Copyright © 2015-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKSource;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKSourceRevision
+ @abstract      Represents a specific revision of an HKSource.
+ */
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKSourceRevision : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property      source
+ @abstract      The HKSource of the receiver.
+ */
+@property (readonly) HKSource *source;
+
+/*!
+ @property      version
+ @abstract      The version of the source property.
+ @discussion    This value is taken from the CFBundleVersion of the source. May be nil for older data.
+ */
+@property (readonly, nullable) NSString *version;
+
+/*!
+ @property      productType
+ @abstract      Represents the product type of the device running HealthKit when the object was created.
+ @discussion    This value may be nil for older data, which indicates an unknown product type.
+ */
+@property (readonly, copy, nullable) NSString *productType API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @property      operatingSystemVersion
+ @abstract      Represents the operating system version of the device running HealthKit when the object was created.
+ @discussion    iOS versions after 8.0 but prior to 8.2 are saved as 8.0, and iOS version after 8.2 but prior to 9.0
+                are saved as 8.2.
+ */
+@property (readonly, assign) NSOperatingSystemVersion operatingSystemVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        initWithSource:version:productType:operatingSystemVersion:
+ @abstract      Initializes a new HKSourceRevision with the given source, version, product type, and operating system
+                version.
+ */
+- (instancetype)initWithSource:(HKSource *)source
+                       version:(nullable NSString *)version
+                   productType:(nullable NSString *)productType
+        operatingSystemVersion:(NSOperatingSystemVersion)operatingSystemVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        initWithSource:version:
+ @abstract      Initializes a new HKSourceRevision with the given source and version.
+ */
+- (instancetype)initWithSource:(HKSource *)source version:(nullable NSString *)version;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+// Constants to match on any value of that property when querying for samples from an HKSourceRevision
+HK_EXTERN NSString * const HKSourceRevisionAnyVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSString * const HKSourceRevisionAnyProductType API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+HK_EXTERN NSOperatingSystemVersion const HKSourceRevisionAnyOperatingSystem API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStateOfMind.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStateOfMind.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStateOfMind.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStateOfMind.h	2026-04-18 09:17:52
@@ -0,0 +1,157 @@
+//
+//  HKStateOfMind.h
+//  HealthKit
+//
+//  Copyright © 2022-2024 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKStateOfMindValenceClassification
+ @abstract      A general region of pleasantness derived from valence logged on a state of mind sample.
+ */
+typedef NS_ENUM(NSInteger, HKStateOfMindValenceClassification) {
+    HKStateOfMindValenceClassificationVeryUnpleasant = 1,
+    HKStateOfMindValenceClassificationUnpleasant,
+    HKStateOfMindValenceClassificationSlightlyUnpleasant,
+    HKStateOfMindValenceClassificationNeutral,
+    HKStateOfMindValenceClassificationSlightlyPleasant,
+    HKStateOfMindValenceClassificationPleasant,
+    HKStateOfMindValenceClassificationVeryPleasant,
+} NS_SWIFT_NAME(HKStateOfMind.ValenceClassification) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/// Returns the valence classification appropriate for a valence value.
+/// If the given valence is outside the supported range of values, this function returns @c nil.
+HK_EXTERN NSNumber /* HKStateOfMindValenceClassification */ * _Nullable HKStateOfMindValenceClassificationForValence(double valence) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @enum          HKStateOfMindLabel
+ @abstract      A specific word describing a felt experience.
+ */
+typedef NS_ENUM(NSInteger, HKStateOfMindLabel) {
+    HKStateOfMindLabelAmazed = 1,
+    HKStateOfMindLabelAmused,
+    HKStateOfMindLabelAngry,
+    HKStateOfMindLabelAnxious,
+    HKStateOfMindLabelAshamed,
+    HKStateOfMindLabelBrave,
+    HKStateOfMindLabelCalm,
+    HKStateOfMindLabelContent,
+    HKStateOfMindLabelDisappointed,
+    HKStateOfMindLabelDiscouraged,
+    HKStateOfMindLabelDisgusted,
+    HKStateOfMindLabelEmbarrassed,
+    HKStateOfMindLabelExcited,
+    HKStateOfMindLabelFrustrated,
+    HKStateOfMindLabelGrateful,
+    HKStateOfMindLabelGuilty,
+    HKStateOfMindLabelHappy,
+    HKStateOfMindLabelHopeless,
+    HKStateOfMindLabelIrritated,
+    HKStateOfMindLabelJealous,
+    HKStateOfMindLabelJoyful,
+    HKStateOfMindLabelLonely,
+    HKStateOfMindLabelPassionate,
+    HKStateOfMindLabelPeaceful,
+    HKStateOfMindLabelProud,
+    HKStateOfMindLabelRelieved,
+    HKStateOfMindLabelSad,
+    HKStateOfMindLabelScared,
+    HKStateOfMindLabelStressed,
+    HKStateOfMindLabelSurprised,
+    HKStateOfMindLabelWorried,
+    HKStateOfMindLabelAnnoyed,
+    HKStateOfMindLabelConfident,
+    HKStateOfMindLabelDrained,
+    HKStateOfMindLabelHopeful,
+    HKStateOfMindLabelIndifferent,
+    HKStateOfMindLabelOverwhelmed,
+    HKStateOfMindLabelSatisfied,
+} NS_SWIFT_NAME(HKStateOfMind.Label) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/*!
+ @enum          HKStateOfMindAssociation
+ @abstract      A general facet of life with which a felt experience may be associated.
+ */
+typedef NS_ENUM(NSInteger, HKStateOfMindAssociation) {
+    HKStateOfMindAssociationCommunity = 1,
+    HKStateOfMindAssociationCurrentEvents,
+    HKStateOfMindAssociationDating,
+    HKStateOfMindAssociationEducation,
+    HKStateOfMindAssociationFamily,
+    HKStateOfMindAssociationFitness,
+    HKStateOfMindAssociationFriends,
+    HKStateOfMindAssociationHealth,
+    HKStateOfMindAssociationHobbies,
+    HKStateOfMindAssociationIdentity,
+    HKStateOfMindAssociationMoney,
+    HKStateOfMindAssociationPartner,
+    HKStateOfMindAssociationSelfCare,
+    HKStateOfMindAssociationSpirituality,
+    HKStateOfMindAssociationTasks,
+    HKStateOfMindAssociationTravel,
+    HKStateOfMindAssociationWork,
+    HKStateOfMindAssociationWeather,
+} NS_SWIFT_NAME(HKStateOfMind.Association) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/*!
+ @enum          HKStateOfMindKind
+ @abstract      The kind of feeling type captured by a state of mind log, considering the period of time the reflection concerns.
+ */
+typedef NS_ENUM(NSInteger, HKStateOfMindKind) {
+    HKStateOfMindKindMomentaryEmotion = 1,
+    HKStateOfMindKindDailyMood = 2,
+} NS_SWIFT_NAME(HKStateOfMind.Kind) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/// Represents how one feels, including descriptors of a feeling and optionally, its source.
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0))
+@interface HKStateOfMind : HKSample <NSSecureCoding, NSCopying>
+
+/// A description of the kind of feeling type captured by this state of mind.
+///
+/// Feeling types can be understood by the timeframe considered to create this log, possibly indicated by the context used to create it.
+/// For example, a `momentary emotion` log might be in response to 'how are you feeling right now?' while a `daily mood` log
+/// might be in response to 'how have you been feeling today?'.
+@property (nonatomic, assign, readonly) HKStateOfMindKind kind;
+
+/// A signed, self-reported measure of how positive or negative one is feeling, on a continuous scale from -1 to +1.
+@property (nonatomic, assign, readonly) double valence;
+
+/// A general region of pleasantness based on this sample's valence value.
+@property (nonatomic, assign, readonly) HKStateOfMindValenceClassification valenceClassification;
+
+/// Zero or more specific sentiments selected to represent a felt experience.
+@property (nonatomic, copy, readonly) NSArray<NSNumber /* HKStateOfMindLabel */ *> *labels NS_REFINED_FOR_SWIFT;
+
+/// Zero or more facets of life with which this felt experience is associated.
+@property (nonatomic, copy, readonly) NSArray<NSNumber /* HKStateOfMindAssociation */ *> *associations NS_REFINED_FOR_SWIFT;
+
+/// Creates a new log describing an experienced emotion at a moment in time.
++ (instancetype)stateOfMindWithDate:(NSDate *)date
+                               kind:(HKStateOfMindKind)kind
+                            valence:(double)valence
+                             labels:(NSArray<NSNumber /* HKStateOfMindLabel */ *> *)labels
+                       associations:(NSArray<NSNumber /* HKStateOfMindAssociation */ *> *)associations NS_REFINED_FOR_SWIFT;
+
+/// Creates a new log describing an experienced emotion at a moment in time.
++ (instancetype)stateOfMindWithDate:(NSDate *)date
+                               kind:(HKStateOfMindKind)kind
+                            valence:(double)valence
+                             labels:(NSArray<NSNumber /* HKStateOfMindLabel */ *> *)labels
+                       associations:(NSArray<NSNumber /* HKStateOfMindAssociation */ *> *)associations
+                           metadata:(nullable NSDictionary<NSString *, id> *)metadata NS_REFINED_FOR_SWIFT;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStatistics.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStatistics.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStatistics.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStatistics.h	2026-04-18 09:17:52
@@ -0,0 +1,166 @@
+//
+//  HKStatistics.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+@class HKQuantityType;
+@class HKSource;
+
+/*!
+ @enum          HKStatisticsOptions
+ @abstract      Options for specifying which statistics to calculate
+ @discussion    When querying for HKStatistics objects, an options bitmask will specify which statistics will be 
+                calculated.
+ 
+                Statistics are classified as discrete or cumulative.  If a discrete statistics option is specified for a
+                cumulative HKQuantityType, an exception will be thrown.  If a cumulative statistics options is specified
+                for a discrete HKQuantityType, an exception will also be thrown.
+ 
+ @constant      HKStatisticsOptionNone
+ @constant      HKStatisticsOptionSeparateBySource
+ @constant      HKStatisticsOptionDiscreteAverage      Calculate averageQuantity when creating statistics.
+ @constant      HKStatisticsOptionDiscreteMin          Calculate minQuantity when creating statistics.
+ @constant      HKStatisticsOptionDiscreteMax          Calculate maxQuantity when creating statistics.
+ @constant      HKStatisticsOptionCumulativeSum        Calculate sumQuantity when creating statistics.
+ @constant      HKStatisticsOptionMostRecent           Calculate mostRecentQuantity when creating statistics.
+ @constant      HKStatisticsOptionDuration             Calculate duration when creating statistics.
+ */
+typedef NS_OPTIONS(NSUInteger, HKStatisticsOptions) {
+    HKStatisticsOptionNone              		= 0,
+    HKStatisticsOptionSeparateBySource          = 1 << 0,
+    HKStatisticsOptionDiscreteAverage           = 1 << 1,
+    HKStatisticsOptionDiscreteMin               = 1 << 2,
+    HKStatisticsOptionDiscreteMax               = 1 << 3,
+    HKStatisticsOptionCumulativeSum             = 1 << 4,
+    HKStatisticsOptionMostRecent API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))  = 1 << 5,
+    HKStatisticsOptionDiscreteMostRecent API_DEPRECATED_WITH_REPLACEMENT("HKStatisticsOptionMostRecent", ios(12.0, 13.0), watchos(5.0, 6.0))  = HKStatisticsOptionMostRecent,
+    HKStatisticsOptionDuration API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0))  = 1 << 6,
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @class         HKStatistics
+ @abstract      Represents statistics for quantity samples over a period of time.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKStatistics : NSObject <NSSecureCoding, NSCopying>
+
+@property (readonly, strong) HKQuantityType *quantityType;
+@property (readonly, strong) NSDate *startDate;
+@property (readonly, strong) NSDate *endDate;
+@property (readonly, strong, nullable) NSArray<HKSource *> *sources;
+
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/* Discrete Quantities */
+
+/*!
+ @method        averageQuantityForSource:
+ @abstract      Returns the average quantity for the given source in the time period represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable HKQuantity *)averageQuantityForSource:(HKSource *)source;
+
+/*!
+ @method        averageQuantity
+ @abstract      Returns the average quantity in the time period represented by the receiver.
+ */
+- (nullable HKQuantity *)averageQuantity;
+
+/*!
+ @method        minimumQuantityForSource:
+ @abstract      Returns the minimum quantity for the given source in the time period represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable HKQuantity *)minimumQuantityForSource:(HKSource *)source;
+
+/*!
+ @method        minimumQuantity
+ @abstract      Returns the minimum quantity in the time period represented by the receiver.
+ */
+- (nullable HKQuantity *)minimumQuantity;
+
+/*!
+ @method        maximumQuantityForSource:
+ @abstract      Returns the maximum quantity for the given source in the time period represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable HKQuantity *)maximumQuantityForSource:(HKSource *)source;
+
+/*!
+ @method        maximumQuantity
+ @abstract      Returns the maximum quantity in the time period represented by the receiver.
+ */
+- (nullable HKQuantity *)maximumQuantity;
+
+/*!
+ @method        mostRecentQuantityForSource:
+ @abstract      Returns the most recent quantity for the given source in the time period represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable HKQuantity *)mostRecentQuantityForSource:(HKSource *)source API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        mostRecentQuantity
+ @abstract      Returns the most recent quantity in the time period represented by the receiver.
+ */
+- (nullable HKQuantity *)mostRecentQuantity API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        mostRecentQuantityDateIntervalForSource:
+ @abstract      Returns the date interval of the most recent quantity for the given source in the time period
+                represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable NSDateInterval *)mostRecentQuantityDateIntervalForSource:(HKSource *)source API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        mostRecentQuantityDateInterval
+ @abstract      Returns the date interval of the most recent quantity in the time period represented by the receiver.
+ */
+- (nullable NSDateInterval *)mostRecentQuantityDateInterval API_AVAILABLE(ios(12.0), watchos(5.0), macCatalyst(13.0), macos(13.0));
+
+/* Cumulative Quantities */
+
+/*!
+ @method        sumQuantityForSource:
+ @abstract      Returns the sum quantity for the given source in the time period represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable HKQuantity *)sumQuantityForSource:(HKSource *)source;
+
+/*!
+ @method        sumQuantity
+ @abstract      Returns the sum of quantities in the time period represented by the receiver.
+ */
+- (nullable HKQuantity *)sumQuantity;
+
+/// Total duration (in seconds) covered by the samples represented by these statistics.
+/// Only present if HKStatisticsOptionDuration is is specified.
+/*!
+ @method        duration
+ @abstract      Total duration, as a time-unit compatible quantity, covered by the samples represented by these statistics.
+ @discussion    Only present if HKStatisticsOptionDuration is is specified.
+ */
+- (nullable HKQuantity *)duration API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+/*!
+ @method        durationForSource:
+ @abstract      Returns the duration, as a time-unit compatible quantity, for the given source in the time period represented by the receiver.
+ @discussion    If HKStatisticsOptionSeparateBySource is not specified, then this will always be nil.
+ */
+- (nullable HKQuantity *)durationForSource:(HKSource *)source API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStatisticsCollectionQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsCollectionQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStatisticsCollectionQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsCollectionQuery.h	2026-04-18 09:54:43
@@ -0,0 +1,80 @@
+//
+//  HKStatisticsCollectionQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKStatistics.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKStatistics;
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKStatisticsCollection : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @method        statisticsForDate:
+ @abstract      Returns the statistics object that this date is inside of
+ @discussion    If there are no samples for the given date, an HKStatistics instance with nil quantities will be returned.
+ */
+- (nullable HKStatistics *)statisticsForDate:(NSDate *)date;
+
+/*!
+ @method        enumerateStatisticsFromDate:toDate:withBlock:
+ @abstract      Enumerates all statistics objects from startDate to endDate.
+ @discussion    Statistics objects will be enumerated in chronological order. If there are no samples for an interval
+                between the start and end date, then the HKStatistics object for that interval will have nil quantities.
+ */
+- (void)enumerateStatisticsFromDate:(NSDate *)startDate toDate:(NSDate *)endDate withBlock:(void(^)(HKStatistics *result, BOOL *stop))block;
+
+/*!
+ @method        statistics
+ @abstract      Returns a copy of the populated statistics objects.
+ @discussion    The statistics objects are ordered chronologically.
+ */
+- (NSArray<HKStatistics *> *)statistics;
+
+/*!
+ @method        sources
+ @abstract      Returns all HKSources found in the contained HKStatistics objects.
+ @discussion    Sources will be empty unless HKStatisticsOptionSeparateBySource is specified in the
+                HKStatisticsCollectionQuery options.
+ */
+- (NSSet<HKSource *> *)sources;
+
+@end
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKStatisticsCollectionQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKStatisticsCollectionQuery : HKQuery
+
+@property (readonly, strong) NSDate *anchorDate;
+@property (readonly) HKStatisticsOptions options;
+@property (readonly, copy) NSDateComponents *intervalComponents;
+
+@property (nonatomic, copy, nullable) void(^NS_SWIFT_SENDABLE initialResultsHandler)(HKStatisticsCollectionQuery *query, HKStatisticsCollection * _Nullable result, NSError * _Nullable error);
+@property (nonatomic, copy, nullable) void(^NS_SWIFT_SENDABLE statisticsUpdateHandler)(HKStatisticsCollectionQuery *query, HKStatistics * _Nullable statistics, HKStatisticsCollection * _Nullable collection, NSError * _Nullable error);
+
+- (instancetype)initWithQuantityType:(HKQuantityType *)quantityType
+             quantitySamplePredicate:(nullable NSPredicate *)quantitySamplePredicate
+                             options:(HKStatisticsOptions)options
+                          anchorDate:(NSDate *)anchorDate
+                  intervalComponents:(NSDateComponents *)intervalComponents;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStatisticsQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKStatisticsQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsQuery.h	2026-04-18 09:54:43
@@ -0,0 +1,37 @@
+//
+//  HKStatisticsQuery.h
+//  HealthKit
+//
+//  Copyright © 2014-2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKStatistics.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKStatistics;
+
+/*!
+ @class     HKStatisticsQuery
+ @abstract  Calculates statistics on quantity samples matching the given quantity type and predicate.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKStatisticsQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+#endif
+@interface HKStatisticsQuery : HKQuery
+
+- (instancetype)initWithQuantityType:(HKQuantityType *)quantityType
+             quantitySamplePredicate:(nullable NSPredicate *)quantitySamplePredicate
+                             options:(HKStatisticsOptions)options
+                   completionHandler:(void(^NS_SWIFT_SENDABLE)(HKStatisticsQuery *query, HKStatistics * _Nullable result, NSError * _Nullable error))handler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKTypeIdentifiers.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKTypeIdentifiers.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h	2026-04-18 08:30:07
@@ -0,0 +1,356 @@
+//
+//  HKTypeIdentifiers.h
+//  HealthKit
+//
+//  Copyright © 2014-2025 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <HealthKit/HKDefines.h>
+
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*--------------------------------*/
+/*   HKQuantityType Identifiers   */
+/*--------------------------------*/
+
+typedef NSString * HKQuantityTypeIdentifier NS_STRING_ENUM;
+
+// Body Measurements
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleSleepingWristTemperature API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));       // degC, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBodyFatPercentage API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBodyMass API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                             // kg, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBodyMassIndex API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // count, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierElectrodermalActivity API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                // S, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeight API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                               // m, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierLeanBodyMass API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                         // kg, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWaistCircumference API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // m, Discrete (Arithmetic)
+
+// Fitness
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierActiveEnergyBurned API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                   // kcal, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleExerciseTime API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // min, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleMoveTime API_AVAILABLE(ios(14.5), watchos(7.4), macCatalyst(14.5), macos(13.0), visionos(1.0));                       // min, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleStandTime API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // min, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBasalEnergyBurned API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // kcal, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierCrossCountrySkiingSpeed API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));            // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierCyclingCadence API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));                     // count/min, Discrete (Temporally Weighted)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierCyclingFunctionalThresholdPower API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));    // W, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierCyclingPower API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));                       // W, Discrete (Temporally Weighted)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierCyclingSpeed API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));                       // m/s, Discrete (Temporally Weighted)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceCrossCountrySkiing API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));         // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceCycling API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceDownhillSnowSports API_AVAILABLE(ios(11.2), watchos(4.2), macCatalyst(13.0), macos(13.0), visionos(1.0));          // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistancePaddleSports API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));               // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceRowing API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));                     // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceSkatingSports API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));              // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceSwimming API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceWalkingRunning API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));               // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDistanceWheelchair API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // m, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierEstimatedWorkoutEffortScore API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));        // appleEffortScore, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierFlightsClimbed API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                       // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierNikeFuel API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                             // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierPaddleSportsSpeed API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));                  // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierPhysicalEffort API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));                     // kcal/(kg*hr), Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierPushCount API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                           // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRowingSpeed API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));                        // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRunningPower API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));                        // W, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRunningSpeed API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));                        // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierStepCount API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                            // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierSwimmingStrokeCount API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                 // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierUnderwaterDepth API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));                     // m, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWorkoutEffortScore API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));                 // appleEffortScore, Discrete (Arithmetic)
+
+// Hearing Health
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierEnvironmentalAudioExposure API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0), visionos(1.0));          // dBASPL, Discrete (Equivalent Continuous Level)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierEnvironmentalSoundReduction API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));         // dBASPL, Discrete (Equivalent Continuous Level)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeadphoneAudioExposure API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0), visionos(1.0));              // dBASPL, Discrete (Equivalent Continuous Level)
+
+// Heart
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAtrialFibrillationBurden API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));            // %, Discrete (Temporally Weighted)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeartRate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                            // count/s, Discrete (Temporally Weighted)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeartRateRecoveryOneMinute API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));          // count/min, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeartRateVariabilitySDNN API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));            // ms, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierPeripheralPerfusionIndex API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));             // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRestingHeartRate API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // count/min, Discrete (Temporally Weighted)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierVO2Max API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                              // ml/(kg*min), Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWalkingHeartRateAverage API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));             // count/min, Discrete (Temporally Weighted)
+
+// Mobility
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleWalkingSteadiness API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0), visionos(1.0));              // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRunningGroundContactTime API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));            // ms, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRunningStrideLength API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));                 // m, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRunningVerticalOscillation API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));          // cm, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierSixMinuteWalkTestDistance API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));           // m, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierStairAscentSpeed API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                    // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierStairDescentSpeed API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                   // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWalkingAsymmetryPercentage API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));          // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWalkingDoubleSupportPercentage API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));      // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWalkingSpeed API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                        // m/s, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWalkingStepLength API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                   // m, Discrete (Arithmetic)
+
+// Nutrition
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryBiotin API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryCaffeine API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryCalcium API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                       // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryCarbohydrates API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                 // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryChloride API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryCholesterol API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                   // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryChromium API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryCopper API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryEnergyConsumed API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                // kcal, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFatMonounsaturated API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));            // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFatPolyunsaturated API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));            // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFatSaturated API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFatTotal API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFiber API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                         // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFolate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryIodine API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryIron API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                          // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryMagnesium API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                     // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryManganese API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                     // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryMolybdenum API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryNiacin API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryPantothenicAcid API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));               // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryPhosphorus API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryPotassium API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                     // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryProtein API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                       // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryRiboflavin API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietarySelenium API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietarySodium API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietarySugar API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                         // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryThiamin API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                       // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminA API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminB12 API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                    // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminB6 API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                     // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminC API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminD API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminE API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryVitaminK API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // g, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryWater API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                         // mL, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryZinc API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                          // g, Cumulative
+
+// Other
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBloodAlcoholContent API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBloodPressureDiastolic API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));               // mmHg, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBloodPressureSystolic API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                // mmHg, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierInsulinDelivery API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                     // IU, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierNumberOfAlcoholicBeverages API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0), visionos(1.0));          // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierNumberOfTimesFallen API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierTimeInDaylight API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));                     // min, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierUVExposure API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                           // , Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWaterTemperature API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));                    // degC, Discrete (Arithmetic)
+
+// Reproductive Health
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBasalBodyTemperature API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                 // degC, Discrete (Arithmetic)
+
+// Respiratory
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)); // count, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierForcedExpiratoryVolume1 API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));              // L, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierForcedVitalCapacity API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // L, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierInhalerUsage API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                         // count, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierOxygenSaturation API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                     // %, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierPeakExpiratoryFlowRate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));               // L/min, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierRespiratoryRate API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // count/s, Discrete (Arithmetic)
+
+// Vital Signs
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBloodGlucose API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                         // mg/dL, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBodyTemperature API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // degC, Discrete (Arithmetic)
+
+/*--------------------------------*/
+/*   HKCategoryType Identifiers   */
+/*--------------------------------*/
+
+typedef NSString * HKCategoryTypeIdentifier NS_STRING_ENUM;
+
+// Fitness
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAppleStandHour API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                       // HKCategoryValueAppleStandHour
+
+// Hearing Health
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));     // HKCategoryValueEnvironmentalAudioExposureEvent
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHeadphoneAudioExposureEvent API_AVAILABLE(ios(14.2), watchos(7.1), macCatalyst(14.2), macos(13.0), visionos(1.0));         // HKCategoryValueHeadphoneAudioExposureEvent
+
+// Heart
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHighHeartRateEvent API_AVAILABLE(ios(12.2), watchos(5.2), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHypertensionEvent API_AVAILABLE(ios(26.2), watchos(26.2), macCatalyst(26.2), macos(26.2), visionos(26.2));                 // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierIrregularHeartRhythmEvent API_AVAILABLE(ios(12.2), watchos(5.2), macCatalyst(13.0), macos(13.0), visionos(1.0));           // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLowCardioFitnessEvent API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0), visionos(1.0));               // HKCategoryValueLowCardioFitnessEvent
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLowHeartRateEvent API_AVAILABLE(ios(12.2), watchos(5.2), macCatalyst(13.0), macos(13.0), visionos(1.0));                   // HKCategoryValue
+
+// Mental Wellbeing
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierMindfulSession API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                      // HKCategoryValue
+
+// Mobility
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAppleWalkingSteadinessEvent API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0), visionos(1.0));         // HKCategoryValueAppleWalkingSteadinessEvent
+
+// Other
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHandwashingEvent API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                    // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierToothbrushingEvent API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // HKCategoryValue
+
+// Reproductive Health
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierBleedingAfterPregnancy API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));             // HKCategoryValueVaginalBleeding
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierBleedingDuringPregnancy API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));            // HKCategoryValueVaginalBleeding
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierCervicalMucusQuality API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                 // HKCategoryValueCervicalMucusQuality
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierContraceptive API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0), visionos(1.0));                       // HKCategoryValueContraceptive
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierInfrequentMenstrualCycles API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));           // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierIntermenstrualBleeding API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));               // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierIrregularMenstrualCycles API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));            // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLactation API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0), visionos(1.0));                           // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierMenstrualFlow API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // HKCategoryValueVaginalBleeding
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierOvulationTestResult API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // HKCategoryValueOvulationTestResult
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierPersistentIntermenstrualBleeding API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));    // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierPregnancy API_AVAILABLE(ios(14.3), watchos(7.2), macCatalyst(14.3), macos(13.0), visionos(1.0));                           // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierPregnancyTestResult API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0), visionos(1.0));                 // HKCategoryValuePregnancyTestResult
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierProgesteroneTestResult API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0), visionos(1.0));              // HKCategoryValueProgesteroneTestResult
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierProlongedMenstrualPeriods API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));           // HKCategoryValue
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSexualActivity API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                       // HKCategoryValue
+
+// Respiratory
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSleepApneaEvent API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));                    // HKCategoryValue
+
+// Sleep
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSleepAnalysis API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                        // HKCategoryValueSleepAnalysis
+
+// Symptoms
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAbdominalCramps API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                     // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAcne API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                                // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAppetiteChanges API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                     // HKCategoryValueAppetiteChanges
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierBladderIncontinence API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                 // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierBloating API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierBreastPain API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                          // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierChestTightnessOrPain API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierChills API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                              // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierConstipation API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                        // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierCoughing API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierDiarrhea API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierDizziness API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                           // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierDrySkin API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                             // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierFainting API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierFatigue API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                             // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierFever API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                               // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierGeneralizedBodyAche API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                 // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHairLoss API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHeadache API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHeartburn API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                           // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHotFlashes API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                          // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLossOfSmell API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                         // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLossOfTaste API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                         // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLowerBackPain API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                       // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierMemoryLapse API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                         // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierMoodChanges API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                         // HKCategoryValuePresence
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierNausea API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                              // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierNightSweats API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                         // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierPelvicPain API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                          // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));  // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierRunnyNose API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                           // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierShortnessOfBreath API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                   // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSinusCongestion API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                     // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSkippedHeartbeat API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                    // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSleepChanges API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                        // HKCategoryValuePresence
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSoreThroat API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                          // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierVaginalDryness API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));                      // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierVomiting API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierWheezing API_AVAILABLE(ios(13.6), watchos(7.0), macCatalyst(13.6), macos(13.0), visionos(1.0));                            // HKCategoryValueSeverity
+
+/*--------------------------------------*/
+/*   HKCharacteristicType Identifiers   */
+/*--------------------------------------*/
+
+typedef NSString * HKCharacteristicTypeIdentifier NS_STRING_ENUM;
+
+// Me
+HK_EXTERN HKCharacteristicTypeIdentifier const HKCharacteristicTypeIdentifierActivityMoveMode API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0), visionos(1.0));    // HKActivityMoveModeObject
+HK_EXTERN HKCharacteristicTypeIdentifier const HKCharacteristicTypeIdentifierBiologicalSex API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));        // HKBiologicalSexObject
+HK_EXTERN HKCharacteristicTypeIdentifier const HKCharacteristicTypeIdentifierBloodType API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));            // HKBloodTypeObject
+HK_EXTERN HKCharacteristicTypeIdentifier const HKCharacteristicTypeIdentifierDateOfBirth API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));          // NSDateComponents
+HK_EXTERN HKCharacteristicTypeIdentifier const HKCharacteristicTypeIdentifierFitzpatrickSkinType API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));  // HKFitzpatrickSkinTypeObject
+HK_EXTERN HKCharacteristicTypeIdentifier const HKCharacteristicTypeIdentifierWheelchairUse API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));       // HKWheelchairUseObject
+
+/*-----------------------------------*/
+/*   HKCorrelationType Identifiers   */
+/*-----------------------------------*/
+
+typedef NSString * HKCorrelationTypeIdentifier NS_STRING_ENUM;
+
+// Heart
+HK_EXTERN HKCorrelationTypeIdentifier const HKCorrelationTypeIdentifierBloodPressure API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));
+
+// Other
+HK_EXTERN HKCorrelationTypeIdentifier const HKCorrelationTypeIdentifierFood API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));
+
+/*--------------------------------*/
+/*   HKDocumentType Identifiers   */
+/*--------------------------------*/
+
+typedef NSString * HKDocumentTypeIdentifier NS_STRING_ENUM;
+
+// Clinical Documents
+HK_EXTERN HKDocumentTypeIdentifier const HKDocumentTypeIdentifierCDA API_AVAILABLE(ios(10.0), watchos(3.0), macCatalyst(13.0), macos(13.0), visionos(1.0));
+
+/*----------------------------------------*/
+/*   HKScoredAssessmentType Identifiers   */
+/*----------------------------------------*/
+
+typedef NSString * HKScoredAssessmentTypeIdentifier NS_STRING_ENUM;
+
+// Mental Wellbeing
+HK_EXTERN HKScoredAssessmentTypeIdentifier const HKScoredAssessmentTypeIdentifierGAD7 API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(17.0), macos(14.0), visionos(2.0));
+HK_EXTERN HKScoredAssessmentTypeIdentifier const HKScoredAssessmentTypeIdentifierPHQ9 API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(17.0), macos(14.0), visionos(2.0));
+
+/*-------------------------------*/
+/*   HKWorkoutType Identifiers   */
+/*-------------------------------*/
+
+// Fitness
+HK_EXTERN NSString * const HKWorkoutTypeIdentifier API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));
+
+/*--------------------------------*/
+/*   HKSeriesSample Identifiers   */
+/*--------------------------------*/
+
+// Fitness
+HK_EXTERN NSString * const HKWorkoutRouteTypeIdentifier API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0), visionos(1.0));
+
+// Heart
+HK_EXTERN NSString * const HKDataTypeIdentifierHeartbeatSeries API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0), visionos(1.0));
+
+/*--------------------------------------*/
+/*   HKVisionPrescription Identifiers   */
+/*--------------------------------------*/
+
+// Body Measurements
+HK_EXTERN NSString * const HKVisionPrescriptionTypeIdentifier API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));
+
+/*-------------------------------*/
+/*   HKStateofMind Identifiers   */
+/*-------------------------------*/
+
+// Mental Wellbeing
+/// A state of mind type that records the user's mental health
+HK_EXTERN NSString * const HKDataTypeIdentifierStateOfMind API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(17.0), macos(14.0), visionos(2.0));
+
+/*---------------------------------------*/
+/*   HKMedicationDoseEvent Identifiers   */
+/*---------------------------------------*/
+
+// Medication Tracking
+/// A medication dose event type that represents a single dose administration for a medication.
+HK_EXTERN NSString * const HKMedicationDoseEventTypeIdentifierMedicationDoseEvent API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+/*-------------------------------------------*/
+/*   HKUserAnnotatedMedication Identifiers   */
+/*-------------------------------------------*/
+
+// Medication Tracking
+/// The user annotated medication type that represents a medication concept.
+HK_EXTERN NSString * const HKDataTypeIdentifierUserAnnotatedMedicationConcept API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+/*----------------*/
+/*   Deprecated   */
+/*----------------*/
+
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAudioExposureEvent API_DEPRECATED_WITH_REPLACEMENT("HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent", ios(13.0, 14.0), watchos(6.0, 7.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKUnit.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKUnit.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h	2026-04-18 05:49:36
@@ -0,0 +1,287 @@
+//
+//  HKUnit.h
+//  HealthKit
+//
+//  Copyright © 2013-2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
+@interface HKUnit : NSObject <NSSecureCoding, NSCopying>
+
+/// Returns a unique string representation for the unit that could be used with +unitFromString:
+@property (readonly, strong) NSString *unitString;
+
+- (instancetype)init NS_UNAVAILABLE;
+
++ (instancetype)unitFromString:(NSString *)string;
+
+// Unit strings are composed of the following units:
+// International System of Units (SI) units:
+// g                (grams)   [Mass]
+// m                (meters)  [Length]
+// L,l              (liters)  [Volume]
+// Pa               (pascals) [Pressure]
+// s                (seconds) [Time]
+// J                (joules)  [Energy]
+// K                (kelvin)  [Temperature]
+// S                (siemens) [Electrical Conductance]
+// Hz               (hertz)   [Frequency]
+// mol<molar mass>  (moles)   [Mass] <molar mass> is the number of grams per mole. For example, mol<180.1558>
+// V                (volts)   [Electrical Potential Difference]
+// W                (watts)   [Power]
+// rad              (radians) [Angle]
+// lx               (Lux)     [Illuminance]
+
+// SI units can be prefixed as follows:
+// da   (deca-)   = 10                 d    (deci-)   = 1/10
+// h    (hecto-)  = 100                c    (centi-)  = 1/100
+// k    (kilo-)   = 1000               m    (milli-)  = 1/1000
+// M    (mega-)   = 10^6               mc   (micro-)  = 10^-6
+// G    (giga-)   = 10^9               n    (nano-)   = 10^-9
+// T    (tera-)   = 10^12              p    (pico-)   = 10^-12
+//                                     f    (femto-)  = 10^-15
+
+// Non-SI units:
+//
+// [Mass]
+// oz   (ounces)  = 28.3495 g                           
+// lb   (pounds)  = 453.592 g                           
+// st   (stones)  = 6350.0 g
+//
+// [Length]
+// in   (inches)  = 0.0254 m                            
+// ft   (feet)    = 0.3048 m                            
+// mi   (miles)   = 1609.34 m                           
+//
+// [Pressure]
+// mmHg (millimeters of Mercury)    = 133.3224 Pa
+// cmAq (centimeters of water)      = 98.06650 Pa
+// atm  (atmospheres)               = 101325.0 Pa
+// dBASPL (sound pressure level)    = 10^(dBASPL/20) * 2.0E-05 Pa
+// inHg (inches of Mercury)         = 3386.38816 Pa
+//
+// [Volume]
+// fl_oz_us  (US customary fluid ounces)= 0.0295735295625 L
+// fl_oz_imp (Imperial fluid ounces)    = 0.0284130625 L
+// pt_us     (US customary pint)        = 0.473176473 L
+// pt_imp    (Imperial pint)            = 0.56826125 L
+// cup_us    (US customary cup)         = 0.2365882365 L
+// cup_imp   (Imperial cup)             = 0.284130625 L
+
+// [Time]
+// min  (minutes) = 60 s
+// hr   (hours)   = 3600 s
+// d    (days)    = 86400 s
+//
+// [Energy]
+// cal  (calories)     = 4.1840 J
+// kcal (kilocalories) = 4184.0 J
+//
+// [Temperature]
+// degC (degrees Celsius)    = 1.0 K - 273.15
+// degF (degrees Fahrenheit) = 1.8 K - 459.67
+//
+// [Pharmacology]
+// IU   (international unit)
+//
+// [Scalar]
+// count = 1
+// %     = 1/100
+//
+// [Hearing Sensitivity]
+// dBHL (decibel Hearing Level)
+//
+// [Unitless]
+// appleEffortScore
+
+// Units can be combined using multiplication (. or *) and division (/), and raised to integral powers (^).
+// For simplicity, only a single '/' is allowed in a unit string, and multiplication is evaluated first.
+// So "kg/m.s^2" is equivalent to "kg/(m.s^2)" and "kg.m^-1.s^-2".
+
+// The following methods convert between HKUnit and Foundation formatter units for mass, length and energy.
+// When converting from Foundation formatter unit to HKUnit, if there's not a match, nil will be returned.
+// When converting from HKUnit to the Foundation formatter unit, if there's not a match, an exception will be thrown.
++ (instancetype)unitFromMassFormatterUnit:(NSMassFormatterUnit)massFormatterUnit;
++ (NSMassFormatterUnit)massFormatterUnitFromUnit:(HKUnit *)unit;
+
++ (instancetype)unitFromLengthFormatterUnit:(NSLengthFormatterUnit)lengthFormatterUnit;
++ (NSLengthFormatterUnit)lengthFormatterUnitFromUnit:(HKUnit *)unit;
+
++ (instancetype)unitFromEnergyFormatterUnit:(NSEnergyFormatterUnit)energyFormatterUnit;
++ (NSEnergyFormatterUnit)energyFormatterUnitFromUnit:(HKUnit *)unit;
+
+- (BOOL)isNull;
+
+@end
+
+typedef NS_ENUM(NSInteger, HKMetricPrefix) {
+    HKMetricPrefixNone      = 0,    //10^0
+    
+    HKMetricPrefixFemto     API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)) = 13, //10^-15
+    HKMetricPrefixPico      = 1,    //10^-12
+    HKMetricPrefixNano      = 2,    //10^-9
+    HKMetricPrefixMicro     = 3,    //10^-6
+    HKMetricPrefixMilli     = 4,    //10^-3
+    HKMetricPrefixCenti     = 5,    //10^-2
+    HKMetricPrefixDeci      = 6,    //10^-1
+    HKMetricPrefixDeca      = 7,    //10^1
+    HKMetricPrefixHecto     = 8,    //10^2
+    HKMetricPrefixKilo      = 9,    //10^3
+    HKMetricPrefixMega      = 10,   //10^6
+    HKMetricPrefixGiga      = 11,   //10^9
+    HKMetricPrefixTera      = 12,   //10^12
+} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
+
+/* Mass Units */
+@interface HKUnit (Mass)
++ (instancetype)gramUnitWithMetricPrefix:(HKMetricPrefix)prefix;       // g
++ (instancetype)gramUnit;   // g
++ (instancetype)ounceUnit;  // oz
++ (instancetype)poundUnit;  // lb
++ (instancetype)stoneUnit;  // st
++ (instancetype)moleUnitWithMetricPrefix:(HKMetricPrefix)prefix molarMass:(double)gramsPerMole;   // mol<double>
++ (instancetype)moleUnitWithMolarMass:(double)gramsPerMole; // mol<double>
+@end
+
+/* Length Units */
+@interface HKUnit (Length)
++ (instancetype)meterUnitWithMetricPrefix:(HKMetricPrefix)prefix;      // m
++ (instancetype)meterUnit;  // m
++ (instancetype)inchUnit;   // in
++ (instancetype)footUnit;   // ft
++ (instancetype)yardUnit API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));   // yd
++ (instancetype)mileUnit;   // mi
+@end
+
+/* Volume Units */
+@interface HKUnit (Volume)
++ (instancetype)literUnitWithMetricPrefix:(HKMetricPrefix)prefix;      // L
++ (instancetype)literUnit;              // L
++ (instancetype)fluidOunceUSUnit;       // fl_oz_us
++ (instancetype)fluidOunceImperialUnit; // fl_oz_imp
++ (instancetype)pintUSUnit;             // pt_us
++ (instancetype)pintImperialUnit;       // pt_imp
++ (instancetype)cupUSUnit API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0));       // cup_us
++ (instancetype)cupImperialUnit API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0)); // cup_imp
+@end
+
+/* Pressure Units */
+@interface HKUnit (Pressure)
++ (instancetype)pascalUnitWithMetricPrefix:(HKMetricPrefix)prefix;     // Pa
++ (instancetype)pascalUnit;                 // Pa
++ (instancetype)millimeterOfMercuryUnit;    // mmHg
++ (instancetype)centimeterOfWaterUnit;      // cmAq
++ (instancetype)atmosphereUnit;             // atm
++ (instancetype)decibelAWeightedSoundPressureLevelUnit API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)); // dBASPL
++ (instancetype)inchesOfMercuryUnit API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)); // inHg
+@end
+
+/* Time Units */
+@interface HKUnit (Time)
++ (instancetype)secondUnitWithMetricPrefix:(HKMetricPrefix)prefix;     // s
++ (instancetype)secondUnit; // s
++ (instancetype)minuteUnit; // min
++ (instancetype)hourUnit;   // hr
++ (instancetype)dayUnit;    // d
+@end
+
+/* Energy Units */
+@interface HKUnit (Energy)
++ (instancetype)jouleUnitWithMetricPrefix:(HKMetricPrefix)prefix;      // J
++ (instancetype)jouleUnit;          // J
++ (instancetype)kilocalorieUnit;    // 1 kcal = 4184.0 J
++ (instancetype)smallCalorieUnit API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));    // 1 cal = 4.1840 J
++ (instancetype)largeCalorieUnit API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));    // 1 Cal = 4184.0 J
++ (instancetype)calorieUnit API_DEPRECATED("Use smallCalorieUnit or largeCalorieUnit, depending on which you mean", ios(8.0, 11.0), watchos(2.0, 4.0));
+@end
+
+/* Temperature Units */
+@interface HKUnit (Temperature)
++ (instancetype)degreeCelsiusUnit;          // degC
++ (instancetype)degreeFahrenheitUnit;       // degF
++ (instancetype)kelvinUnit;                 // K
+@end
+
+/* Electrical Conductance Units */
+@interface HKUnit (Conductance)
++ (instancetype)siemenUnitWithMetricPrefix:(HKMetricPrefix)prefix;     // S
++ (instancetype)siemenUnit; // S
+@end
+
+/* Pharmacology Units */
+@interface HKUnit (Pharmacology)
++ (instancetype)internationalUnit NS_SWIFT_NAME(internationalUnit()) API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));  // IU
+@end
+
+/* Scalar Units */
+@interface HKUnit (Scalar)
++ (instancetype)countUnit;      // count
++ (instancetype)percentUnit;    // % (0.0 - 1.0)
+@end
+
+/* Hearing Sensitivity */
+@interface HKUnit (HearingSensitivity)
++ (instancetype)decibelHearingLevelUnit API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));  // dBHL
+@end
+
+@interface HKUnit (Math)
+- (HKUnit *)unitMultipliedByUnit:(HKUnit *)unit;
+- (HKUnit *)unitDividedByUnit:(HKUnit *)unit;
+- (HKUnit *)unitRaisedToPower:(NSInteger)power;
+- (HKUnit *)reciprocalUnit;
+@end
+
+/* Frequency Units */
+@interface HKUnit (Frequency)
++ (instancetype)hertzUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));      // Hz
++ (instancetype)hertzUnit API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0));  // Hz
+@end
+
+/* Electrical Potential Difference Units */
+@interface HKUnit (ElectricPotentialDifference)
++ (instancetype)voltUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));      // V
++ (instancetype)voltUnit API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0));  // V
+@end
+
+/* Power Units */
+@interface HKUnit (Power)
++ (instancetype)wattUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));      // W
++ (instancetype)wattUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));  // W
+@end
+
+/* Optical Power */
+@interface HKUnit (OpticalPower)
++ (instancetype)diopterUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));  // D
++ (instancetype)prismDiopterUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));  // pD
+@end
+
+/* Angle Units */
+@interface HKUnit (Angle)
++ (instancetype)radianAngleUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));  // rad
++ (instancetype)radianAngleUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));  // rad
++ (instancetype)degreeAngleUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));  // deg
+@end
+
+/* Illuminance Units */
+@interface HKUnit (Illuminance)
++ (instancetype)luxUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));      // lx
++ (instancetype)luxUnit API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0));  // lx
+
+@end
+
+/* UnitLess Unit */
+@interface HKUnit (UnitLess)
++ (instancetype)appleEffortScoreUnit API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));  // appleEffortScore
+@end
+
+/* Mole Constants */
+#define HKUnitMolarMassBloodGlucose (180.15588000005408)
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKUserAnnotatedMedication.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedication.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKUserAnnotatedMedication.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedication.h	2026-04-18 09:54:44
@@ -0,0 +1,60 @@
+//
+//  HKUserAnnotatedMedication.h
+//  HealthKit
+//
+//  Copyright © 2025 Apple. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKMedicationConcept;
+@class HKUserAnnotatedMedicationType;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A reference to the tracked medication and the details a person can customize.
+///
+/// The details are relevant to the medication tracking experience.
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKUserAnnotatedMedication : NSObject <NSSecureCoding, NSCopying>
+
+/// The nickname that a person added to a medication during the entry experience.
+///
+/// This can be edited at any point.
+@property (nonatomic, copy, readonly, nullable) NSString *nickname;
+
+/// A Boolean value that indicates whether a medication is archived.
+///
+/// The value is `true` if a person moves a medication to the archived section in the Health App.
+/// The value is `false` if a medication isn't in the archived section.
+@property (nonatomic, assign, readonly) BOOL isArchived;
+
+/// A Boolean value that indicates whether a medication has a schedule set up.
+///
+/// The value is `true` for medications for which a person has set up reminders and `false` for medications that are only taken as needed.
+/// > Note: Scheduled medications can still be taken as needed.
+@property (nonatomic, assign, readonly) BOOL hasSchedule;
+
+/// A reference to the specific medication a person is tracking.
+///
+/// This concept's identifier is directly associated with the logged dose events.
+@property (nonatomic, copy, readonly) HKMedicationConcept *medication;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+/// The key path you use to create predicates for the medication's archived status.
+///
+/// Use to predicate against the ``HKUserAnnotatedMedication/isArchived`` property of a medication.
+HK_EXTERN NSString * const HKUserAnnotatedMedicationPredicateKeyPathIsArchived API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+/// The key path you use to create predicates for whether or not a medication has a schedule.
+///
+/// Use to predicate against the ``HKUserAnnotatedMedication/hasSchedule`` property of a medication.
+HK_EXTERN NSString * const HKUserAnnotatedMedicationPredicateKeyPathHasSchedule API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKUserAnnotatedMedicationQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedicationQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKUserAnnotatedMedicationQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedicationQuery.h	2026-04-18 09:54:43
@@ -0,0 +1,38 @@
+//
+//  HKUserAnnotatedMedicationQuery.h
+//  HealthKit
+//
+//  Copyright © 2025 Apple Inc. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKQuery.h>
+
+@class HKUserAnnotatedMedication;
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.0), watchos(26.0), macCatalyst(26.0), macos(26.0), visionos(26.0))
+@interface HKUserAnnotatedMedicationQuery : HKQuery
+
+/*!
+@method        initWithPredicate:limit:resultsHandler:
+@abstract      Returns a query that will retrieve HKUserAnnotatedMedications matching the given predicate and limit.
+
+@param         predicate       The predicate which user annotated medications should match.
+@param         limit           The maximum number of  user annotated medications to return.  Pass HKObjectQueryNoLimit for no limit.
+@param         resultsHandler  The block to invoke with results to deliver to the client. The results handler will be called with done = YES when there are no more user annotated medications to enumerate.
+*/
+- (instancetype)initWithPredicate:(nullable NSPredicate *)predicate
+                            limit:(NSUInteger)limit
+                   resultsHandler:(void (^)(HKUserAnnotatedMedicationQuery *query,
+                                            __kindof HKUserAnnotatedMedication * _Nullable userAnnotatedMedication,
+                                            BOOL done,
+                                            NSError * _Nullable error))resultsHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVerifiableClinicalRecord.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVerifiableClinicalRecord.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h	2026-04-18 08:30:09
@@ -0,0 +1,131 @@
+//
+//  HKVerifiableClinicalRecord.h
+//  HealthKit
+//
+//  Copyright © 2021-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+@class HKVerifiableClinicalRecordSubject;
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef NSString * HKVerifiableClinicalRecordSourceType NS_TYPED_ENUM API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @constant      HKVerifiableClinicalRecordSourceTypeSMARTHealthCard
+ @abstract      Represents a SMART Health Card source type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordSourceType const HKVerifiableClinicalRecordSourceTypeSMARTHealthCard API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @constant      HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate
+ @abstract      Represents a EU Digital COVID Certificate source type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordSourceType const HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+typedef NSString * HKVerifiableClinicalRecordCredentialType NS_TYPED_ENUM API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @constant      HKVerifiableClinicalRecordCredentialTypeCOVID19
+ @abstract      Represents the COVID-19 credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeCOVID19 NS_SWIFT_NAME(covid19) API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @constant      HKVerifiableClinicalRecordCredentialTypeImmunization
+ @abstract      Represents the immunization credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeImmunization API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @constant      HKVerifiableClinicalRecordCredentialTypeLaboratory
+ @abstract      Represents the laboratory credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeLaboratory API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @constant      HKVerifiableClinicalRecordCredentialTypeRecovery
+ @abstract      Represents the recovery credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeRecovery API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @class         HKVerifiableClinicalRecord
+ @abstract      An NSObject that represents a verifiable clinical record.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(15.0), macCatalyst(15.0), macos(13.0)) __WATCHOS_PROHIBITED
+@interface HKVerifiableClinicalRecord : HKSample
+
+/*!
+ @property      recordTypes
+ @abstract      The types present in this record.
+ */
+@property (readonly, copy) NSArray<NSString *> *recordTypes;
+
+/*!
+ @property      issuerIdentifier
+ @abstract      The identifier for the issuer of this record.
+ */
+@property (readonly, copy) NSString *issuerIdentifier;
+
+/*!
+ @property      subject
+ @abstract      The subject of this record.
+ */
+@property (readonly, copy) HKVerifiableClinicalRecordSubject *subject;
+
+/*!
+ @property      issuedDate
+ @abstract      The date this record was issued.
+ */
+@property (readonly, copy) NSDate *issuedDate;
+
+/*!
+ @property      relevantDate
+ @abstract      A date most relevant to this record, like when a vaccine was
+ administered or a test was performed.
+ */
+@property (readonly, copy) NSDate *relevantDate;
+
+/*!
+ @property      expirationDate
+ @abstract      The date this record expires.
+ */
+@property (readonly, copy, nullable) NSDate *expirationDate;
+
+/*!
+ @property      itemNames
+ @abstract      A list of display names for each item contained in this record.
+ */
+@property (readonly, copy) NSArray<NSString *> *itemNames;
+
+/*!
+ @property      sourceType
+ @abstract      The type of the source leading to this verifiable record.
+ */
+@property (readonly, copy, nullable) HKVerifiableClinicalRecordSourceType sourceType API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @property      dataRepresentation
+ @abstract      The record's data representation, determined by source type.
+ */
+@property (readonly, copy) NSData *dataRepresentation API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+/*!
+ @property      JWSRepresentation
+ @abstract      The record's entirety as JSON Web Signature (JWS) data.
+ */
+@property (readonly, copy) NSData *JWSRepresentation API_DEPRECATED_WITH_REPLACEMENT("dataRepresentation", ios(15.0, 15.4));
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h	2026-04-18 09:54:43
@@ -0,0 +1,76 @@
+//
+//  HKVerifiableClinicalRecordQuery.h
+//  HealthKit
+//
+//  Copyright © 2021-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKVerifiableClinicalRecord.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class         HKVerifiableClinicalRecordQuery
+ @abstract      A one-time share query that returns user-selected verifiable clinical records.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+#if defined(__swift__) && __swift__
+API_DEPRECATED("Use HKVerifiableClinicalRecordQueryDescriptor", ios(15.0, API_TO_BE_DEPRECATED));
+#else
+API_AVAILABLE(ios(15.0), macCatalyst(15.0), macos(13.0))
+#endif
+API_UNAVAILABLE(watchos)
+@interface HKVerifiableClinicalRecordQuery : HKQuery
+
+/*!
+ @property      recordTypes
+ @abstract      The record types that need to be present on desired records.
+ */
+@property (readonly, copy) NSArray<NSString *> *recordTypes;
+
+/*!
+ @property      sourceTypes
+ @abstract      The source type(s) of the records.
+ */
+@property (readonly, copy) NSArray<HKVerifiableClinicalRecordSourceType> *sourceTypes API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ @method        initWithRecordTypes:predicate:resultsHandler:
+ @abstract      Returns an one-time query that will ask for access to verifiable clinical records that match the query.
+ 
+ @param         recordTypes     The record types that need to be present on a verifiable clinical record.
+ @param         predicate       The predicate which records should match.
+ @param         resultsHandler  The block to invoke with the verifiable clinical records from the query.
+*/
+- (instancetype)initWithRecordTypes:(NSArray<NSString *> *)recordTypes
+                          predicate:(nullable NSPredicate *)predicate
+                     resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKVerifiableClinicalRecordQuery *query,
+                                             NSArray<HKVerifiableClinicalRecord *> * _Nullable records,
+                                             NSError * _Nullable error))resultsHandler;
+
+/*!
+ @method        initWithRecordTypes:sourceTypes:predicate:resultsHandler:
+ @abstract      Returns a one-time query that will ask for access to and return verifiable clinical records that match the query.
+ 
+ @param         recordTypes     The record types that need to be present on a verifiable clinical record.
+ @param         sourceTypes     The source type(s) of the records.
+ @param         predicate       The predicate which records should match.
+ @param         resultsHandler  The block to invoke with the verifiable clinical records from the query.
+ */
+- (instancetype)initWithRecordTypes:(NSArray<NSString *> *)recordTypes
+                        sourceTypes:(NSArray<HKVerifiableClinicalRecordSourceType> *)sourceTypes
+                          predicate:(nullable NSPredicate *)predicate
+                     resultsHandler:(void(^NS_SWIFT_SENDABLE)(HKVerifiableClinicalRecordQuery *query,
+                                             NSArray<HKVerifiableClinicalRecord *> * _Nullable records,
+                                             NSError * _Nullable error))resultsHandler API_AVAILABLE(ios(15.4), macCatalyst(15.4), macos(13.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h	2026-04-18 09:54:44
@@ -0,0 +1,39 @@
+//
+//  HKVerifiableClinicalRecordSubject.h
+//  HealthKit
+//
+//  Copyright © 2021-2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class     HKVerifiableClinicalRecordSubject
+ @abstract  An NSObject that represents a verifiable clinical record subject.
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(15.0), macCatalyst(15.0), macos(13.0)) __WATCHOS_PROHIBITED
+@interface HKVerifiableClinicalRecordSubject : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property     fullName
+ @abstract     The subject's full name.
+ */
+@property (readonly, copy) NSString *fullName;
+
+/*!
+ @property     dateOfBirthComponents
+ @abstract     The subject's date of birth components.
+ */
+@property (readonly, copy, nullable) NSDateComponents *dateOfBirthComponents;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVisionPrescription.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrescription.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVisionPrescription.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrescription.h	2026-04-18 09:54:43
@@ -0,0 +1,76 @@
+//
+//  HKVisionPrescription.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKSample.h>
+
+@class HKDevice;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKVisionPrescriptionType
+ @abstract      Represents a vision prescription type
+ */
+typedef NS_ENUM(NSUInteger, HKVisionPrescriptionType) {
+    HKVisionPrescriptionTypeGlasses = 1,
+    HKVisionPrescriptionTypeContacts,
+} API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
+
+/*!
+ @class         HKVisionPrescription
+ @abstract      HKSample subclass representing a vision prescription
+ */
+HK_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0))
+@interface HKVisionPrescription : HKSample <NSSecureCoding, NSCopying>
+
+/*!
+ @property      prescriptionType
+ @abstract      A vision prescription type (glasses or contacts)
+ */
+@property (nonatomic, assign, readonly) HKVisionPrescriptionType prescriptionType;
+
+/*!
+ @property      dateIssued
+ @abstract      The date the prescription was issued
+ */
+@property (nonatomic, copy, readonly) NSDate *dateIssued;
+
+/*!
+ @property      expirationDate
+ @abstract      The date the prescription will expire
+ */
+@property (nonatomic, copy, readonly, nullable) NSDate *expirationDate;
+
+
+/*!
+ @method        prescriptionWithType:dateIssued:expirationDate:device:metadata
+
+ @param         type           The prescription type
+ @param         dateIssued     The date the prescription was issued
+ @param         expirationDate The date the prescription expires
+ @param         device         The device that generated the sample
+ @param         metadata       The metadata for the sample
+ */
++ (instancetype)prescriptionWithType:(HKVisionPrescriptionType)type
+                          dateIssued:(NSDate *)dateIssued
+                      expirationDate:(nullable NSDate *)expirationDate
+                              device:(nullable HKDevice *)device
+                            metadata:(nullable NSDictionary<NSString *, id> *)metadata;
+
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVisionPrism.h /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrism.h
--- /Applications/Xcode_26.5.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksHealthKit.framework/Headers/HKVisionPrism.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.5.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrism.h	2026-04-18 05:49:35
@@ -0,0 +1,123 @@
+//
+//  HKVisionPrism.h
+//  HealthKit
+//
+//  Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <HealthKit/HKDefines.h>
+
+@class HKQuantity;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @enum          HKPrismBase
+ @abstract      Represents the prism base for rectangular coordinates
+ */
+typedef NS_ENUM(NSInteger, HKPrismBase) {
+    HKPrismBaseNone = 0,
+    HKPrismBaseUp,
+    HKPrismBaseDown,
+    HKPrismBaseIn,
+    HKPrismBaseOut,
+} API_AVAILABLE(ios(16.

Clone this wiki locally