Build Information
Failed to build HealthKitOnFHIR, reference 0.2.11 (87a925
), with Swift 5.10 for macOS (SPM) on 2 Sep 2024 17:27:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:77:29: error: 'nightSweats' is only available in macOS 13.0 or newer
HKCategoryType(.nightSweats),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:77:29: note: add 'if #available' version check
HKCategoryType(.nightSweats),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:78:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.pelvicPain),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:78:13: note: add 'if #available' version check
HKCategoryType(.pelvicPain),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:78:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.pelvicPain),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:78:13: note: add 'if #available' version check
HKCategoryType(.pelvicPain),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:78:29: error: 'pelvicPain' is only available in macOS 13.0 or newer
HKCategoryType(.pelvicPain),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:78:29: note: add 'if #available' version check
HKCategoryType(.pelvicPain),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:79:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:79:13: note: add 'if #available' version check
HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:79:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:79:13: note: add 'if #available' version check
HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:79:29: error: 'rapidPoundingOrFlutteringHeartbeat' is only available in macOS 13.0 or newer
HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:79:29: note: add 'if #available' version check
HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:80:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.runnyNose),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:80:13: note: add 'if #available' version check
HKCategoryType(.runnyNose),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:80:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.runnyNose),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:80:13: note: add 'if #available' version check
HKCategoryType(.runnyNose),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:80:29: error: 'runnyNose' is only available in macOS 13.0 or newer
HKCategoryType(.runnyNose),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:80:29: note: add 'if #available' version check
HKCategoryType(.runnyNose),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:81:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.shortnessOfBreath),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:81:13: note: add 'if #available' version check
HKCategoryType(.shortnessOfBreath),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:81:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.shortnessOfBreath),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:81:13: note: add 'if #available' version check
HKCategoryType(.shortnessOfBreath),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:81:29: error: 'shortnessOfBreath' is only available in macOS 13.0 or newer
HKCategoryType(.shortnessOfBreath),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:81:29: note: add 'if #available' version check
HKCategoryType(.shortnessOfBreath),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:82:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.sinusCongestion),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:82:13: note: add 'if #available' version check
HKCategoryType(.sinusCongestion),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:82:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.sinusCongestion),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:82:13: note: add 'if #available' version check
HKCategoryType(.sinusCongestion),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:82:29: error: 'sinusCongestion' is only available in macOS 13.0 or newer
HKCategoryType(.sinusCongestion),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:82:29: note: add 'if #available' version check
HKCategoryType(.sinusCongestion),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:83:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.skippedHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:83:13: note: add 'if #available' version check
HKCategoryType(.skippedHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:83:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.skippedHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:83:13: note: add 'if #available' version check
HKCategoryType(.skippedHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:83:29: error: 'skippedHeartbeat' is only available in macOS 13.0 or newer
HKCategoryType(.skippedHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:83:29: note: add 'if #available' version check
HKCategoryType(.skippedHeartbeat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:84:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.soreThroat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:84:13: note: add 'if #available' version check
HKCategoryType(.soreThroat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:84:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.soreThroat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:84:13: note: add 'if #available' version check
HKCategoryType(.soreThroat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:84:29: error: 'soreThroat' is only available in macOS 13.0 or newer
HKCategoryType(.soreThroat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:84:29: note: add 'if #available' version check
HKCategoryType(.soreThroat),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:85:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.vaginalDryness),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:85:13: note: add 'if #available' version check
HKCategoryType(.vaginalDryness),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:85:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.vaginalDryness),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:85:13: note: add 'if #available' version check
HKCategoryType(.vaginalDryness),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:85:29: error: 'vaginalDryness' is only available in macOS 13.0 or newer
HKCategoryType(.vaginalDryness),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:85:29: note: add 'if #available' version check
HKCategoryType(.vaginalDryness),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:86:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.vomiting),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:86:13: note: add 'if #available' version check
HKCategoryType(.vomiting),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:86:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.vomiting),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:86:13: note: add 'if #available' version check
HKCategoryType(.vomiting),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:86:29: error: 'vomiting' is only available in macOS 13.0 or newer
HKCategoryType(.vomiting),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:86:29: note: add 'if #available' version check
HKCategoryType(.vomiting),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:87:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.wheezing):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:87:13: note: add 'if #available' version check
HKCategoryType(.wheezing):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:87:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.wheezing):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:87:13: note: add 'if #available' version check
HKCategoryType(.wheezing):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:87:29: error: 'wheezing' is only available in macOS 13.0 or newer
HKCategoryType(.wheezing):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:87:29: note: add 'if #available' version check
HKCategoryType(.wheezing):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:92:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.moodChanges),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:92:13: note: add 'if #available' version check
HKCategoryType(.moodChanges),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:92:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.moodChanges),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:92:13: note: add 'if #available' version check
HKCategoryType(.moodChanges),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:92:29: error: 'moodChanges' is only available in macOS 13.0 or newer
HKCategoryType(.moodChanges),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:92:29: note: add 'if #available' version check
HKCategoryType(.moodChanges),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:93:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.sleepChanges):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:93:13: note: add 'if #available' version check
HKCategoryType(.sleepChanges):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:93:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.sleepChanges):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:93:13: note: add 'if #available' version check
HKCategoryType(.sleepChanges):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:93:29: error: 'sleepChanges' is only available in macOS 13.0 or newer
HKCategoryType(.sleepChanges):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:93:29: note: add 'if #available' version check
HKCategoryType(.sleepChanges):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:98:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.irregularHeartRhythmEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:98:13: note: add 'if #available' version check
HKCategoryType(.irregularHeartRhythmEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:98:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.irregularHeartRhythmEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:98:13: note: add 'if #available' version check
HKCategoryType(.irregularHeartRhythmEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:98:29: error: 'irregularHeartRhythmEvent' is only available in macOS 13.0 or newer
HKCategoryType(.irregularHeartRhythmEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:98:29: note: add 'if #available' version check
HKCategoryType(.irregularHeartRhythmEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:99:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.lowHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:99:13: note: add 'if #available' version check
HKCategoryType(.lowHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:99:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.lowHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:99:13: note: add 'if #available' version check
HKCategoryType(.lowHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:99:29: error: 'lowHeartRateEvent' is only available in macOS 13.0 or newer
HKCategoryType(.lowHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:99:29: note: add 'if #available' version check
HKCategoryType(.lowHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:100:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.highHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:100:13: note: add 'if #available' version check
HKCategoryType(.highHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:100:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.highHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:100:13: note: add 'if #available' version check
HKCategoryType(.highHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:100:29: error: 'highHeartRateEvent' is only available in macOS 13.0 or newer
HKCategoryType(.highHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:100:29: note: add 'if #available' version check
HKCategoryType(.highHeartRateEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:101:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.mindfulSession),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:101:13: note: add 'if #available' version check
HKCategoryType(.mindfulSession),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:101:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.mindfulSession),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:101:13: note: add 'if #available' version check
HKCategoryType(.mindfulSession),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:101:29: error: 'mindfulSession' is only available in macOS 13.0 or newer
HKCategoryType(.mindfulSession),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:101:29: note: add 'if #available' version check
HKCategoryType(.mindfulSession),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:102:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.toothbrushingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:102:13: note: add 'if #available' version check
HKCategoryType(.toothbrushingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:102:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.toothbrushingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:102:13: note: add 'if #available' version check
HKCategoryType(.toothbrushingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:102:29: error: 'toothbrushingEvent' is only available in macOS 13.0 or newer
HKCategoryType(.toothbrushingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:102:29: note: add 'if #available' version check
HKCategoryType(.toothbrushingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:103:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.handwashingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:103:13: note: add 'if #available' version check
HKCategoryType(.handwashingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:103:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.handwashingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:103:13: note: add 'if #available' version check
HKCategoryType(.handwashingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:103:29: error: 'handwashingEvent' is only available in macOS 13.0 or newer
HKCategoryType(.handwashingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:103:29: note: add 'if #available' version check
HKCategoryType(.handwashingEvent),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:104:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.sexualActivity),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:104:13: note: add 'if #available' version check
HKCategoryType(.sexualActivity),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:104:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.sexualActivity),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:104:13: note: add 'if #available' version check
HKCategoryType(.sexualActivity),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:104:29: error: 'sexualActivity' is only available in macOS 13.0 or newer
HKCategoryType(.sexualActivity),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:104:29: note: add 'if #available' version check
HKCategoryType(.sexualActivity),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:105:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.intermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:105:13: note: add 'if #available' version check
HKCategoryType(.intermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:105:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.intermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:105:13: note: add 'if #available' version check
HKCategoryType(.intermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:105:29: error: 'intermenstrualBleeding' is only available in macOS 13.0 or newer
HKCategoryType(.intermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:105:29: note: add 'if #available' version check
HKCategoryType(.intermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:106:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.infrequentMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:106:13: note: add 'if #available' version check
HKCategoryType(.infrequentMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:106:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.infrequentMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:106:13: note: add 'if #available' version check
HKCategoryType(.infrequentMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:106:29: error: 'infrequentMenstrualCycles' is only available in macOS 13.0 or newer
HKCategoryType(.infrequentMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:106:29: note: add 'if #available' version check
HKCategoryType(.infrequentMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:107:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.irregularMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:107:13: note: add 'if #available' version check
HKCategoryType(.irregularMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:107:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.irregularMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:107:13: note: add 'if #available' version check
HKCategoryType(.irregularMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:107:29: error: 'irregularMenstrualCycles' is only available in macOS 13.0 or newer
HKCategoryType(.irregularMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:107:29: note: add 'if #available' version check
HKCategoryType(.irregularMenstrualCycles),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:108:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.persistentIntermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:108:13: note: add 'if #available' version check
HKCategoryType(.persistentIntermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:108:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.persistentIntermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:108:13: note: add 'if #available' version check
HKCategoryType(.persistentIntermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:108:29: error: 'persistentIntermenstrualBleeding' is only available in macOS 13.0 or newer
HKCategoryType(.persistentIntermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:108:29: note: add 'if #available' version check
HKCategoryType(.persistentIntermenstrualBleeding),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:109:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.prolongedMenstrualPeriods),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:109:13: note: add 'if #available' version check
HKCategoryType(.prolongedMenstrualPeriods),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:109:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.prolongedMenstrualPeriods),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:109:13: note: add 'if #available' version check
HKCategoryType(.prolongedMenstrualPeriods),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:109:29: error: 'prolongedMenstrualPeriods' is only available in macOS 13.0 or newer
HKCategoryType(.prolongedMenstrualPeriods),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:109:29: note: add 'if #available' version check
HKCategoryType(.prolongedMenstrualPeriods),
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:110:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
HKCategoryType(.lactation):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:110:13: note: add 'if #available' version check
HKCategoryType(.lactation):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:110:13: error: 'init(_:)' is only available in macOS 13.0 or newer
HKCategoryType(.lactation):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:110:13: note: add 'if #available' version check
HKCategoryType(.lactation):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:110:29: error: 'lactation' is only available in macOS 13.0 or newer
HKCategoryType(.lactation):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:110:29: note: add 'if #available' version check
HKCategoryType(.lactation):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:27:31: error: 'HKCategoryValueAppetiteChanges' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueAppetiteChanges(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:27:31: note: add 'if #available' version check
valueString = try HKCategoryValueAppetiteChanges(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:29:31: error: 'HKCategoryValueAppleStandHour' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueAppleStandHour(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:29:31: note: add 'if #available' version check
valueString = try HKCategoryValueAppleStandHour(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:31:31: error: 'HKCategoryValueAppleWalkingSteadinessEvent' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueAppleWalkingSteadinessEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:31:31: note: add 'if #available' version check
valueString = try HKCategoryValueAppleWalkingSteadinessEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:33:31: error: 'HKCategoryValueCervicalMucusQuality' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueCervicalMucusQuality(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:33:31: note: add 'if #available' version check
valueString = try HKCategoryValueCervicalMucusQuality(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:35:31: error: 'HKCategoryValueContraceptive' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueContraceptive(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:35:31: note: add 'if #available' version check
valueString = try HKCategoryValueContraceptive(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:37:31: error: 'HKCategoryValueEnvironmentalAudioExposureEvent' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueEnvironmentalAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:37:31: note: add 'if #available' version check
valueString = try HKCategoryValueEnvironmentalAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:39:31: error: 'HKCategoryValueHeadphoneAudioExposureEvent' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueHeadphoneAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:39:31: note: add 'if #available' version check
valueString = try HKCategoryValueHeadphoneAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:41:31: error: 'HKCategoryValueLowCardioFitnessEvent' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueLowCardioFitnessEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:41:31: note: add 'if #available' version check
valueString = try HKCategoryValueLowCardioFitnessEvent(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:43:31: error: 'HKCategoryValueMenstrualFlow' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueMenstrualFlow(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:43:31: note: add 'if #available' version check
valueString = try HKCategoryValueMenstrualFlow(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:45:31: error: 'HKCategoryValueOvulationTestResult' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueOvulationTestResult(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:45:31: note: add 'if #available' version check
valueString = try HKCategoryValueOvulationTestResult(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:47:31: error: 'HKCategoryValuePregnancyTestResult' is only available in macOS 13.0 or newer
valueString = try HKCategoryValuePregnancyTestResult(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:47:31: note: add 'if #available' version check
valueString = try HKCategoryValuePregnancyTestResult(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:49:31: error: 'HKCategoryValueProgesteroneTestResult' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueProgesteroneTestResult(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:49:31: note: add 'if #available' version check
valueString = try HKCategoryValueProgesteroneTestResult(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:51:31: error: 'HKCategoryValueSleepAnalysis' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueSleepAnalysis(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:51:31: note: add 'if #available' version check
valueString = try HKCategoryValueSleepAnalysis(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:90:31: error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
valueString = try HKCategoryValueSeverity(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:90:31: note: add 'if #available' version check
valueString = try HKCategoryValueSeverity(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:96:31: error: 'HKCategoryValuePresence' is only available in macOS 13.0 or newer
valueString = try HKCategoryValuePresence(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:96:31: note: add 'if #available' version check
valueString = try HKCategoryValuePresence(rawValue: self.value)?.categoryValueDescription
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:16:10: note: add @available attribute to enclosing instance method
func buildCategoryObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCategorySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:27:11: error: 'HKCategoryValueCervicalMucusQuality' is only available in macOS 13.0 or newer
extension HKCategoryValueCervicalMucusQuality: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:27:1: note: add @available attribute to enclosing extension
extension HKCategoryValueCervicalMucusQuality: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:48:11: error: 'HKCategoryValueMenstrualFlow' is only available in macOS 13.0 or newer
extension HKCategoryValueMenstrualFlow: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:48:1: note: add @available attribute to enclosing extension
extension HKCategoryValueMenstrualFlow: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:69:11: error: 'HKCategoryValueOvulationTestResult' is only available in macOS 13.0 or newer
extension HKCategoryValueOvulationTestResult: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:69:1: note: add @available attribute to enclosing extension
extension HKCategoryValueOvulationTestResult: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:88:11: error: 'HKCategoryValueContraceptive' is only available in macOS 13.0 or newer
extension HKCategoryValueContraceptive: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:88:1: note: add @available attribute to enclosing extension
extension HKCategoryValueContraceptive: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:113:11: error: 'HKCategoryValueSleepAnalysis' is only available in macOS 13.0 or newer
extension HKCategoryValueSleepAnalysis: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:113:1: note: add @available attribute to enclosing extension
extension HKCategoryValueSleepAnalysis: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:136:11: error: 'HKCategoryValueAppetiteChanges' is only available in macOS 13.0 or newer
extension HKCategoryValueAppetiteChanges: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:136:1: note: add @available attribute to enclosing extension
extension HKCategoryValueAppetiteChanges: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:155:11: error: 'HKCategoryValueEnvironmentalAudioExposureEvent' is only available in macOS 13.0 or newer
extension HKCategoryValueEnvironmentalAudioExposureEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:155:1: note: add @available attribute to enclosing extension
extension HKCategoryValueEnvironmentalAudioExposureEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:168:11: error: 'HKCategoryValueHeadphoneAudioExposureEvent' is only available in macOS 13.0 or newer
extension HKCategoryValueHeadphoneAudioExposureEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:168:1: note: add @available attribute to enclosing extension
extension HKCategoryValueHeadphoneAudioExposureEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:181:11: error: 'HKCategoryValueLowCardioFitnessEvent' is only available in macOS 13.0 or newer
extension HKCategoryValueLowCardioFitnessEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:181:1: note: add @available attribute to enclosing extension
extension HKCategoryValueLowCardioFitnessEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:194:11: error: 'HKAppleWalkingSteadinessClassification' is only available in macOS 13.0 or newer
extension HKAppleWalkingSteadinessClassification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:194:1: note: add @available attribute to enclosing extension
extension HKAppleWalkingSteadinessClassification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:211:11: error: 'HKCategoryValueAppleWalkingSteadinessEvent' is only available in macOS 13.0 or newer
extension HKCategoryValueAppleWalkingSteadinessEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:211:1: note: add @available attribute to enclosing extension
extension HKCategoryValueAppleWalkingSteadinessEvent: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:230:11: error: 'HKCategoryValuePregnancyTestResult' is only available in macOS 13.0 or newer
extension HKCategoryValuePregnancyTestResult: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:230:1: note: add @available attribute to enclosing extension
extension HKCategoryValuePregnancyTestResult: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:247:11: error: 'HKCategoryValueProgesteroneTestResult' is only available in macOS 13.0 or newer
extension HKCategoryValueProgesteroneTestResult: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:247:1: note: add @available attribute to enclosing extension
extension HKCategoryValueProgesteroneTestResult: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:264:11: error: 'HKCategoryValueAppleStandHour' is only available in macOS 13.0 or newer
extension HKCategoryValueAppleStandHour: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:264:1: note: add @available attribute to enclosing extension
extension HKCategoryValueAppleStandHour: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:279:11: error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
extension HKCategoryValueSeverity: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:279:1: note: add @available attribute to enclosing extension
extension HKCategoryValueSeverity: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:300:11: error: 'HKCategoryValuePresence' is only available in macOS 13.0 or newer
extension HKCategoryValuePresence: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:300:1: note: add @available attribute to enclosing extension
extension HKCategoryValuePresence: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:13:11: error: 'HKClinicalRecord' is only available in macOS 13.0 or newer
extension HKClinicalRecord {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:13:1: note: add @available attribute to enclosing extension
extension HKClinicalRecord {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:20:28: error: 'fhirVersion' is only available in macOS 13.0 or newer
guard fhirResource.fhirVersion == HKFHIRVersion.primaryR4() else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:20:28: note: add 'if #available' version check
guard fhirResource.fhirVersion == HKFHIRVersion.primaryR4() else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:15:10: note: add @available attribute to enclosing instance method
func resource() throws -> ResourceProxy {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:13:1: note: add @available attribute to enclosing extension
extension HKClinicalRecord {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:20:43: error: 'HKFHIRVersion' is only available in macOS 13.0 or newer
guard fhirResource.fhirVersion == HKFHIRVersion.primaryR4() else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:20:43: note: add 'if #available' version check
guard fhirResource.fhirVersion == HKFHIRVersion.primaryR4() else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:15:10: note: add @available attribute to enclosing instance method
func resource() throws -> ResourceProxy {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKClinicalRecord+ResourceProxy.swift:13:1: note: add @available attribute to enclosing extension
extension HKClinicalRecord {
^
[685/701] Compiling HealthKitOnFHIR Observation+Collections.swift
[686/701] Compiling HealthKitOnFHIR Observation+Dates.swift
[687/701] Compiling HealthKitOnFHIR HKWorkoutActivityType+String.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkoutActivityType+String.swift:27:11: error: 'HKWorkoutActivityType' is only available in macOS 13.0 or newer
extension HKWorkoutActivityType: HKWorkoutActivityTypeDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkoutActivityType+String.swift:27:1: note: add @available attribute to enclosing extension
extension HKWorkoutActivityType: HKWorkoutActivityTypeDescription {
^
[688/701] Compiling HealthKitOnFHIR HealthKitOnFHIRError.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkoutActivityType+String.swift:27:11: error: 'HKWorkoutActivityType' is only available in macOS 13.0 or newer
extension HKWorkoutActivityType: HKWorkoutActivityTypeDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkoutActivityType+String.swift:27:1: note: add @available attribute to enclosing extension
extension HKWorkoutActivityType: HKWorkoutActivityTypeDescription {
^
[689/701] Compiling HealthKitOnFHIR HKSampleType+ResourceType.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:11: error: 'HKSampleType' is only available in macOS 13.0 or newer
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: note: add 'if #available' version check
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: note: add 'if #available' version check
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:38: error: 'allergyRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:38: note: add 'if #available' version check
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: note: add 'if #available' version check
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: note: add 'if #available' version check
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:38: error: 'conditionRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:38: note: add 'if #available' version check
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: note: add 'if #available' version check
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: note: add 'if #available' version check
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:38: error: 'coverageRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:38: note: add 'if #available' version check
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: note: add 'if #available' version check
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: note: add 'if #available' version check
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:38: error: 'immunizationRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:38: note: add 'if #available' version check
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: note: add 'if #available' version check
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: note: add 'if #available' version check
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:38: error: 'labResultRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:38: note: add 'if #available' version check
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: note: add 'if #available' version check
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: note: add 'if #available' version check
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:38: error: 'medicationRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:38: note: add 'if #available' version check
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: note: add 'if #available' version check
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: note: add 'if #available' version check
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:38: error: 'procedureRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:38: note: add 'if #available' version check
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: note: add 'if #available' version check
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: note: add 'if #available' version check
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:38: error: 'vitalSignRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:38: note: add 'if #available' version check
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:21: note: add 'if #available' version check
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:40: error: 'HKCorrelationType' is only available in macOS 13.0 or newer
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:40: note: add 'if #available' version check
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:62: error: 'HKCategoryType' is only available in macOS 13.0 or newer
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:62: note: add 'if #available' version check
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:20:38: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case let clinicalType as HKClinicalType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:20:38: note: add 'if #available' version check
case let clinicalType as HKClinicalType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkout+Observation.swift:13:11: error: 'HKWorkout' is only available in macOS 13.0 or newer
extension HKWorkout {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkout+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKWorkout {
^
[690/701] Compiling HealthKitOnFHIR HKWorkout+Observation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:11: error: 'HKSampleType' is only available in macOS 13.0 or newer
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: note: add 'if #available' version check
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:22: note: add 'if #available' version check
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:38: error: 'allergyRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:22:38: note: add 'if #available' version check
case HKClinicalType(.allergyRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: note: add 'if #available' version check
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:22: note: add 'if #available' version check
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:38: error: 'conditionRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:24:38: note: add 'if #available' version check
case HKClinicalType(.conditionRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: note: add 'if #available' version check
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:22: note: add 'if #available' version check
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:38: error: 'coverageRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:26:38: note: add 'if #available' version check
case HKClinicalType(.coverageRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: note: add 'if #available' version check
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:22: note: add 'if #available' version check
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:38: error: 'immunizationRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:28:38: note: add 'if #available' version check
case HKClinicalType(.immunizationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: note: add 'if #available' version check
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:22: note: add 'if #available' version check
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:38: error: 'labResultRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:30:38: note: add 'if #available' version check
case HKClinicalType(.labResultRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: note: add 'if #available' version check
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:22: note: add 'if #available' version check
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:38: error: 'medicationRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:32:38: note: add 'if #available' version check
case HKClinicalType(.medicationRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: note: add 'if #available' version check
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:22: note: add 'if #available' version check
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:38: error: 'procedureRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:34:38: note: add 'if #available' version check
case HKClinicalType(.procedureRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: note: add 'if #available' version check
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: error: 'init(_:)' is only available in macOS 13.0 or newer
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:22: note: add 'if #available' version check
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:38: error: 'vitalSignRecord' is only available in macOS 13.0 or newer
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:36:38: note: add 'if #available' version check
case HKClinicalType(.vitalSignRecord):
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:21: note: add 'if #available' version check
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:40: error: 'HKCorrelationType' is only available in macOS 13.0 or newer
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:40: note: add 'if #available' version check
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:62: error: 'HKCategoryType' is only available in macOS 13.0 or newer
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:18:62: note: add 'if #available' version check
case is HKQuantityType, is HKCorrelationType, is HKCategoryType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:20:38: error: 'HKClinicalType' is only available in macOS 13.0 or newer
case let clinicalType as HKClinicalType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:20:38: note: add 'if #available' version check
case let clinicalType as HKClinicalType:
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:15:16: note: add @available attribute to enclosing property
public var resourceType: ResourceType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKSampleType+ResourceType.swift:13:1: note: add @available attribute to enclosing extension
extension HKSampleType {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkout+Observation.swift:13:11: error: 'HKWorkout' is only available in macOS 13.0 or newer
extension HKWorkout {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKWorkout+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKWorkout {
^
[691/701] Compiling HealthKitOnFHIR HKWorkoutSampleMapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:23:24: error: 'HKUnit' is only available in macOS 13.0 or newer
public var hkunit: HKUnit
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:58:17: error: 'HKUnit' is only available in macOS 13.0 or newer
hkunit: HKUnit,
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:57:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:72:17: error: 'HKUnit' is only available in macOS 13.0 or newer
hkunit: HKUnit,
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:71:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:23:16: warning: stored property 'hkunit' of 'Sendable'-conforming struct 'MappedUnit' has non-sendable type 'HKUnit'
public var hkunit: HKUnit
^
HealthKit.HKUnit:2:12: note: class 'HKUnit' does not conform to the 'Sendable' protocol
open class HKUnit : NSObject, NSSecureCoding, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthKit'
import HealthKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:34:26: error: 'HKUnit' is only available in macOS 13.0 or newer
let hkunit = try HKUnit(from: values.decode(String.self, forKey: .hkunit))
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:34:26: note: add 'if #available' version check
let hkunit = try HKUnit(from: values.decode(String.self, forKey: .hkunit))
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:32:12: note: add @available attribute to enclosing initializer
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
[692/701] Compiling HealthKitOnFHIR MappedCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:23:24: error: 'HKUnit' is only available in macOS 13.0 or newer
public var hkunit: HKUnit
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:58:17: error: 'HKUnit' is only available in macOS 13.0 or newer
hkunit: HKUnit,
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:57:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:72:17: error: 'HKUnit' is only available in macOS 13.0 or newer
hkunit: HKUnit,
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:71:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:23:16: warning: stored property 'hkunit' of 'Sendable'-conforming struct 'MappedUnit' has non-sendable type 'HKUnit'
public var hkunit: HKUnit
^
HealthKit.HKUnit:2:12: note: class 'HKUnit' does not conform to the 'Sendable' protocol
open class HKUnit : NSObject, NSSecureCoding, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthKit'
import HealthKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:34:26: error: 'HKUnit' is only available in macOS 13.0 or newer
let hkunit = try HKUnit(from: values.decode(String.self, forKey: .hkunit))
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:34:26: note: add 'if #available' version check
let hkunit = try HKUnit(from: values.decode(String.self, forKey: .hkunit))
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:32:12: note: add @available attribute to enclosing initializer
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
[693/701] Compiling HealthKitOnFHIR MappedUnit.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:23:24: error: 'HKUnit' is only available in macOS 13.0 or newer
public var hkunit: HKUnit
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:58:17: error: 'HKUnit' is only available in macOS 13.0 or newer
hkunit: HKUnit,
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:57:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:72:17: error: 'HKUnit' is only available in macOS 13.0 or newer
hkunit: HKUnit,
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:71:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:23:16: warning: stored property 'hkunit' of 'Sendable'-conforming struct 'MappedUnit' has non-sendable type 'HKUnit'
public var hkunit: HKUnit
^
HealthKit.HKUnit:2:12: note: class 'HKUnit' does not conform to the 'Sendable' protocol
open class HKUnit : NSObject, NSSecureCoding, NSCopying {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthKit'
import HealthKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:34:26: error: 'HKUnit' is only available in macOS 13.0 or newer
let hkunit = try HKUnit(from: values.decode(String.self, forKey: .hkunit))
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:34:26: note: add 'if #available' version check
let hkunit = try HKUnit(from: values.decode(String.self, forKey: .hkunit))
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:32:12: note: add @available attribute to enclosing initializer
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HKSampleMapping/MappedUnit.swift:13:15: note: add @available attribute to enclosing struct
public struct MappedUnit: Decodable, Sendable {
^
[694/701] Compiling HealthKitOnFHIR HKCorrelationType+Observation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:11: error: 'HKCorrelation' is only available in macOS 13.0 or newer
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:33:43: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
guard let sample = object as? HKQuantitySample else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:33:43: note: add 'if #available' version check
guard let sample = object as? HKQuantitySample else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:14:10: note: add @available attribute to enclosing instance method
func buildCorrelationObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:34: error: 'HKCategoryType' is only available in macOS 13.0 or newer
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:22: note: add @available attribute to enclosing type alias
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:50: error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:22: note: add @available attribute to enclosing type alias
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:65:73: error: 'HKQuantity' is only available in macOS 13.0 or newer
public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:65:22: note: add @available attribute to enclosing type alias
public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:63: error: 'HKUnit' is only available in macOS 13.0 or newer
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:63: note: add 'if #available' version check
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:70: error: 'hertz()' is only available in macOS 13.0 or newer
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:70: note: add 'if #available' version check
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:236:70: error: 'HKQuantity' is only available in macOS 13.0 or newer
var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:236:70: note: add 'if #available' version check
var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:31:20: error: 'HKQuantityType' is only available in macOS 13.0 or newer
mappings: [HKQuantityType: HKQuantitySampleMapping] = HKQuantitySampleMapping.default
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:29:10: note: add @available attribute to enclosing instance method
func buildQuantitySampleObservationComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKQuantitySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
extension HKQuantitySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKQuantitySample {
^
[695/701] Compiling HealthKitOnFHIR HKElectrocardiogram+Observation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:11: error: 'HKCorrelation' is only available in macOS 13.0 or newer
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:33:43: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
guard let sample = object as? HKQuantitySample else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:33:43: note: add 'if #available' version check
guard let sample = object as? HKQuantitySample else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:14:10: note: add @available attribute to enclosing instance method
func buildCorrelationObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:34: error: 'HKCategoryType' is only available in macOS 13.0 or newer
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:22: note: add @available attribute to enclosing type alias
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:50: error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:22: note: add @available attribute to enclosing type alias
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:65:73: error: 'HKQuantity' is only available in macOS 13.0 or newer
public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:65:22: note: add @available attribute to enclosing type alias
public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:63: error: 'HKUnit' is only available in macOS 13.0 or newer
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:63: note: add 'if #available' version check
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:70: error: 'hertz()' is only available in macOS 13.0 or newer
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:70: note: add 'if #available' version check
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:236:70: error: 'HKQuantity' is only available in macOS 13.0 or newer
var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:236:70: note: add 'if #available' version check
var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:31:20: error: 'HKQuantityType' is only available in macOS 13.0 or newer
mappings: [HKQuantityType: HKQuantitySampleMapping] = HKQuantitySampleMapping.default
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:29:10: note: add @available attribute to enclosing instance method
func buildQuantitySampleObservationComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKQuantitySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
extension HKQuantitySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKQuantitySample {
^
[696/701] Compiling HealthKitOnFHIR HKQuantitySample+Observation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:11: error: 'HKCorrelation' is only available in macOS 13.0 or newer
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:33:43: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
guard let sample = object as? HKQuantitySample else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:33:43: note: add 'if #available' version check
guard let sample = object as? HKQuantitySample else {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:14:10: note: add @available attribute to enclosing instance method
func buildCorrelationObservation(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCorrelationType+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKCorrelation {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:34: error: 'HKCategoryType' is only available in macOS 13.0 or newer
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:22: note: add @available attribute to enclosing type alias
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:50: error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:61:22: note: add @available attribute to enclosing type alias
public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:65:73: error: 'HKQuantity' is only available in macOS 13.0 or newer
public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:65:22: note: add @available attribute to enclosing type alias
public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:11: error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:63: error: 'HKUnit' is only available in macOS 13.0 or newer
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:63: note: add 'if #available' version check
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:70: error: 'hertz()' is only available in macOS 13.0 or newer
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:228:70: note: add 'if #available' version check
period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:236:70: error: 'HKQuantity' is only available in macOS 13.0 or newer
var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:236:70: note: add 'if #available' version check
var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:217:18: note: add @available attribute to enclosing instance method
private func appendVoltageMeasurementsComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:59:1: note: add @available attribute to enclosing extension
extension HKElectrocardiogram {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:31:20: error: 'HKQuantityType' is only available in macOS 13.0 or newer
mappings: [HKQuantityType: HKQuantitySampleMapping] = HKQuantitySampleMapping.default
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:29:10: note: add @available attribute to enclosing instance method
func buildQuantitySampleObservationComponent(
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKQuantitySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
extension HKQuantitySample {
^
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKQuantitySample+Observation.swift:13:1: note: add @available attribute to enclosing extension
extension HKQuantitySample {
^
[697/701] Compiling HealthKitOnFHIR Observation+Value.swift
[698/701] Compiling HealthKitOnFHIR resource_bundle_accessor.swift
[699/701] Compiling HealthKitOnFHIR Bundle+JSON.swift
[700/701] Compiling HealthKitOnFHIR HKCategorySampleMapping.swift
[701/701] Compiling HealthKitOnFHIR HKCorrelationMapping.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm