Build Information
Failed to build XCTHealthKit, reference 1.2.7 (34ad0f), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 22:28:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTHealthKit.git
Reference: 1.2.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/XCTHealthKit
* tag 1.2.7 -> FETCH_HEAD
HEAD is now at 34ad0f6 fix DOB entry (#31)
Cloned https://github.com/StanfordBDHG/XCTHealthKit.git
Revision (git rev-parse @):
34ad0f6fcabd23bda768f7c5f751b8f4a1e368cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTHealthKit.git at 1.2.7
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/StanfordBDHG/XCTHealthKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] XCTHealthKit
[30 / 108]
[33 / 108]
[41 / 108]
[43 / 108]
[44 / 108]
[49 / 108]
[51 / 108]
[53 / 108]
[56 / 108]
[60 / 108]
[63 / 108]
[65 / 108]
[66 / 108]
[76 / 108]
[80 / 108]
[81 / 108]
[83 / 108]
[85 / 108]
[88 / 108]
[89 / 108]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// A Sample type within the Health app.
[0;36m15 |[0;0m public struct HealthAppSampleType: Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m public let category: HealthAppCategory
[0;36m17 |[0;0m public let sampleType: HKSampleType
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m18 |[0;0m public let healthAppDisplayTitle: String
[0;36m19 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// A Sample type within the Health app.
[0;36m15 |[0;0m public struct HealthAppSampleType: Hashable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m public let category: HealthAppCategory
[0;36m17 |[0;0m public let sampleType: HKSampleType
[0;36m:[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m /// Creates a new sample type, with the specified fields
[0;36m21 |[0;0m public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m22 |[0;0m self.category = category
[0;36m23 |[0;0m self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m34 |[0;0m category: .activity,
[0;36m35 |[0;0m sampleType: HKQuantityType(.activeEnergyBurned),
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m36 |[0;0m healthAppDisplayTitle: "Active Energy"
[0;36m37 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m34 |[0;0m category: .activity,
[0;36m35 |[0;0m sampleType: HKQuantityType(.activeEnergyBurned),
[0;36m|[0;0m `- [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m36 |[0;0m healthAppDisplayTitle: "Active Energy"
[0;36m37 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: [1;31merror: [1;39m'activeEnergyBurned' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m34 |[0;0m category: .activity,
[0;36m35 |[0;0m sampleType: HKQuantityType(.activeEnergyBurned),
[0;36m|[0;0m `- [1;31merror: [1;39m'activeEnergyBurned' is only available in macOS 13.0 or newer[0;0m
[0;36m36 |[0;0m healthAppDisplayTitle: "Active Energy"
[0;36m37 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m37 |[0;0m )
[0;36m38 |[0;0m /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
[0;36m39 |[0;0m public static let restingHeartRate = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m40 |[0;0m category: .heart,
[0;36m41 |[0;0m sampleType: HKQuantityType(.restingHeartRate),
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m42 |[0;0m healthAppDisplayTitle: "Resting Heart Rate"
[0;36m43 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m37 |[0;0m )
[0;36m38 |[0;0m /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
[0;36m39 |[0;0m public static let restingHeartRate = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m40 |[0;0m category: .heart,
[0;36m41 |[0;0m sampleType: HKQuantityType(.restingHeartRate),
[0;36m|[0;0m `- [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m42 |[0;0m healthAppDisplayTitle: "Resting Heart Rate"
[0;36m43 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: [1;31merror: [1;39m'restingHeartRate' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m37 |[0;0m )
[0;36m38 |[0;0m /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
[0;36m39 |[0;0m public static let restingHeartRate = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m40 |[0;0m category: .heart,
[0;36m41 |[0;0m sampleType: HKQuantityType(.restingHeartRate),
[0;36m|[0;0m `- [1;31merror: [1;39m'restingHeartRate' is only available in macOS 13.0 or newer[0;0m
[0;36m42 |[0;0m healthAppDisplayTitle: "Resting Heart Rate"
[0;36m43 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: [1;31merror: [1;39m'electrocardiogramType()' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m43 |[0;0m )
[0;36m44 |[0;0m /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
[0;36m45 |[0;0m public static let electrocardiograms = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m46 |[0;0m category: .heart,
[0;36m47 |[0;0m sampleType: .electrocardiogramType(),
[0;36m|[0;0m `- [1;31merror: [1;39m'electrocardiogramType()' is only available in macOS 13.0 or newer[0;0m
[0;36m48 |[0;0m healthAppDisplayTitle: "Electrocardiograms (ECG)"
[0;36m49 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m49 |[0;0m )
[0;36m50 |[0;0m /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
[0;36m51 |[0;0m public static let steps = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m52 |[0;0m category: .activity,
[0;36m53 |[0;0m sampleType: HKQuantityType(.stepCount),
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m54 |[0;0m healthAppDisplayTitle: "Steps"
[0;36m55 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m49 |[0;0m )
[0;36m50 |[0;0m /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
[0;36m51 |[0;0m public static let steps = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m52 |[0;0m category: .activity,
[0;36m53 |[0;0m sampleType: HKQuantityType(.stepCount),
[0;36m|[0;0m `- [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m54 |[0;0m healthAppDisplayTitle: "Steps"
[0;36m55 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: [1;31merror: [1;39m'stepCount' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m49 |[0;0m )
[0;36m50 |[0;0m /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
[0;36m51 |[0;0m public static let steps = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m52 |[0;0m category: .activity,
[0;36m53 |[0;0m sampleType: HKQuantityType(.stepCount),
[0;36m|[0;0m `- [1;31merror: [1;39m'stepCount' is only available in macOS 13.0 or newer[0;0m
[0;36m54 |[0;0m healthAppDisplayTitle: "Steps"
[0;36m55 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m55 |[0;0m )
[0;36m56 |[0;0m /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
[0;36m57 |[0;0m public static let pushes = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m58 |[0;0m category: .activity,
[0;36m59 |[0;0m sampleType: HKQuantityType(.pushCount),
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m60 |[0;0m healthAppDisplayTitle: "Pushes"
[0;36m61 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m55 |[0;0m )
[0;36m56 |[0;0m /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
[0;36m57 |[0;0m public static let pushes = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m58 |[0;0m category: .activity,
[0;36m59 |[0;0m sampleType: HKQuantityType(.pushCount),
[0;36m|[0;0m `- [1;31merror: [1;39m'init(_:)' is only available in macOS 13.0 or newer[0;0m
[0;36m60 |[0;0m healthAppDisplayTitle: "Pushes"
[0;36m61 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: [1;31merror: [1;39m'pushCount' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m // MARK: Some Well-Known Sample Types
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension HealthAppSampleType {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m32 |[0;0m /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
[0;36m33 |[0;0m public static let activeEnergy = Self(
[0;36m:[0;0m
[0;36m55 |[0;0m )
[0;36m56 |[0;0m /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
[0;36m57 |[0;0m public static let pushes = Self(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static property[0;0m
[0;36m58 |[0;0m category: .activity,
[0;36m59 |[0;0m sampleType: HKQuantityType(.pushCount),
[0;36m|[0;0m `- [1;31merror: [1;39m'pushCount' is only available in macOS 13.0 or newer[0;0m
[0;36m60 |[0;0m healthAppDisplayTitle: "Pushes"
[0;36m61 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: [1;31merror: [1;39m'HKBloodType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m18 |[0;0m /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
[0;36m19 |[0;0m public let bloodType: HKBloodType?
[0;36m|[0;0m `- [1;31merror: [1;39m'HKBloodType' is only available in macOS 13.0 or newer[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: [1;31merror: [1;39m'HKBiologicalSex' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m27 |[0;0m ///
[0;36m28 |[0;0m /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
[0;36m29 |[0;0m public let biologicalSex: HKBiologicalSex?
[0;36m|[0;0m `- [1;31merror: [1;39m'HKBiologicalSex' is only available in macOS 13.0 or newer[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: [1;31merror: [1;39m'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m32 |[0;0m ///
[0;36m33 |[0;0m /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
[0;36m34 |[0;0m public let skinType: HKFitzpatrickSkinType?
[0;36m|[0;0m `- [1;31merror: [1;39m'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: [1;31merror: [1;39m'HKWheelchairUse' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m37 |[0;0m ///
[0;36m38 |[0;0m /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
[0;36m39 |[0;0m public let wheelchairUse: HKWheelchairUse?
[0;36m|[0;0m `- [1;31merror: [1;39m'HKWheelchairUse' is only available in macOS 13.0 or newer[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: [1;31merror: [1;39m'HKBloodType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// Creates a new characteristics input definition object
[0;36m42 |[0;0m public init(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m43 |[0;0m bloodType: HKBloodType? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKBloodType' is only available in macOS 13.0 or newer[0;0m
[0;36m44 |[0;0m dateOfBirth: DateComponents? = nil,
[0;36m45 |[0;0m biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: [1;31merror: [1;39m'HKBiologicalSex' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// Creates a new characteristics input definition object
[0;36m42 |[0;0m public init(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m43 |[0;0m bloodType: HKBloodType? = nil,
[0;36m44 |[0;0m dateOfBirth: DateComponents? = nil,
[0;36m45 |[0;0m biologicalSex: HKBiologicalSex? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKBiologicalSex' is only available in macOS 13.0 or newer[0;0m
[0;36m46 |[0;0m skinType: HKFitzpatrickSkinType? = nil,
[0;36m47 |[0;0m wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: [1;31merror: [1;39m'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// Creates a new characteristics input definition object
[0;36m42 |[0;0m public init(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m43 |[0;0m bloodType: HKBloodType? = nil,
[0;36m44 |[0;0m dateOfBirth: DateComponents? = nil,
[0;36m45 |[0;0m biologicalSex: HKBiologicalSex? = nil,
[0;36m46 |[0;0m skinType: HKFitzpatrickSkinType? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer[0;0m
[0;36m47 |[0;0m wheelchairUse: HKWheelchairUse? = nil
[0;36m48 |[0;0m ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: [1;31merror: [1;39m'HKWheelchairUse' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m /// Characteristics which should be entered into the health app.
[0;36m15 |[0;0m public struct CharacteristicsDefinition {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m16 |[0;0m /// The blood type that should be entered, if any.
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// Creates a new characteristics input definition object
[0;36m42 |[0;0m public init(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m43 |[0;0m bloodType: HKBloodType? = nil,
[0;36m44 |[0;0m dateOfBirth: DateComponents? = nil,
[0;36m45 |[0;0m biologicalSex: HKBiologicalSex? = nil,
[0;36m46 |[0;0m skinType: HKFitzpatrickSkinType? = nil,
[0;36m47 |[0;0m wheelchairUse: HKWheelchairUse? = nil
[0;36m|[0;0m `- [1;31merror: [1;39m'HKWheelchairUse' is only available in macOS 13.0 or newer[0;0m
[0;36m48 |[0;0m ) {
[0;36m49 |[0;0m self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift:55:30: [1;31merror: [1;39m'HKClinicalType' is only available in macOS 13.0 or newer[0;0m
[0;36m28 |[0;0m /// The `clinicalType` property returns the matching `HKClinicalType` if available on the current iOS version.
[0;36m29 |[0;0m /// The `description` property matches the display name shown in the HealthKit authorization sheet.
[0;36m30 |[0;0m public enum HealthRecordType: CaseIterable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m31 |[0;0m case allergyRecord
[0;36m32 |[0;0m case clinicalNoteRecord
[0;36m:[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m public var clinicalType: HKClinicalType? {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKClinicalType' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing property[0;0m
[0;36m56 |[0;0m switch self {
[0;36m57 |[0;0m case .allergyRecord:
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+AddSamples.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthKit.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XCTHealthKit -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm