Build Information
Failed to build HealthKitOnFHIR, reference 0.2.11 (87a925
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 23:40:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
70 | HKCategoryType(.heartburn),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:68:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
66 | HKCategoryType(.fever),
67 | HKCategoryType(.generalizedBodyAche),
68 | HKCategoryType(.hairLoss),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:68:29: error: 'hairLoss' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
66 | HKCategoryType(.fever),
67 | HKCategoryType(.generalizedBodyAche),
68 | HKCategoryType(.hairLoss),
| |- error: 'hairLoss' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:69:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
67 | HKCategoryType(.generalizedBodyAche),
68 | HKCategoryType(.hairLoss),
69 | HKCategoryType(.headache),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:69:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
67 | HKCategoryType(.generalizedBodyAche),
68 | HKCategoryType(.hairLoss),
69 | HKCategoryType(.headache),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:69:29: error: 'headache' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
67 | HKCategoryType(.generalizedBodyAche),
68 | HKCategoryType(.hairLoss),
69 | HKCategoryType(.headache),
| |- error: 'headache' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:70:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
68 | HKCategoryType(.hairLoss),
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:70:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
68 | HKCategoryType(.hairLoss),
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:70:29: error: 'heartburn' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
68 | HKCategoryType(.hairLoss),
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
| |- error: 'heartburn' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:71:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:71:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:71:29: error: 'hotFlashes' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
69 | HKCategoryType(.headache),
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
| |- error: 'hotFlashes' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:72:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:72:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:72:29: error: 'lossOfSmell' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
70 | HKCategoryType(.heartburn),
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
| |- error: 'lossOfSmell' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:73:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:73:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:73:29: error: 'lossOfTaste' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
71 | HKCategoryType(.hotFlashes),
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
| |- error: 'lossOfTaste' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:74:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:74:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:74:29: error: 'lowerBackPain' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
72 | HKCategoryType(.lossOfSmell),
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
| |- error: 'lowerBackPain' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:75:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:75:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:75:29: error: 'memoryLapse' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
73 | HKCategoryType(.lossOfTaste),
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
| |- error: 'memoryLapse' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:76:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:76:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:76:29: error: 'nausea' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
74 | HKCategoryType(.lowerBackPain),
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
| |- error: 'nausea' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:77:13: error: 'HKCategoryType' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategorySample+Observation.swift:77:13: error: 'init(_:)' is only available in macOS 13.0 or newer
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
75 | HKCategoryType(.memoryLapse),
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
| |- error: 'nightSweats' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
76 | HKCategoryType(.nausea),
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
| |- error: 'pelvicPain' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
77 | HKCategoryType(.nightSweats),
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
| |- error: 'rapidPoundingOrFlutteringHeartbeat' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
78 | HKCategoryType(.pelvicPain),
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
| |- error: 'runnyNose' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
79 | HKCategoryType(.rapidPoundingOrFlutteringHeartbeat),
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
| |- error: 'shortnessOfBreath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
80 | HKCategoryType(.runnyNose),
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
| |- error: 'sinusCongestion' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
81 | HKCategoryType(.shortnessOfBreath),
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
| |- error: 'skippedHeartbeat' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
82 | HKCategoryType(.sinusCongestion),
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
| |- error: 'soreThroat' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
86 | HKCategoryType(.vomiting),
87 | HKCategoryType(.wheezing):
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
86 | HKCategoryType(.vomiting),
87 | HKCategoryType(.wheezing):
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
83 | HKCategoryType(.skippedHeartbeat),
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
| |- error: 'vaginalDryness' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
86 | HKCategoryType(.vomiting),
87 | HKCategoryType(.wheezing):
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
87 | HKCategoryType(.wheezing):
88 | // Samples of these types carry values of
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
87 | HKCategoryType(.wheezing):
88 | // Samples of these types carry values of
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
84 | HKCategoryType(.soreThroat),
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
| |- error: 'vomiting' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
87 | HKCategoryType(.wheezing):
88 | // Samples of these types carry values of
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
87 | HKCategoryType(.wheezing):
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
88 | // Samples of these types carry values of
89 | // HKCategoryValueSeverity
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
87 | HKCategoryType(.wheezing):
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
88 | // Samples of these types carry values of
89 | // HKCategoryValueSeverity
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
85 | HKCategoryType(.vaginalDryness),
86 | HKCategoryType(.vomiting),
87 | HKCategoryType(.wheezing):
| |- error: 'wheezing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
88 | // Samples of these types carry values of
89 | // HKCategoryValueSeverity
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
90 | valueString = try HKCategoryValueSeverity(rawValue: self.value)?.categoryValueDescription
91 | case
92 | HKCategoryType(.moodChanges),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
93 | HKCategoryType(.sleepChanges):
94 | // Samples of these types carry values of
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
90 | valueString = try HKCategoryValueSeverity(rawValue: self.value)?.categoryValueDescription
91 | case
92 | HKCategoryType(.moodChanges),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
93 | HKCategoryType(.sleepChanges):
94 | // Samples of these types carry values of
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
90 | valueString = try HKCategoryValueSeverity(rawValue: self.value)?.categoryValueDescription
91 | case
92 | HKCategoryType(.moodChanges),
| |- error: 'moodChanges' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
93 | HKCategoryType(.sleepChanges):
94 | // Samples of these types carry values of
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
91 | case
92 | HKCategoryType(.moodChanges),
93 | HKCategoryType(.sleepChanges):
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
94 | // Samples of these types carry values of
95 | // HKCategoryValuePresence
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
91 | case
92 | HKCategoryType(.moodChanges),
93 | HKCategoryType(.sleepChanges):
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
94 | // Samples of these types carry values of
95 | // HKCategoryValuePresence
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
91 | case
92 | HKCategoryType(.moodChanges),
93 | HKCategoryType(.sleepChanges):
| |- error: 'sleepChanges' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
94 | // Samples of these types carry values of
95 | // HKCategoryValuePresence
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
96 | valueString = try HKCategoryValuePresence(rawValue: self.value)?.categoryValueDescription
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
96 | valueString = try HKCategoryValuePresence(rawValue: self.value)?.categoryValueDescription
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
96 | valueString = try HKCategoryValuePresence(rawValue: self.value)?.categoryValueDescription
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
| |- error: 'irregularHeartRhythmEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
99 | HKCategoryType(.lowHeartRateEvent),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
99 | HKCategoryType(.lowHeartRateEvent),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
99 | HKCategoryType(.lowHeartRateEvent),
| |- error: 'lowHeartRateEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
98 | HKCategoryType(.irregularHeartRhythmEvent),
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
98 | HKCategoryType(.irregularHeartRhythmEvent),
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
98 | HKCategoryType(.irregularHeartRhythmEvent),
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
| |- error: 'highHeartRateEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
99 | HKCategoryType(.lowHeartRateEvent),
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
| |- error: 'mindfulSession' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
100 | HKCategoryType(.highHeartRateEvent),
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
| |- error: 'toothbrushingEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
101 | HKCategoryType(.mindfulSession),
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
| |- error: 'handwashingEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
102 | HKCategoryType(.toothbrushingEvent),
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
| |- error: 'sexualActivity' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
103 | HKCategoryType(.handwashingEvent),
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
| |- error: 'intermenstrualBleeding' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
104 | HKCategoryType(.sexualActivity),
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
| |- error: 'infrequentMenstrualCycles' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
105 | HKCategoryType(.intermenstrualBleeding),
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
| |- error: 'irregularMenstrualCycles' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
109 | HKCategoryType(.prolongedMenstrualPeriods),
110 | HKCategoryType(.lactation):
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
109 | HKCategoryType(.prolongedMenstrualPeriods),
110 | HKCategoryType(.lactation):
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
106 | HKCategoryType(.infrequentMenstrualCycles),
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
| |- error: 'persistentIntermenstrualBleeding' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
109 | HKCategoryType(.prolongedMenstrualPeriods),
110 | HKCategoryType(.lactation):
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
110 | HKCategoryType(.lactation):
111 | // Samples of these types do not carry any value,
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
110 | HKCategoryType(.lactation):
111 | // Samples of these types do not carry any value,
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
107 | HKCategoryType(.irregularMenstrualCycles),
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
| |- error: 'prolongedMenstrualPeriods' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
110 | HKCategoryType(.lactation):
111 | // Samples of these types do not carry any value,
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
110 | HKCategoryType(.lactation):
| |- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
111 | // Samples of these types do not carry any value,
112 | // nor associated metadata, so we use the category
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
110 | HKCategoryType(.lactation):
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
111 | // Samples of these types do not carry any value,
112 | // nor associated metadata, so we use the category
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
108 | HKCategoryType(.persistentIntermenstrualBleeding),
109 | HKCategoryType(.prolongedMenstrualPeriods),
110 | HKCategoryType(.lactation):
| |- error: 'lactation' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
111 | // Samples of these types do not carry any value,
112 | // nor associated metadata, so we use the category
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
25 | switch self.categoryType {
26 | case HKCategoryType(.appetiteChanges):
27 | valueString = try HKCategoryValueAppetiteChanges(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueAppetiteChanges' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
28 | case HKCategoryType(.appleStandHour):
29 | valueString = try HKCategoryValueAppleStandHour(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
27 | valueString = try HKCategoryValueAppetiteChanges(rawValue: self.value)?.categoryValueDescription
28 | case HKCategoryType(.appleStandHour):
29 | valueString = try HKCategoryValueAppleStandHour(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueAppleStandHour' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
30 | case HKCategoryType(.appleWalkingSteadinessEvent):
31 | valueString = try HKCategoryValueAppleWalkingSteadinessEvent(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
29 | valueString = try HKCategoryValueAppleStandHour(rawValue: self.value)?.categoryValueDescription
30 | case HKCategoryType(.appleWalkingSteadinessEvent):
31 | valueString = try HKCategoryValueAppleWalkingSteadinessEvent(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueAppleWalkingSteadinessEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
32 | case HKCategoryType(.cervicalMucusQuality):
33 | valueString = try HKCategoryValueCervicalMucusQuality(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
31 | valueString = try HKCategoryValueAppleWalkingSteadinessEvent(rawValue: self.value)?.categoryValueDescription
32 | case HKCategoryType(.cervicalMucusQuality):
33 | valueString = try HKCategoryValueCervicalMucusQuality(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueCervicalMucusQuality' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | case HKCategoryType(.contraceptive):
35 | valueString = try HKCategoryValueContraceptive(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
33 | valueString = try HKCategoryValueCervicalMucusQuality(rawValue: self.value)?.categoryValueDescription
34 | case HKCategoryType(.contraceptive):
35 | valueString = try HKCategoryValueContraceptive(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueContraceptive' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
36 | case HKCategoryType(.environmentalAudioExposureEvent):
37 | valueString = try HKCategoryValueEnvironmentalAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
35 | valueString = try HKCategoryValueContraceptive(rawValue: self.value)?.categoryValueDescription
36 | case HKCategoryType(.environmentalAudioExposureEvent):
37 | valueString = try HKCategoryValueEnvironmentalAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueEnvironmentalAudioExposureEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
38 | case HKCategoryType(.headphoneAudioExposureEvent):
39 | valueString = try HKCategoryValueHeadphoneAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
37 | valueString = try HKCategoryValueEnvironmentalAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
38 | case HKCategoryType(.headphoneAudioExposureEvent):
39 | valueString = try HKCategoryValueHeadphoneAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueHeadphoneAudioExposureEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
40 | case HKCategoryType(.lowCardioFitnessEvent):
41 | valueString = try HKCategoryValueLowCardioFitnessEvent(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
39 | valueString = try HKCategoryValueHeadphoneAudioExposureEvent(rawValue: self.value)?.categoryValueDescription
40 | case HKCategoryType(.lowCardioFitnessEvent):
41 | valueString = try HKCategoryValueLowCardioFitnessEvent(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueLowCardioFitnessEvent' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
42 | case HKCategoryType(.menstrualFlow):
43 | valueString = try HKCategoryValueMenstrualFlow(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
41 | valueString = try HKCategoryValueLowCardioFitnessEvent(rawValue: self.value)?.categoryValueDescription
42 | case HKCategoryType(.menstrualFlow):
43 | valueString = try HKCategoryValueMenstrualFlow(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueMenstrualFlow' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
44 | case HKCategoryType(.ovulationTestResult):
45 | valueString = try HKCategoryValueOvulationTestResult(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
43 | valueString = try HKCategoryValueMenstrualFlow(rawValue: self.value)?.categoryValueDescription
44 | case HKCategoryType(.ovulationTestResult):
45 | valueString = try HKCategoryValueOvulationTestResult(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueOvulationTestResult' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
46 | case HKCategoryType(.pregnancyTestResult):
47 | valueString = try HKCategoryValuePregnancyTestResult(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
45 | valueString = try HKCategoryValueOvulationTestResult(rawValue: self.value)?.categoryValueDescription
46 | case HKCategoryType(.pregnancyTestResult):
47 | valueString = try HKCategoryValuePregnancyTestResult(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValuePregnancyTestResult' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
48 | case HKCategoryType(.progesteroneTestResult):
49 | valueString = try HKCategoryValueProgesteroneTestResult(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
47 | valueString = try HKCategoryValuePregnancyTestResult(rawValue: self.value)?.categoryValueDescription
48 | case HKCategoryType(.progesteroneTestResult):
49 | valueString = try HKCategoryValueProgesteroneTestResult(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueProgesteroneTestResult' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
50 | case HKCategoryType(.sleepAnalysis):
51 | valueString = try HKCategoryValueSleepAnalysis(rawValue: self.value)?.categoryValueDescription
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
49 | valueString = try HKCategoryValueProgesteroneTestResult(rawValue: self.value)?.categoryValueDescription
50 | case HKCategoryType(.sleepAnalysis):
51 | valueString = try HKCategoryValueSleepAnalysis(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueSleepAnalysis' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
52 | case
53 | HKCategoryType(.abdominalCramps),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
88 | // Samples of these types carry values of
89 | // HKCategoryValueSeverity
90 | valueString = try HKCategoryValueSeverity(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
91 | case
92 | HKCategoryType(.moodChanges),
/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
11 |
12 |
13 | extension HKCategorySample {
| `- note: add @available attribute to enclosing extension
14 | // Disabled the following rules as this function is readable
15 | // swiftlint:disable:next cyclomatic_complexity function_body_length
16 | func buildCategoryObservation(
| `- note: add @available attribute to enclosing instance method
17 | _ observation: inout Observation,
18 | mappings: HKSampleMapping = HKSampleMapping.default
:
94 | // Samples of these types carry values of
95 | // HKCategoryValuePresence
96 | valueString = try HKCategoryValuePresence(rawValue: self.value)?.categoryValueDescription
| |- error: 'HKCategoryValuePresence' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
97 | case
98 | HKCategoryType(.irregularHeartRhythmEvent),
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:27:1: warning: extension declares a conformance of imported type 'HKCategoryValueCervicalMucusQuality' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
25 | }
26 |
27 | extension HKCategoryValueCervicalMucusQuality: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueCervicalMucusQuality' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | var categoryValueDescription: String {
29 | get throws {
/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
25 | }
26 |
27 | extension HKCategoryValueCervicalMucusQuality: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueCervicalMucusQuality' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
28 | var categoryValueDescription: String {
29 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:48:1: warning: extension declares a conformance of imported type 'HKCategoryValueMenstrualFlow' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
46 | }
47 |
48 | extension HKCategoryValueMenstrualFlow: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueMenstrualFlow' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
49 | var categoryValueDescription: String {
50 | get throws {
/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
46 | }
47 |
48 | extension HKCategoryValueMenstrualFlow: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueMenstrualFlow' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
49 | var categoryValueDescription: String {
50 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:69:1: warning: extension declares a conformance of imported type 'HKCategoryValueOvulationTestResult' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
67 | }
68 |
69 | extension HKCategoryValueOvulationTestResult: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueOvulationTestResult' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
70 | var categoryValueDescription: String {
71 | get throws {
/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
67 | }
68 |
69 | extension HKCategoryValueOvulationTestResult: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueOvulationTestResult' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
70 | var categoryValueDescription: String {
71 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:88:1: warning: extension declares a conformance of imported type 'HKCategoryValueContraceptive' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
86 | }
87 |
88 | extension HKCategoryValueContraceptive: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueContraceptive' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
89 | var categoryValueDescription: String {
90 | get throws {
/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
86 | }
87 |
88 | extension HKCategoryValueContraceptive: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueContraceptive' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
89 | var categoryValueDescription: String {
90 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:113:1: warning: extension declares a conformance of imported type 'HKCategoryValueSleepAnalysis' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
111 | }
112 |
113 | extension HKCategoryValueSleepAnalysis: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueSleepAnalysis' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 | var categoryValueDescription: String {
115 | get throws {
/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
111 | }
112 |
113 | extension HKCategoryValueSleepAnalysis: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueSleepAnalysis' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
114 | var categoryValueDescription: String {
115 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:136:1: warning: extension declares a conformance of imported type 'HKCategoryValueAppetiteChanges' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
134 | }
135 |
136 | extension HKCategoryValueAppetiteChanges: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueAppetiteChanges' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
137 | var categoryValueDescription: String {
138 | get throws {
/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
134 | }
135 |
136 | extension HKCategoryValueAppetiteChanges: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueAppetiteChanges' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
137 | var categoryValueDescription: String {
138 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:155:1: warning: extension declares a conformance of imported type 'HKCategoryValueEnvironmentalAudioExposureEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
153 | }
154 |
155 | extension HKCategoryValueEnvironmentalAudioExposureEvent: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueEnvironmentalAudioExposureEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
156 | var categoryValueDescription: String {
157 | get throws {
/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
153 | }
154 |
155 | extension HKCategoryValueEnvironmentalAudioExposureEvent: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueEnvironmentalAudioExposureEvent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
156 | var categoryValueDescription: String {
157 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:168:1: warning: extension declares a conformance of imported type 'HKCategoryValueHeadphoneAudioExposureEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
166 | }
167 |
168 | extension HKCategoryValueHeadphoneAudioExposureEvent: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueHeadphoneAudioExposureEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | var categoryValueDescription: String {
170 | get throws {
/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
166 | }
167 |
168 | extension HKCategoryValueHeadphoneAudioExposureEvent: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueHeadphoneAudioExposureEvent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
169 | var categoryValueDescription: String {
170 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:181:1: warning: extension declares a conformance of imported type 'HKCategoryValueLowCardioFitnessEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
179 | }
180 |
181 | extension HKCategoryValueLowCardioFitnessEvent: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueLowCardioFitnessEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
182 | var categoryValueDescription: String {
183 | get throws {
/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
179 | }
180 |
181 | extension HKCategoryValueLowCardioFitnessEvent: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueLowCardioFitnessEvent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
182 | var categoryValueDescription: String {
183 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:194:1: warning: extension declares a conformance of imported type 'HKAppleWalkingSteadinessClassification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
192 | }
193 |
194 | extension HKAppleWalkingSteadinessClassification: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKAppleWalkingSteadinessClassification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
195 | var categoryValueDescription: String {
196 | get throws {
/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
192 | }
193 |
194 | extension HKAppleWalkingSteadinessClassification: HKCategoryValueDescription {
| | `- error: 'HKAppleWalkingSteadinessClassification' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
195 | var categoryValueDescription: String {
196 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:211:1: warning: extension declares a conformance of imported type 'HKCategoryValueAppleWalkingSteadinessEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
209 | }
210 |
211 | extension HKCategoryValueAppleWalkingSteadinessEvent: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueAppleWalkingSteadinessEvent' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
212 | var categoryValueDescription: String {
213 | get throws {
/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
209 | }
210 |
211 | extension HKCategoryValueAppleWalkingSteadinessEvent: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueAppleWalkingSteadinessEvent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
212 | var categoryValueDescription: String {
213 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:230:1: warning: extension declares a conformance of imported type 'HKCategoryValuePregnancyTestResult' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
228 | }
229 |
230 | extension HKCategoryValuePregnancyTestResult: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValuePregnancyTestResult' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
231 | var categoryValueDescription: String {
232 | get throws {
/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
228 | }
229 |
230 | extension HKCategoryValuePregnancyTestResult: HKCategoryValueDescription {
| | `- error: 'HKCategoryValuePregnancyTestResult' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
231 | var categoryValueDescription: String {
232 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:247:1: warning: extension declares a conformance of imported type 'HKCategoryValueProgesteroneTestResult' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
245 | }
246 |
247 | extension HKCategoryValueProgesteroneTestResult: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueProgesteroneTestResult' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
248 | var categoryValueDescription: String {
249 | get throws {
/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
245 | }
246 |
247 | extension HKCategoryValueProgesteroneTestResult: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueProgesteroneTestResult' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
248 | var categoryValueDescription: String {
249 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:264:1: warning: extension declares a conformance of imported type 'HKCategoryValueAppleStandHour' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
262 | }
263 |
264 | extension HKCategoryValueAppleStandHour: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueAppleStandHour' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
265 | var categoryValueDescription: String {
266 | get throws {
/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
262 | }
263 |
264 | extension HKCategoryValueAppleStandHour: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueAppleStandHour' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
265 | var categoryValueDescription: String {
266 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:279:1: warning: extension declares a conformance of imported type 'HKCategoryValueSeverity' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
277 | }
278 |
279 | extension HKCategoryValueSeverity: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValueSeverity' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
280 | var categoryValueDescription: String {
281 | get throws {
/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
277 | }
278 |
279 | extension HKCategoryValueSeverity: HKCategoryValueDescription {
| | `- error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
280 | var categoryValueDescription: String {
281 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKCategoryValue+String.swift:300:1: warning: extension declares a conformance of imported type 'HKCategoryValuePresence' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
298 | }
299 |
300 | extension HKCategoryValuePresence: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'HKCategoryValuePresence' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
301 | var categoryValueDescription: String {
302 | get throws {
/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
298 | }
299 |
300 | extension HKCategoryValuePresence: HKCategoryValueDescription {
| | `- error: 'HKCategoryValuePresence' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
301 | var categoryValueDescription: String {
302 | get throws {
/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
11 |
12 |
13 | extension HKClinicalRecord {
| | `- error: 'HKClinicalRecord' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | /// Converts an `HKClinicalRecord` into a corresponding FHIR resource, encapsulated in a `ResourceProxy`
15 | func resource() throws -> ResourceProxy {
/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
11 |
12 |
13 | extension HKClinicalRecord {
| `- note: add @available attribute to enclosing extension
14 | /// Converts an `HKClinicalRecord` into a corresponding FHIR resource, encapsulated in a `ResourceProxy`
15 | func resource() throws -> ResourceProxy {
| `- note: add @available attribute to enclosing instance method
16 | guard let fhirResource = self.fhirResource else {
17 | throw HealthKitOnFHIRError.invalidFHIRResource
18 | }
19 |
20 | guard fhirResource.fhirVersion == HKFHIRVersion.primaryR4() else {
| |- error: 'fhirVersion' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
21 | throw HealthKitOnFHIRError.unsupportedFHIRVersion
22 | }
/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
11 |
12 |
13 | extension HKClinicalRecord {
| `- note: add @available attribute to enclosing extension
14 | /// Converts an `HKClinicalRecord` into a corresponding FHIR resource, encapsulated in a `ResourceProxy`
15 | func resource() throws -> ResourceProxy {
| `- note: add @available attribute to enclosing instance method
16 | guard let fhirResource = self.fhirResource else {
17 | throw HealthKitOnFHIRError.invalidFHIRResource
18 | }
19 |
20 | guard fhirResource.fhirVersion == HKFHIRVersion.primaryR4() else {
| |- error: 'HKFHIRVersion' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
21 | throw HealthKitOnFHIRError.unsupportedFHIRVersion
22 | }
[697/701] Compiling HealthKitOnFHIR Observation+Value.swift
[698/701] Compiling HealthKitOnFHIR resource_bundle_accessor.swift
[699/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
11 |
12 |
13 | extension HKCorrelation {
| | `- error: 'HKCorrelation' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | func buildCorrelationObservation(
15 | _ observation: inout Observation,
/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
11 |
12 |
13 | extension HKCorrelation {
| `- note: add @available attribute to enclosing extension
14 | func buildCorrelationObservation(
| `- note: add @available attribute to enclosing instance method
15 | _ observation: inout Observation,
16 | mappings: HKSampleMapping = HKSampleMapping.default
:
31 |
32 | for object in self.objects {
33 | guard let sample = object as? HKQuantitySample else {
| |- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | throw HealthKitOnFHIRError.notSupported
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:1: warning: extension declares a conformance of imported type 'Classification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
11 |
12 |
13 | extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'Classification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | var categoryValueDescription: String {
15 | get throws {
/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
11 |
12 |
13 | extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | var categoryValueDescription: String {
15 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:1: warning: extension declares a conformance of imported type 'SymptomsStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
39 |
40 |
41 | extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'SymptomsStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | var categoryValueDescription: String {
43 | get throws {
/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
39 |
40 |
41 | extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
42 | var categoryValueDescription: String {
43 | get throws {
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
| | `- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
62 | /// The raw voltage measurements are defined as `HKQuantity` samples that are correlating to a specific measurement time.
63 | ///
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
| | `- error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
62 | /// The raw voltage measurements are defined as `HKQuantity` samples that are correlating to a specific measurement time.
63 | ///
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
63 | ///
64 | /// The voltage measurements must be sorted by time interval.
65 | public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
| | `- error: 'HKQuantity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
66 |
67 |
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
226 | let period: Double
227 | if let samplingFrequency {
228 | period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
| |- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
229 | } else {
230 | period = (voltageMeasurements.last?.time ?? 0.0) / Double(voltageMeasurements.count)
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
226 | let period: Double
227 | if let samplingFrequency {
228 | period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
| |- error: 'hertz()' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
229 | } else {
230 | period = (voltageMeasurements.last?.time ?? 0.0) / Double(voltageMeasurements.count)
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
234 | var lastIndex = 0
235 | var lastRemainder = 10.0
236 | var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
| |- error: 'HKQuantity' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
237 | for voltageMeasurement in voltageMeasurements.enumerated() {
238 | let remainder = voltageMeasurement.element.time.truncatingRemainder(dividingBy: 10.0)
/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
11 |
12 |
13 | extension HKQuantitySample {
| `- note: add @available attribute to enclosing extension
14 | func buildQuantitySampleObservation(
15 | _ observation: inout Observation,
:
27 | }
28 |
29 | func buildQuantitySampleObservationComponent(
| `- note: add @available attribute to enclosing instance method
30 | _ observation: inout Observation,
31 | mappings: [HKQuantityType: HKQuantitySampleMapping] = HKQuantitySampleMapping.default
| `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
32 | ) throws {
33 | guard let mapping = mappings[self.quantityType] else {
/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
11 |
12 |
13 | extension HKQuantitySample {
| | `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | func buildQuantitySampleObservation(
15 | _ observation: inout Observation,
[700/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
11 |
12 |
13 | extension HKCorrelation {
| | `- error: 'HKCorrelation' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | func buildCorrelationObservation(
15 | _ observation: inout Observation,
/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
11 |
12 |
13 | extension HKCorrelation {
| `- note: add @available attribute to enclosing extension
14 | func buildCorrelationObservation(
| `- note: add @available attribute to enclosing instance method
15 | _ observation: inout Observation,
16 | mappings: HKSampleMapping = HKSampleMapping.default
:
31 |
32 | for object in self.objects {
33 | guard let sample = object as? HKQuantitySample else {
| |- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | throw HealthKitOnFHIRError.notSupported
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:1: warning: extension declares a conformance of imported type 'Classification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
11 |
12 |
13 | extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'Classification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | var categoryValueDescription: String {
15 | get throws {
/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
11 |
12 |
13 | extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | var categoryValueDescription: String {
15 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:1: warning: extension declares a conformance of imported type 'SymptomsStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
39 |
40 |
41 | extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'SymptomsStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | var categoryValueDescription: String {
43 | get throws {
/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
39 |
40 |
41 | extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
42 | var categoryValueDescription: String {
43 | get throws {
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
| | `- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
62 | /// The raw voltage measurements are defined as `HKQuantity` samples that are correlating to a specific measurement time.
63 | ///
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
| | `- error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
62 | /// The raw voltage measurements are defined as `HKQuantity` samples that are correlating to a specific measurement time.
63 | ///
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
63 | ///
64 | /// The voltage measurements must be sorted by time interval.
65 | public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
| | `- error: 'HKQuantity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
66 |
67 |
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
226 | let period: Double
227 | if let samplingFrequency {
228 | period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
| |- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
229 | } else {
230 | period = (voltageMeasurements.last?.time ?? 0.0) / Double(voltageMeasurements.count)
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
226 | let period: Double
227 | if let samplingFrequency {
228 | period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
| |- error: 'hertz()' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
229 | } else {
230 | period = (voltageMeasurements.last?.time ?? 0.0) / Double(voltageMeasurements.count)
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
234 | var lastIndex = 0
235 | var lastRemainder = 10.0
236 | var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
| |- error: 'HKQuantity' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
237 | for voltageMeasurement in voltageMeasurements.enumerated() {
238 | let remainder = voltageMeasurement.element.time.truncatingRemainder(dividingBy: 10.0)
/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
11 |
12 |
13 | extension HKQuantitySample {
| `- note: add @available attribute to enclosing extension
14 | func buildQuantitySampleObservation(
15 | _ observation: inout Observation,
:
27 | }
28 |
29 | func buildQuantitySampleObservationComponent(
| `- note: add @available attribute to enclosing instance method
30 | _ observation: inout Observation,
31 | mappings: [HKQuantityType: HKQuantitySampleMapping] = HKQuantitySampleMapping.default
| `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
32 | ) throws {
33 | guard let mapping = mappings[self.quantityType] else {
/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
11 |
12 |
13 | extension HKQuantitySample {
| | `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | func buildQuantitySampleObservation(
15 | _ observation: inout Observation,
[701/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
11 |
12 |
13 | extension HKCorrelation {
| | `- error: 'HKCorrelation' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | func buildCorrelationObservation(
15 | _ observation: inout Observation,
/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
11 |
12 |
13 | extension HKCorrelation {
| `- note: add @available attribute to enclosing extension
14 | func buildCorrelationObservation(
| `- note: add @available attribute to enclosing instance method
15 | _ observation: inout Observation,
16 | mappings: HKSampleMapping = HKSampleMapping.default
:
31 |
32 | for object in self.objects {
33 | guard let sample = object as? HKQuantitySample else {
| |- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | throw HealthKitOnFHIRError.notSupported
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:13:1: warning: extension declares a conformance of imported type 'Classification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
11 |
12 |
13 | extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'Classification' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | var categoryValueDescription: String {
15 | get throws {
/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
11 |
12 |
13 | extension HKElectrocardiogram.Classification: HKCategoryValueDescription {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | var categoryValueDescription: String {
15 | get throws {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnFHIR/HealthKit Extensions/HKElectrocardiogram+Observation.swift:41:1: warning: extension declares a conformance of imported type 'SymptomsStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
39 |
40 |
41 | extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
| |- warning: extension declares a conformance of imported type 'SymptomsStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'HealthKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | var categoryValueDescription: String {
43 | get throws {
/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
39 |
40 |
41 | extension HKElectrocardiogram.SymptomsStatus: HKCategoryValueDescription {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
42 | var categoryValueDescription: String {
43 | get throws {
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
| | `- error: 'HKCategoryType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
62 | /// The raw voltage measurements are defined as `HKQuantity` samples that are correlating to a specific measurement time.
63 | ///
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
| | `- error: 'HKCategoryValueSeverity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
62 | /// The raw voltage measurements are defined as `HKQuantity` samples that are correlating to a specific measurement time.
63 | ///
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
63 | ///
64 | /// The voltage measurements must be sorted by time interval.
65 | public typealias VoltageMeasurements = [(time: TimeInterval, value: HKQuantity)]
| | `- error: 'HKQuantity' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing type alias
66 |
67 |
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| | `- error: 'HKElectrocardiogram' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
226 | let period: Double
227 | if let samplingFrequency {
228 | period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
| |- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
229 | } else {
230 | period = (voltageMeasurements.last?.time ?? 0.0) / Double(voltageMeasurements.count)
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
226 | let period: Double
227 | if let samplingFrequency {
228 | period = 1.0 / samplingFrequency.doubleValue(for: HKUnit.hertz())
| |- error: 'hertz()' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
229 | } else {
230 | period = (voltageMeasurements.last?.time ?? 0.0) / Double(voltageMeasurements.count)
/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
57 |
58 |
59 | extension HKElectrocardiogram {
| `- note: add @available attribute to enclosing extension
60 | /// The `Symptoms` contain related `HKCategoryType` instances coded as `HKCategoryValueSeverity` enums related to an `HKElectrocardiogram`.
61 | public typealias Symptoms = [HKCategoryType: HKCategoryValueSeverity]
:
215 |
216 |
217 | private func appendVoltageMeasurementsComponent(
| `- note: add @available attribute to enclosing instance method
218 | _ observation: inout Observation,
219 | voltageMeasurements: VoltageMeasurements,
:
234 | var lastIndex = 0
235 | var lastRemainder = 10.0
236 | var voltageMeasurementBatches: [[(time: TimeInterval, value: HKQuantity)]] = []
| |- error: 'HKQuantity' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
237 | for voltageMeasurement in voltageMeasurements.enumerated() {
238 | let remainder = voltageMeasurement.element.time.truncatingRemainder(dividingBy: 10.0)
/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
11 |
12 |
13 | extension HKQuantitySample {
| `- note: add @available attribute to enclosing extension
14 | func buildQuantitySampleObservation(
15 | _ observation: inout Observation,
:
27 | }
28 |
29 | func buildQuantitySampleObservationComponent(
| `- note: add @available attribute to enclosing instance method
30 | _ observation: inout Observation,
31 | mappings: [HKQuantityType: HKQuantitySampleMapping] = HKQuantitySampleMapping.default
| `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
32 | ) throws {
33 | guard let mapping = mappings[self.quantityType] else {
/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
11 |
12 |
13 | extension HKQuantitySample {
| | `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
14 | func buildQuantitySampleObservation(
15 | _ observation: inout Observation,
BUILD FAILURE 6.0 macosSpm