The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCTHealthKit, reference 1.2.7 (34ad0f), with Swift 6.3 for macOS (SPM) on 23 Apr 2026 00:12:43 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTHealthKit.git
Reference: 1.2.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/XCTHealthKit
 * tag               1.2.7      -> FETCH_HEAD
HEAD is now at 34ad0f6 fix DOB entry (#31)
Cloned https://github.com/StanfordBDHG/XCTHealthKit.git
Revision (git rev-parse @):
34ad0f6fcabd23bda768f7c5f751b8f4a1e368cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTHealthKit.git at 1.2.7
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "xcthealthkit",
      "name": "XCTHealthKit",
      "url": "https://github.com/StanfordBDHG/XCTHealthKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTHealthKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/StanfordBDHG/XCTHealthKit.git
[1/762] Fetching xcthealthkit
Fetched https://github.com/StanfordBDHG/XCTHealthKit.git from cache (0.75s)
Creating working copy for https://github.com/StanfordBDHG/XCTHealthKit.git
Working copy of https://github.com/StanfordBDHG/XCTHealthKit.git resolved at 1.2.7 (34ad0f6)
warning: '.resolve-product-dependencies': dependency 'xcthealthkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/StanfordBDHG/XCTHealthKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/12] Compiling XCTHealthKit XCTest+AddSamples.swift
[4/12] Compiling XCTHealthKit XCTest+HealthKit.swift
[5/12] Emitting module XCTHealthKit
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 |
14 | /// A Sample type within the Health app.
15 | public struct HealthAppSampleType: Hashable, Sendable {
   |               `- note: add '@available' attribute to enclosing struct
16 |     public let category: HealthAppCategory
17 |     public let sampleType: HKSampleType
   |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
18 |     public let healthAppDisplayTitle: String
19 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 |
14 | /// A Sample type within the Health app.
15 | public struct HealthAppSampleType: Hashable, Sendable {
   |               `- note: add '@available' attribute to enclosing struct
16 |     public let category: HealthAppCategory
17 |     public let sampleType: HKSampleType
   :
19 |
20 |     /// Creates a new sample type, with the specified fields
21 |     public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
   |            |                                             `- error: 'HKSampleType' is only available in macOS 13.0 or newer
   |            `- note: add '@available' attribute to enclosing initializer
22 |         self.category = category
23 |         self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
43 |     )
44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
45 |     public static let electrocardiograms = Self(
   |                       `- note: add '@available' attribute to enclosing static property
46 |         category: .heart,
47 |         sampleType: .electrocardiogramType(),
   |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 | import XCTest
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add '@available' attribute to enclosing let
13 |
14 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
 18 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 19 |     public let bloodType: HKBloodType?
    |                           `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 20 |
 21 |     /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 27 |     ///
 28 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 29 |     public let biologicalSex: HKBiologicalSex?
    |                               `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 30 |
 31 |     /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 32 |     ///
 33 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 34 |     public let skinType: HKFitzpatrickSkinType?
    |                          `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 35 |
 36 |     /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 37 |     ///
 38 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 39 |     public let wheelchairUse: HKWheelchairUse?
    |                               `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 40 |
 41 |     /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
    |                    `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
    |                        `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
    |                   `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 47 |         wheelchairUse: HKWheelchairUse? = nil
 48 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
    |                        `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 48 |     ) {
 49 |         self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:55:30: error: 'HKClinicalType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                |             `- error: 'HKClinicalType' is only available in macOS 13.0 or newer
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
[6/12] Compiling XCTHealthKit HealthAppSampleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 |
14 | /// A Sample type within the Health app.
15 | public struct HealthAppSampleType: Hashable, Sendable {
   |               `- note: add '@available' attribute to enclosing struct
16 |     public let category: HealthAppCategory
17 |     public let sampleType: HKSampleType
   |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
18 |     public let healthAppDisplayTitle: String
19 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 |
14 | /// A Sample type within the Health app.
15 | public struct HealthAppSampleType: Hashable, Sendable {
   |               `- note: add '@available' attribute to enclosing struct
16 |     public let category: HealthAppCategory
17 |     public let sampleType: HKSampleType
   :
19 |
20 |     /// Creates a new sample type, with the specified fields
21 |     public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
   |            |                                             `- error: 'HKSampleType' is only available in macOS 13.0 or newer
   |            `- note: add '@available' attribute to enclosing initializer
22 |         self.category = category
23 |         self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
43 |     )
44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
45 |     public static let electrocardiograms = Self(
   |                       `- note: add '@available' attribute to enclosing static property
46 |         category: .heart,
47 |         sampleType: .electrocardiogramType(),
   |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 | import XCTest
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add '@available' attribute to enclosing let
13 |
14 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:93:23: error: 'OSLogMessage' is only available in macOS 11.0 or newer
70 | // MARK: XCTest Navigation
71 |
72 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
73 |     /// Navigates the Health app to the sample type's page.
74 |     @MainActor
75 |     public func navigateToPage(
   |                 `- note: add '@available' attribute to enclosing instance method
76 |         in healthApp: XCUIApplication = .healthApp, // swiftlint:disable:this function_default_parameter_at_end
77 |         assumeAlreadyInCategory: Bool
   :
91 |             }
92 |         }
93 |         logger.notice("Failed to find element in category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                       `- note: add 'if #available' version check
94 |         throw XCTestError(.failureWhileWaiting)
95 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:93:61: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
70 | // MARK: XCTest Navigation
71 |
72 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
73 |     /// Navigates the Health app to the sample type's page.
74 |     @MainActor
75 |     public func navigateToPage(
   |                 `- note: add '@available' attribute to enclosing instance method
76 |         in healthApp: XCUIApplication = .healthApp, // swiftlint:disable:this function_default_parameter_at_end
77 |         assumeAlreadyInCategory: Bool
   :
91 |             }
92 |         }
93 |         logger.notice("Failed to find element in category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                                             `- note: add 'if #available' version check
94 |         throw XCTestError(.failureWhileWaiting)
95 |     }
[7/12] Compiling XCTHealthKit XCTest+HealthRecord.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:55:30: error: 'HKClinicalType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                |             `- error: 'HKClinicalType' is only available in macOS 13.0 or newer
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:58:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
 58 |             return HKObjectType.clinicalType(forIdentifier: .allergyRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 59 |         case .clinicalNoteRecord:
 60 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:58:62: error: 'allergyRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
 58 |             return HKObjectType.clinicalType(forIdentifier: .allergyRecord)
    |                                                              |- error: 'allergyRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 59 |         case .clinicalNoteRecord:
 60 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:61:24: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 59 |         case .clinicalNoteRecord:
 60 |             if #available(iOS 16.4, *) {
 61 |                 return HKObjectType.clinicalType(forIdentifier: .clinicalNoteRecord)
    |                        |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                        `- note: add 'if #available' version check
 62 |             } else {
 63 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:61:66: error: 'clinicalNoteRecord' is only available in macOS 13.3 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 59 |         case .clinicalNoteRecord:
 60 |             if #available(iOS 16.4, *) {
 61 |                 return HKObjectType.clinicalType(forIdentifier: .clinicalNoteRecord)
    |                                                                  |- error: 'clinicalNoteRecord' is only available in macOS 13.3 or newer
    |                                                                  `- note: add 'if #available' version check
 62 |             } else {
 63 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:66:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 64 |             }
 65 |         case .vitalSignRecord:
 66 |             return HKObjectType.clinicalType(forIdentifier: .vitalSignRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 67 |         case .conditionRecord:
 68 |             return HKObjectType.clinicalType(forIdentifier: .conditionRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:66:62: error: 'vitalSignRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 64 |             }
 65 |         case .vitalSignRecord:
 66 |             return HKObjectType.clinicalType(forIdentifier: .vitalSignRecord)
    |                                                              |- error: 'vitalSignRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 67 |         case .conditionRecord:
 68 |             return HKObjectType.clinicalType(forIdentifier: .conditionRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:68:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 66 |             return HKObjectType.clinicalType(forIdentifier: .vitalSignRecord)
 67 |         case .conditionRecord:
 68 |             return HKObjectType.clinicalType(forIdentifier: .conditionRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 69 |         case .immunizationRecord:
 70 |             return HKObjectType.clinicalType(forIdentifier: .immunizationRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:68:62: error: 'conditionRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 66 |             return HKObjectType.clinicalType(forIdentifier: .vitalSignRecord)
 67 |         case .conditionRecord:
 68 |             return HKObjectType.clinicalType(forIdentifier: .conditionRecord)
    |                                                              |- error: 'conditionRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 69 |         case .immunizationRecord:
 70 |             return HKObjectType.clinicalType(forIdentifier: .immunizationRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:70:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 68 |             return HKObjectType.clinicalType(forIdentifier: .conditionRecord)
 69 |         case .immunizationRecord:
 70 |             return HKObjectType.clinicalType(forIdentifier: .immunizationRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 71 |         case .coverageRecord:
 72 |             return HKObjectType.clinicalType(forIdentifier: .coverageRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:70:62: error: 'immunizationRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 68 |             return HKObjectType.clinicalType(forIdentifier: .conditionRecord)
 69 |         case .immunizationRecord:
 70 |             return HKObjectType.clinicalType(forIdentifier: .immunizationRecord)
    |                                                              |- error: 'immunizationRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 71 |         case .coverageRecord:
 72 |             return HKObjectType.clinicalType(forIdentifier: .coverageRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:72:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 70 |             return HKObjectType.clinicalType(forIdentifier: .immunizationRecord)
 71 |         case .coverageRecord:
 72 |             return HKObjectType.clinicalType(forIdentifier: .coverageRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 73 |         case .labResultRecord:
 74 |             return HKObjectType.clinicalType(forIdentifier: .labResultRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:72:62: error: 'coverageRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 70 |             return HKObjectType.clinicalType(forIdentifier: .immunizationRecord)
 71 |         case .coverageRecord:
 72 |             return HKObjectType.clinicalType(forIdentifier: .coverageRecord)
    |                                                              |- error: 'coverageRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 73 |         case .labResultRecord:
 74 |             return HKObjectType.clinicalType(forIdentifier: .labResultRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:74:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 72 |             return HKObjectType.clinicalType(forIdentifier: .coverageRecord)
 73 |         case .labResultRecord:
 74 |             return HKObjectType.clinicalType(forIdentifier: .labResultRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 75 |         case .medicationRecord:
 76 |             return HKObjectType.clinicalType(forIdentifier: .medicationRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:74:62: error: 'labResultRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 72 |             return HKObjectType.clinicalType(forIdentifier: .coverageRecord)
 73 |         case .labResultRecord:
 74 |             return HKObjectType.clinicalType(forIdentifier: .labResultRecord)
    |                                                              |- error: 'labResultRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 75 |         case .medicationRecord:
 76 |             return HKObjectType.clinicalType(forIdentifier: .medicationRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:76:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 74 |             return HKObjectType.clinicalType(forIdentifier: .labResultRecord)
 75 |         case .medicationRecord:
 76 |             return HKObjectType.clinicalType(forIdentifier: .medicationRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 77 |         case .procedureRecord:
 78 |             return HKObjectType.clinicalType(forIdentifier: .procedureRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:76:62: error: 'medicationRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 74 |             return HKObjectType.clinicalType(forIdentifier: .labResultRecord)
 75 |         case .medicationRecord:
 76 |             return HKObjectType.clinicalType(forIdentifier: .medicationRecord)
    |                                                              |- error: 'medicationRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 77 |         case .procedureRecord:
 78 |             return HKObjectType.clinicalType(forIdentifier: .procedureRecord)
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:78:20: error: 'HKObjectType' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 76 |             return HKObjectType.clinicalType(forIdentifier: .medicationRecord)
 77 |         case .procedureRecord:
 78 |             return HKObjectType.clinicalType(forIdentifier: .procedureRecord)
    |                    |- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
 79 |         }
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:78:62: error: 'procedureRecord' is only available in macOS 13.0 or newer
 28 | /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
 29 | /// The `description` property matches the display name shown in the HealthKit authorization sheet.
 30 | public enum HealthRecordType: CaseIterable {
    |             `- note: add '@available' attribute to enclosing enum
 31 |     case allergyRecord
 32 |     case clinicalNoteRecord
    :
 53 |     }
 54 |
 55 |     public var clinicalType: HKClinicalType? {
    |                `- note: add '@available' attribute to enclosing property
 56 |         switch self {
 57 |         case .allergyRecord:
    :
 76 |             return HKObjectType.clinicalType(forIdentifier: .medicationRecord)
 77 |         case .procedureRecord:
 78 |             return HKObjectType.clinicalType(forIdentifier: .procedureRecord)
    |                                                              |- error: 'procedureRecord' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
 79 |         }
 80 |     }
[8/12] Compiling XCTHealthKit XCTest+HealthApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 | import XCTest
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add '@available' attribute to enclosing let
13 |
14 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:52:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 10 | import XCTest
 11 |
 12 | extension XCTestCase {
    | `- note: add '@available' attribute to enclosing extension
 13 |     /// Walks through the Health App onboarding flow, if necessary.
 14 |     @MainActor
    :
 20 |
 21 |     @MainActor
 22 |     func handleOnboarding(_ healthApp: XCUIApplication = .healthApp, alreadyRecursive: Bool = false) {
    |          `- note: add '@available' attribute to enclosing instance method
 23 |         let monitor = installHealthAppNotificationsAlertMonitor()
 24 |
    :
 50 |                 if !healthApp.staticTexts["Continue"].waitForExistence(timeout: 60) {
 51 |                     if alreadyRecursive {
 52 |                         logger.notice("Even the recursive process did fail. Terminate the process.")
    |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                                       `- note: add 'if #available' version check
 53 |                     }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:87:13: error: 'MainActor' is only available in macOS 10.15 or newer
 10 | import XCTest
 11 |
 12 | extension XCTestCase {
    | `- note: add '@available' attribute to enclosing extension
 13 |     /// Walks through the Health App onboarding flow, if necessary.
 14 |     @MainActor
    :
 83 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 84 |     @discardableResult
 85 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add '@available' attribute to enclosing instance method
 86 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 87 |             MainActor.assumeIsolated {
    |             |- error: 'MainActor' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |                 guard alert.staticTexts["“Health” Would Like to Send You Notifications"].exists else {
 89 |                     // Not the Health app's Notification request alert.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:87:23: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
 10 | import XCTest
 11 |
 12 | extension XCTestCase {
    | `- note: add '@available' attribute to enclosing extension
 13 |     /// Walks through the Health App onboarding flow, if necessary.
 14 |     @MainActor
    :
 83 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 84 |     @discardableResult
 85 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add '@available' attribute to enclosing instance method
 86 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 87 |             MainActor.assumeIsolated {
    |                       |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 88 |                 guard alert.staticTexts["“Health” Would Like to Send You Notifications"].exists else {
 89 |                     // Not the Health app's Notification request alert.
[9/12] Compiling XCTHealthKit XCTest+CharacteristicEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
 18 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 19 |     public let bloodType: HKBloodType?
    |                           `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 20 |
 21 |     /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 27 |     ///
 28 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 29 |     public let biologicalSex: HKBiologicalSex?
    |                               `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 30 |
 31 |     /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 32 |     ///
 33 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 34 |     public let skinType: HKFitzpatrickSkinType?
    |                          `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 35 |
 36 |     /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 37 |     ///
 38 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 39 |     public let wheelchairUse: HKWheelchairUse?
    |                               `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 40 |
 41 |     /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
    |                    `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
    |                        `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
    |                   `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 47 |         wheelchairUse: HKWheelchairUse? = nil
 48 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add '@available' attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
    |                        `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 48 |     ) {
 49 |         self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:102:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
100 |                 picker.pickerWheels
101 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
102 |                     .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
103 |             }
104 |             if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:102:61: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
100 |                 picker.pickerWheels
101 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
102 |                     .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
    |                                                             `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
103 |             }
104 |             if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:107:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
105 |                 picker.pickerWheels
106 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
107 |                     .adjust(toPickerWheelValue: String(format: dayFormatString, day))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
108 |             }
109 |             if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:107:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
105 |                 picker.pickerWheels
106 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
107 |                     .adjust(toPickerWheelValue: String(format: dayFormatString, day))
    |                                                 `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
108 |             }
109 |             if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:112:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
110 |                 picker.pickerWheels
111 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
112 |                     .adjust(toPickerWheelValue: String(year))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
113 |             }
114 |             healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:112:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
110 |                 picker.pickerWheels
111 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
112 |                     .adjust(toPickerWheelValue: String(year))
    |                                                 `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
113 |             }
114 |             healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:122:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
120 |             switch biologicalSex {
121 |             case .notSet:
122 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
123 |             case .male:
124 |                 picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:122:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
120 |             switch biologicalSex {
121 |             case .notSet:
122 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
123 |             case .male:
124 |                 picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:124:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
122 |                 picker.adjust(toPickerWheelValue: "")
123 |             case .male:
124 |                 picker.adjust(toPickerWheelValue: "Male")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
125 |             case .female:
126 |                 picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:124:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
122 |                 picker.adjust(toPickerWheelValue: "")
123 |             case .male:
124 |                 picker.adjust(toPickerWheelValue: "Male")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
125 |             case .female:
126 |                 picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:126:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
124 |                 picker.adjust(toPickerWheelValue: "Male")
125 |             case .female:
126 |                 picker.adjust(toPickerWheelValue: "Female")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
127 |             case .other:
128 |                 picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:126:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
124 |                 picker.adjust(toPickerWheelValue: "Male")
125 |             case .female:
126 |                 picker.adjust(toPickerWheelValue: "Female")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
127 |             case .other:
128 |                 picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:128:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
126 |                 picker.adjust(toPickerWheelValue: "Female")
127 |             case .other:
128 |                 picker.adjust(toPickerWheelValue: "Other")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
129 |             @unknown default:
130 |                 XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:128:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
126 |                 picker.adjust(toPickerWheelValue: "Female")
127 |             case .other:
128 |                 picker.adjust(toPickerWheelValue: "Other")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
129 |             @unknown default:
130 |                 XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:140:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
138 |             switch bloodType {
139 |             case .notSet:
140 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
141 |             case .aPositive:
142 |                 picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:140:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
138 |             switch bloodType {
139 |             case .notSet:
140 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
141 |             case .aPositive:
142 |                 picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:142:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
140 |                 picker.adjust(toPickerWheelValue: "")
141 |             case .aPositive:
142 |                 picker.adjust(toPickerWheelValue: "A+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
143 |             case .aNegative:
144 |                 picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:142:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
140 |                 picker.adjust(toPickerWheelValue: "")
141 |             case .aPositive:
142 |                 picker.adjust(toPickerWheelValue: "A+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
143 |             case .aNegative:
144 |                 picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:144:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
142 |                 picker.adjust(toPickerWheelValue: "A+")
143 |             case .aNegative:
144 |                 picker.adjust(toPickerWheelValue: "A-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
145 |             case .bPositive:
146 |                 picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:144:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
142 |                 picker.adjust(toPickerWheelValue: "A+")
143 |             case .aNegative:
144 |                 picker.adjust(toPickerWheelValue: "A-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
145 |             case .bPositive:
146 |                 picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:146:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
144 |                 picker.adjust(toPickerWheelValue: "A-")
145 |             case .bPositive:
146 |                 picker.adjust(toPickerWheelValue: "B+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
147 |             case .bNegative:
148 |                 picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:146:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
144 |                 picker.adjust(toPickerWheelValue: "A-")
145 |             case .bPositive:
146 |                 picker.adjust(toPickerWheelValue: "B+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
147 |             case .bNegative:
148 |                 picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:148:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
146 |                 picker.adjust(toPickerWheelValue: "B+")
147 |             case .bNegative:
148 |                 picker.adjust(toPickerWheelValue: "B-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
149 |             case .abPositive:
150 |                 picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:148:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
146 |                 picker.adjust(toPickerWheelValue: "B+")
147 |             case .bNegative:
148 |                 picker.adjust(toPickerWheelValue: "B-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
149 |             case .abPositive:
150 |                 picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:150:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
148 |                 picker.adjust(toPickerWheelValue: "B-")
149 |             case .abPositive:
150 |                 picker.adjust(toPickerWheelValue: "AB+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
151 |             case .abNegative:
152 |                 picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:150:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
148 |                 picker.adjust(toPickerWheelValue: "B-")
149 |             case .abPositive:
150 |                 picker.adjust(toPickerWheelValue: "AB+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
151 |             case .abNegative:
152 |                 picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:152:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
150 |                 picker.adjust(toPickerWheelValue: "AB+")
151 |             case .abNegative:
152 |                 picker.adjust(toPickerWheelValue: "AB-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
153 |             case .oPositive:
154 |                 picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:152:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
150 |                 picker.adjust(toPickerWheelValue: "AB+")
151 |             case .abNegative:
152 |                 picker.adjust(toPickerWheelValue: "AB-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
153 |             case .oPositive:
154 |                 picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:154:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
152 |                 picker.adjust(toPickerWheelValue: "AB-")
153 |             case .oPositive:
154 |                 picker.adjust(toPickerWheelValue: "O+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
155 |             case .oNegative:
156 |                 picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:154:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
152 |                 picker.adjust(toPickerWheelValue: "AB-")
153 |             case .oPositive:
154 |                 picker.adjust(toPickerWheelValue: "O+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
155 |             case .oNegative:
156 |                 picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:156:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
154 |                 picker.adjust(toPickerWheelValue: "O+")
155 |             case .oNegative:
156 |                 picker.adjust(toPickerWheelValue: "O-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
157 |             @unknown default:
158 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:156:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
154 |                 picker.adjust(toPickerWheelValue: "O+")
155 |             case .oNegative:
156 |                 picker.adjust(toPickerWheelValue: "O-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
157 |             @unknown default:
158 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:168:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
166 |             switch skinType {
167 |             case .notSet:
168 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
169 |             case .I:
170 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:168:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
166 |             switch skinType {
167 |             case .notSet:
168 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
169 |             case .I:
170 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:170:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
168 |                 picker.adjust(toPickerWheelValue: "")
169 |             case .I:
170 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 |             case .II:
172 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:170:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
168 |                 picker.adjust(toPickerWheelValue: "")
169 |             case .I:
170 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 |             case .II:
172 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:172:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
170 |                 picker.adjust(toPickerWheelValue: "Type I")
171 |             case .II:
172 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
173 |             case .III:
174 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:172:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
170 |                 picker.adjust(toPickerWheelValue: "Type I")
171 |             case .II:
172 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
173 |             case .III:
174 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:174:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
172 |                 picker.adjust(toPickerWheelValue: "Type II")
173 |             case .III:
174 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
175 |             case .IV:
176 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:174:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
172 |                 picker.adjust(toPickerWheelValue: "Type II")
173 |             case .III:
174 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
175 |             case .IV:
176 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:176:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |                 picker.adjust(toPickerWheelValue: "Type III")
175 |             case .IV:
176 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
177 |             case .V:
178 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:176:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |                 picker.adjust(toPickerWheelValue: "Type III")
175 |             case .IV:
176 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
177 |             case .V:
178 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:178:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
176 |                 picker.adjust(toPickerWheelValue: "Type IV")
177 |             case .V:
178 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
179 |             case .VI:
180 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:178:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
176 |                 picker.adjust(toPickerWheelValue: "Type IV")
177 |             case .V:
178 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
179 |             case .VI:
180 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:180:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
178 |                 picker.adjust(toPickerWheelValue: "Type V")
179 |             case .VI:
180 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
181 |             @unknown default:
182 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:180:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
178 |                 picker.adjust(toPickerWheelValue: "Type V")
179 |             case .VI:
180 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
181 |             @unknown default:
182 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:192:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 |             switch wheelchairUse {
191 |             case .notSet:
192 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
193 |             case .no:
194 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:192:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 |             switch wheelchairUse {
191 |             case .notSet:
192 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
193 |             case .no:
194 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:194:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
192 |                 picker.adjust(toPickerWheelValue: "")
193 |             case .no:
194 |                 picker.adjust(toPickerWheelValue: "No")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
195 |             case .yes:
196 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:194:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
192 |                 picker.adjust(toPickerWheelValue: "")
193 |             case .no:
194 |                 picker.adjust(toPickerWheelValue: "No")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
195 |             case .yes:
196 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:196:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
194 |                 picker.adjust(toPickerWheelValue: "No")
195 |             case .yes:
196 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
197 |             @unknown default:
198 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:196:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
194 |                 picker.adjust(toPickerWheelValue: "No")
195 |             case .yes:
196 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
197 |             @unknown default:
198 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
[10/12] Compiling XCTHealthKit XCTHealthKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 | import XCTest
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add '@available' attribute to enclosing let
13 |
14 |
[11/12] Compiling XCTHealthKit HealthAppCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 | import XCTest
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add '@available' attribute to enclosing let
13 |
14 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:71:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 |
13 | /// A category in the health app
14 | public enum HealthAppCategory: String, Hashable, Sendable {
   |             `- note: add '@available' attribute to enclosing enum
15 |     case activity = "Activity"
16 |     case bodyMeasurements = "Body Measurements"
   :
37 |     /// Navigates in the health app to the category, and selects it.
38 |     @MainActor
39 |     public func navigateToPage(in healthApp: XCUIApplication = .healthApp) throws {
   |                 `- note: add '@available' attribute to enclosing instance method
40 |         try healthApp.assertIsHealthApp()
41 |
   :
69 |
70 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
71 |             logger.notice("Failed to find category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                           `- note: add 'if #available' version check
72 |             throw XCTestError(.failureWhileWaiting)
73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:71:54: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
12 |
13 | /// A category in the health app
14 | public enum HealthAppCategory: String, Hashable, Sendable {
   |             `- note: add '@available' attribute to enclosing enum
15 |     case activity = "Activity"
16 |     case bodyMeasurements = "Body Measurements"
   :
37 |     /// Navigates in the health app to the category, and selects it.
38 |     @MainActor
39 |     public func navigateToPage(in healthApp: XCUIApplication = .healthApp) throws {
   |                 `- note: add '@available' attribute to enclosing instance method
40 |         try healthApp.assertIsHealthApp()
41 |
   :
69 |
70 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
71 |             logger.notice("Failed to find category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                                                      |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                                      `- note: add 'if #available' version check
72 |             throw XCTestError(.failureWhileWaiting)
73 |         }
[12/12] Compiling XCTHealthKit XCTHealthKitAddSampleInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   |                       `- note: add '@available' attribute to enclosing static property
34 |         category: .activity,
35 |         sampleType: HKQuantityType(.activeEnergyBurned),
   |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
36 |         healthAppDisplayTitle: "Active Energy"
37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
37 |     )
38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
39 |     public static let restingHeartRate = Self(
   |                       `- note: add '@available' attribute to enclosing static property
40 |         category: .heart,
41 |         sampleType: HKQuantityType(.restingHeartRate),
   |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
42 |         healthAppDisplayTitle: "Resting Heart Rate"
43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
43 |     )
44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
45 |     public static let electrocardiograms = Self(
   |                       `- note: add '@available' attribute to enclosing static property
46 |         category: .heart,
47 |         sampleType: .electrocardiogramType(),
   |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
49 |     )
50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
51 |     public static let steps = Self(
   |                       `- note: add '@available' attribute to enclosing static property
52 |         category: .activity,
53 |         sampleType: HKQuantityType(.stepCount),
   |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
54 |         healthAppDisplayTitle: "Steps"
55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
29 | // MARK: Some Well-Known Sample Types
30 |
31 | extension HealthAppSampleType {
   | `- note: add '@available' attribute to enclosing extension
32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
33 |     public static let activeEnergy = Self(
   :
55 |     )
56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
57 |     public static let pushes = Self(
   |                       `- note: add '@available' attribute to enclosing static property
58 |         category: .activity,
59 |         sampleType: HKQuantityType(.pushCount),
   |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
60 |         healthAppDisplayTitle: "Pushes"
61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:182:29: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
180 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
181 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
182 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                             `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
183 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
184 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:182:50: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
180 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
181 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
182 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                  `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
183 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
184 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:185:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
183 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
184 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
185 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
186 |             app.buttons["DatePicker.Hide"].tap()
187 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:185:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
183 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
184 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
185 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
186 |             app.buttons["DatePicker.Hide"].tap()
187 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:192:33: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
191 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
192 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                 `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
193 |                 app.buttons["DatePicker.Hide"].tap()
194 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:192:54: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
191 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
192 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
193 |                 app.buttons["DatePicker.Hide"].tap()
194 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:199:34: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
197 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
198 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
199 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                  `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
200 |                 app.buttons["DatePicker.Hide"].tap()
201 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:199:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
197 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
198 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
199 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
200 |                 app.buttons["DatePicker.Hide"].tap()
201 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:228:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
226 |             if pickerWheels.count == 2 {
227 |                 // 24 hour clock
228 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
229 |             } else {
230 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:228:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
226 |             if pickerWheels.count == 2 {
227 |                 // 24 hour clock
228 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
229 |             } else {
230 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:232:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
230 |                 // 12 hour clock
231 |                 XCTAssertEqual(pickerWheels.count, 3)
232 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
233 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
234 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:232:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
230 |                 // 12 hour clock
231 |                 XCTAssertEqual(pickerWheels.count, 3)
232 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
233 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
234 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:234:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
232 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
233 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
234 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
235 |             }
236 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:234:86: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
232 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
233 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
234 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
235 |             }
236 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:238:35: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
236 |         }
237 |         if let minute = components.minute {
238 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                   `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
239 |         }
240 |         self.buttons["dismiss popup"].tap() // dismiss the time picker
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:238:56: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
236 |         }
237 |         if let minute = components.minute {
238 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                                        `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
239 |         }
240 |         self.buttons["dismiss popup"].tap() // dismiss the time picker
BUILD FAILURE 6.3 macosSpm