HealthKit watchOS 3.2 to 4.0 API Differences

HKCDADocumentSample.h
HKDefines.h
Removed #def HK_AVAILABLE_IOS_WATCHOS
Removed #def HK_AVAILABLE_IOS_ONLY
Removed #def HK_AVAILABLE_WATCHOS_ONLY
Removed #def HK_CLASS_AVAILABLE_IOS_ONLY
Removed #def HK_CLASS_AVAILABLE_WATCHOS_ONLY
Removed #def HK_CLASS_AVAILABLE_IOS_WATCHOS
Removed #def HK_ENUM_AVAILABLE_IOS_WATCHOS
HKDeletedObject.h
HKDocumentQuery.h
HKHealthStore.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported

HKMetadata.h
HKObjectType.h
Header
FromHKObjectType.h
ToHKQuantityAggregationStyle.h

Header
FromHKObjectType.h
ToHKQuantityAggregationStyle.h

Header
FromHKObjectType.h
ToHKQuantityAggregationStyle.h

HKQuantityAggregationStyle.h
Header
FromHKObjectType.h
ToHKQuantityAggregationStyle.h

Header
FromHKObjectType.h
ToHKQuantityAggregationStyle.h

Header
FromHKObjectType.h
ToHKQuantityAggregationStyle.h

HKQuery.h
HKSeriesBuilder.h
HKSeriesSample.h
HKSourceRevision.h
HKTypeIdentifiers.h
HKUnit.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse smallCalorieUnit or largeCalorieUnit, depending on which you mean

HKWorkout.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse HKWorkoutActivityTypeMixedCardio or HKWorkoutActivityTypeHighIntensityIntervalTraining

AvailabilityReplacement
FromAvailablenone
ToDeprecateddateInterval

AvailabilityReplacement
FromAvailablenone
ToDeprecatedworkoutEventWithType:dateInterval:metadata:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedworkoutEventWithType:dateInterval:metadata:

HKWorkoutRoute.h
HKWorkoutRouteBuilder.h
HKWorkoutRouteQuery.h