The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build XCTHealthKit, reference 1.2.4 (026d5c), with Swift 6.2 for macOS (SPM) on 3 Dec 2025 05:11:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTHealthKit.git
Reference: 1.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/XCTHealthKit
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at 026d5c6 Additional Notifications Checks (#28)
Cloned https://github.com/StanfordBDHG/XCTHealthKit.git
Revision (git rev-parse @):
026d5c6f02cdafa31924548d1ee6ce2fdf182137
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTHealthKit.git at 1.2.4
========================================
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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/StanfordBDHG/XCTHealthKit.git
[1/694] Fetching xcthealthkit
Fetched https://github.com/StanfordBDHG/XCTHealthKit.git from cache (0.83s)
Creating working copy for https://github.com/StanfordBDHG/XCTHealthKit.git
Working copy of https://github.com/StanfordBDHG/XCTHealthKit.git resolved at 1.2.4 (026d5c6)
warning: '.resolve-product-dependencies': dependency 'xcthealthkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/StanfordBDHG/XCTHealthKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/12] Compiling XCTHealthKit XCTest+HealthKit.swift
[4/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 |     }
[5/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Compiling XCTHealthKit XCTest+AddSamples.swift
[7/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:
[8/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 |
[9/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
[10/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 |     }
[11/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:95:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
 93 |                 picker.pickerWheels
 94 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
 95 |                     .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
 96 |             }
 97 |             if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:95:61: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
 93 |                 picker.pickerWheels
 94 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
 95 |                     .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
    |                                                             `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
 96 |             }
 97 |             if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:100:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
 98 |                 picker.pickerWheels
 99 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
100 |                     .adjust(toPickerWheelValue: String(format: dayFormatString, day))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
101 |             }
102 |             if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:100:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
 98 |                 picker.pickerWheels
 99 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
100 |                     .adjust(toPickerWheelValue: String(format: dayFormatString, day))
    |                                                 `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
101 |             }
102 |             if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:105:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
103 |                 picker.pickerWheels
104 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
105 |                     .adjust(toPickerWheelValue: String(year))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
106 |             }
107 |             healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:105:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
103 |                 picker.pickerWheels
104 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
105 |                     .adjust(toPickerWheelValue: String(year))
    |                                                 `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
106 |             }
107 |             healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:115:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
113 |             switch biologicalSex {
114 |             case .notSet:
115 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:115:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
113 |             switch biologicalSex {
114 |             case .notSet:
115 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:117:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
115 |                 picker.adjust(toPickerWheelValue: "")
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:117:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
115 |                 picker.adjust(toPickerWheelValue: "")
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:119:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
117 |                 picker.adjust(toPickerWheelValue: "Male")
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:119:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
117 |                 picker.adjust(toPickerWheelValue: "Male")
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:121:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
119 |                 picker.adjust(toPickerWheelValue: "Female")
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
122 |             @unknown default:
123 |                 XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:121:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
119 |                 picker.adjust(toPickerWheelValue: "Female")
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
122 |             @unknown default:
123 |                 XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:133:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
131 |             switch bloodType {
132 |             case .notSet:
133 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:133:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
131 |             switch bloodType {
132 |             case .notSet:
133 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:135:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
133 |                 picker.adjust(toPickerWheelValue: "")
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:135:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
133 |                 picker.adjust(toPickerWheelValue: "")
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:137:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
135 |                 picker.adjust(toPickerWheelValue: "A+")
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:137:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
135 |                 picker.adjust(toPickerWheelValue: "A+")
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:139:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
137 |                 picker.adjust(toPickerWheelValue: "A-")
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:139:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
137 |                 picker.adjust(toPickerWheelValue: "A-")
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:141:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
139 |                 picker.adjust(toPickerWheelValue: "B+")
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:141:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
139 |                 picker.adjust(toPickerWheelValue: "B+")
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:143:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
141 |                 picker.adjust(toPickerWheelValue: "B-")
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:143:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
141 |                 picker.adjust(toPickerWheelValue: "B-")
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:145:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
143 |                 picker.adjust(toPickerWheelValue: "AB+")
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:145:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
143 |                 picker.adjust(toPickerWheelValue: "AB+")
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:147:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
145 |                 picker.adjust(toPickerWheelValue: "AB-")
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:147:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
145 |                 picker.adjust(toPickerWheelValue: "AB-")
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:149:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
147 |                 picker.adjust(toPickerWheelValue: "O+")
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
150 |             @unknown default:
151 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:149:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
147 |                 picker.adjust(toPickerWheelValue: "O+")
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
150 |             @unknown default:
151 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:161:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
159 |             switch skinType {
160 |             case .notSet:
161 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:161:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
159 |             switch skinType {
160 |             case .notSet:
161 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:163:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
161 |                 picker.adjust(toPickerWheelValue: "")
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:163:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
161 |                 picker.adjust(toPickerWheelValue: "")
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:165:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
163 |                 picker.adjust(toPickerWheelValue: "Type I")
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:165:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
163 |                 picker.adjust(toPickerWheelValue: "Type I")
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:167:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
165 |                 picker.adjust(toPickerWheelValue: "Type II")
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:167:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
165 |                 picker.adjust(toPickerWheelValue: "Type II")
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:169:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
167 |                 picker.adjust(toPickerWheelValue: "Type III")
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:169:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
167 |                 picker.adjust(toPickerWheelValue: "Type III")
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:171:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:171:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:173:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 |                 picker.adjust(toPickerWheelValue: "Type V")
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             @unknown default:
175 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:173:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 |                 picker.adjust(toPickerWheelValue: "Type V")
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             @unknown default:
175 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:185:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
183 |             switch wheelchairUse {
184 |             case .notSet:
185 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:185:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
183 |             switch wheelchairUse {
184 |             case .notSet:
185 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:187:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
185 |                 picker.adjust(toPickerWheelValue: "")
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:187:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
185 |                 picker.adjust(toPickerWheelValue: "")
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:189:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
187 |                 picker.adjust(toPickerWheelValue: "No")
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 |             @unknown default:
191 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:189:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
187 |                 picker.adjust(toPickerWheelValue: "No")
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 |             @unknown default:
191 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
[12/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 |         }
BUILD FAILURE 6.2 macosSpm