Skip to content

HealthKit macOS xcode16.2 b2

Rolf Bjarne Kvinge edited this page Nov 28, 2024 · 2 revisions

#HealthKit.framework https://github.com/xamarin/xamarin-macios/pull/21712

diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h	2024-10-04 21:03:15
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h	2024-10-31 01:50:12
@@ -275,6 +275,13 @@
 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.
Clone this wiki locally