Skip to content

HealthKit iOS xcode15.0 b6

Haritha Mohan edited this page Sep 5, 2023 · 5 revisions

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

diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h	2023-07-18 00:07:27
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h	2023-08-02 05:29:55
@@ -38,6 +38,7 @@
                                                 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.
  */
 typedef NS_ENUM(NSInteger, HKErrorCode) {
     HKUnknownError = 0,
@@ -55,6 +56,7 @@
     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)),
 } API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
 
 /*!
Clone this wiki locally