HealthKit watchOS 4.3 to 5.0 API Differences

HKClinicalType.h
HKCumulativeQuantitySeriesSample.h
HKDefines.h
HKHealthStore.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse HKWorkoutSession's start method

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse HKWorkoutSession's end method

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse HKWorkoutSession's pause method

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse HKWorkoutSession's resume method

HKLiveWorkoutBuilder.h
HKLiveWorkoutDataSource.h
HKMetadata.h
HKQuantitySample.h
Declaration
From@property (readonly, strong, nonnull) HKQuantityType *quantityType
To@property (readonly, copy, nonnull) HKQuantityType *quantityType

Declaration
From@property (readonly, strong, nonnull) HKQuantity *quantity
To@property (readonly, copy, nonnull) HKQuantity *quantity

HKQuantitySeriesSampleBuilder.h
HKQuantitySeriesSampleQuery.h
HKSample.h
Declaration
From@property (readonly, strong, nonnull) HKSampleType *sampleType
To@property (readonly, copy, nonnull) HKSampleType *sampleType

HKStatistics.h
HKWorkoutBuilder.h
HKWorkoutRouteBuilder.h
HKWorkoutSession.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedinitWithHealthStore:configuration:error: