Build Information
Failed to build XCTHealthKit, reference 1.2.7 (34ad0f), with Swift 6.4 for macOS (Xcode) using Xcode 27.0 on 24 Sep 2026 22:28:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme XCTHealthKit -destination platform=macOS,arch=arm64Build Log
| `- 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/Source
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTHealthKitAddSampleInput.swift
s/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))
SwiftCompile normal arm64 Compiling\ XCTest+HealthKit.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthKit.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthKit.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+HealthKit.swift
SwiftCompile normal arm64 Compiling\ HealthAppSampleType.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift (in target 'XCTHealthKit' from project '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 | )
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HealthAppSampleType.swift
SwiftCompile normal arm64 Compiling\ XCTHealthKit.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XCTest+CharacteristicEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
18 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
19 | public let bloodType: HKBloodType?
| `- error: 'HKBloodType' is only available in macOS 13.0 or newer
20 |
21 | /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
27 | ///
28 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
29 | public let biologicalSex: HKBiologicalSex?
| `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
30 |
31 | /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
32 | ///
33 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
34 | public let skinType: HKFitzpatrickSkinType?
| `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
35 |
36 | /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
37 | ///
38 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
39 | public let wheelchairUse: HKWheelchairUse?
| `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
40 |
41 | /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
| `- error: 'HKBloodType' is only available in macOS 13.0 or newer
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
| `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
46 | skinType: HKFitzpatrickSkinType? = nil,
47 | wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
46 | skinType: HKFitzpatrickSkinType? = nil,
| `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
47 | wheelchairUse: HKWheelchairUse? = nil
48 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
46 | skinType: HKFitzpatrickSkinType? = nil,
47 | wheelchairUse: HKWheelchairUse? = nil
| `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
48 | ) {
49 | self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:102:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
100 | picker.pickerWheels
101 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
102 | .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
103 | }
104 | if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:102:61: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
100 | picker.pickerWheels
101 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
102 | .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
103 | }
104 | if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:107:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
105 | picker.pickerWheels
106 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
107 | .adjust(toPickerWheelValue: String(format: dayFormatString, day))
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
108 | }
109 | if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:107:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
105 | picker.pickerWheels
106 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
107 | .adjust(toPickerWheelValue: String(format: dayFormatString, day))
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
108 | }
109 | if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:112:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
110 | picker.pickerWheels
111 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
112 | .adjust(toPickerWheelValue: String(year))
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
113 | }
114 | healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:112:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
110 | picker.pickerWheels
111 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
112 | .adjust(toPickerWheelValue: String(year))
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
113 | }
114 | healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:122:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
120 | switch biologicalSex {
121 | case .notSet:
122 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:122:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
120 | switch biologicalSex {
121 | case .notSet:
122 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:124:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
122 | picker.adjust(toPickerWheelValue: "")
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:124:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
122 | picker.adjust(toPickerWheelValue: "")
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:126:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
124 | picker.adjust(toPickerWheelValue: "Male")
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:126:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
124 | picker.adjust(toPickerWheelValue: "Male")
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:128:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
126 | picker.adjust(toPickerWheelValue: "Female")
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
129 | @unknown default:
130 | XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:128:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
126 | picker.adjust(toPickerWheelValue: "Female")
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
129 | @unknown default:
130 | XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:140:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
138 | switch bloodType {
139 | case .notSet:
140 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:140:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
138 | switch bloodType {
139 | case .notSet:
140 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:142:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
140 | picker.adjust(toPickerWheelValue: "")
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:142:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
140 | picker.adjust(toPickerWheelValue: "")
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:144:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
142 | picker.adjust(toPickerWheelValue: "A+")
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:144:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
142 | picker.adjust(toPickerWheelValue: "A+")
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:146:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
144 | picker.adjust(toPickerWheelValue: "A-")
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:146:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
144 | picker.adjust(toPickerWheelValue: "A-")
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:148:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
146 | picker.adjust(toPickerWheelValue: "B+")
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:148:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
146 | picker.adjust(toPickerWheelValue: "B+")
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:150:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
148 | picker.adjust(toPickerWheelValue: "B-")
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:150:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
148 | picker.adjust(toPickerWheelValue: "B-")
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:152:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
150 | picker.adjust(toPickerWheelValue: "AB+")
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:152:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
150 | picker.adjust(toPickerWheelValue: "AB+")
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:154:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
152 | picker.adjust(toPickerWheelValue: "AB-")
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:154:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
152 | picker.adjust(toPickerWheelValue: "AB-")
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:156:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
154 | picker.adjust(toPickerWheelValue: "O+")
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
157 | @unknown default:
158 | XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:156:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
154 | picker.adjust(toPickerWheelValue: "O+")
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
157 | @unknown default:
158 | XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:168:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
166 | switch skinType {
167 | case .notSet:
168 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:168:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
166 | switch skinType {
167 | case .notSet:
168 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:170:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
168 | picker.adjust(toPickerWheelValue: "")
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:170:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
168 | picker.adjust(toPickerWheelValue: "")
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:172:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
170 | picker.adjust(toPickerWheelValue: "Type I")
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:172:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
170 | picker.adjust(toPickerWheelValue: "Type I")
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:174:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
172 | picker.adjust(toPickerWheelValue: "Type II")
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:174:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
172 | picker.adjust(toPickerWheelValue: "Type II")
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:176:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 | picker.adjust(toPickerWheelValue: "Type III")
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:176:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 | picker.adjust(toPickerWheelValue: "Type III")
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:178:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
176 | picker.adjust(toPickerWheelValue: "Type IV")
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:178:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
176 | picker.adjust(toPickerWheelValue: "Type IV")
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:180:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
178 | picker.adjust(toPickerWheelValue: "Type V")
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
181 | @unknown default:
182 | XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:180:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
178 | picker.adjust(toPickerWheelValue: "Type V")
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
181 | @unknown default:
182 | XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:192:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 | switch wheelchairUse {
191 | case .notSet:
192 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:192:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 | switch wheelchairUse {
191 | case .notSet:
192 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:194:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
192 | picker.adjust(toPickerWheelValue: "")
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
195 | case .yes:
196 | picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:194:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
192 | picker.adjust(toPickerWheelValue: "")
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
195 | case .yes:
196 | picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:196:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
194 | picker.adjust(toPickerWheelValue: "No")
195 | case .yes:
196 | picker.adjust(toPickerWheelValue: "Yes")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
197 | @unknown default:
198 | XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+CharacteristicEntry.swift
SwiftCompile normal arm64 Compiling\ HealthAppCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HealthAppCategory.swift
SwiftCompile normal arm64 Compiling\ XCTest+AddSamples.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+AddSamples.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+AddSamples.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+AddSamples.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-24 18:28:46.166 xcodebuild[627:3868] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftEmitModule normal arm64 Emitting\ module\ for\ XCTHealthKit (in target 'XCTHealthKit' from project 'XCTHealthKit')
Building workspace XCTHealthKit with scheme XCTHealthKit
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
XCTHealthKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: XCTHealthKit
2026-09-24 18:28:55.489 xcodebuild[748:4469] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "XCTHealthKit",
"name" : "XCTHealthKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "XCTHealthKit",
"targets" : [
"XCTHealthKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XCTHealthKitTests",
"module_type" : "SwiftTarget",
"name" : "XCTHealthKitTests",
"path" : "Tests/XCTHealthKitTests",
"sources" : [
"XCTHealthKitTests.swift"
],
"target_dependencies" : [
"XCTHealthKit"
],
"type" : "test"
},
{
"c99name" : "XCTHealthKit",
"module_type" : "SwiftTarget",
"name" : "XCTHealthKit",
"path" : "Sources/XCTHealthKit",
"product_memberships" : [
"XCTHealthKit"
],
"sources" : [
"HealthAppCategory.swift",
"HealthAppSampleType.swift",
"XCTHealthKit.swift",
"XCTHealthKitAddSampleInput.swift",
"XCTest+AddSamples.swift",
"XCTest+CharacteristicEntry.swift",
"XCTest+HealthApp.swift",
"XCTest+HealthKit.swift",
"XCTest+HealthRecord.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "XCTHealthKit",
"schemes" : [
"XCTHealthKit"
]
}
}
2026-09-24 18:28:56.715 xcodebuild[756:4539] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme XCTHealthKit -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme XCTHealthKit -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
XCTHealthKit: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'XCTHealthKit-product' in project 'XCTHealthKit'
➜ Explicit dependency on target 'XCTHealthKit' in project 'XCTHealthKit'
Target 'XCTHealthKit' in project 'XCTHealthKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver XCTHealthKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name XCTHealthKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ HealthAppCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HealthAppCategory.swift
SwiftCompile normal arm64 Compiling\ XCTest+AddSamples.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+AddSamples.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+AddSamples.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+AddSamples.swift
SwiftCompile normal arm64 Compiling\ XCTHealthKitAddSampleInput.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
/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 {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTHealthKitAddSampleInput.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ XCTHealthKit (in target 'XCTHealthKit' from project '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/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:
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/.derivedData/Build/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/.derivedData/Build/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/.derivedData/Build/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/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/.derivedData/Build/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/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/.derivedData/Build/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/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCTHealthKit.build/Debug/XCTHealthKit-t.build/Objects-normal/arm64/XCTHealthKit.abi.json
SwiftCompile normal arm64 (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XCTest+HealthRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
/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 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthRecord.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+HealthRecord.swift
SwiftCompile normal arm64 Compiling\ XCTest+HealthKit.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthKit.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthKit.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+HealthKit.swift
SwiftCompile normal arm64 Compiling\ XCTest+HealthApp.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+HealthApp.swift
SwiftCompile normal arm64 Compiling\ XCTHealthKit.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XCTest+CharacteristicEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
18 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
19 | public let bloodType: HKBloodType?
| `- error: 'HKBloodType' is only available in macOS 13.0 or newer
20 |
21 | /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
27 | ///
28 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
29 | public let biologicalSex: HKBiologicalSex?
| `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
30 |
31 | /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
32 | ///
33 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
34 | public let skinType: HKFitzpatrickSkinType?
| `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
35 |
36 | /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
37 | ///
38 | /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
39 | public let wheelchairUse: HKWheelchairUse?
| `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
40 |
41 | /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
| `- error: 'HKBloodType' is only available in macOS 13.0 or newer
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
| `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
46 | skinType: HKFitzpatrickSkinType? = nil,
47 | wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
46 | skinType: HKFitzpatrickSkinType? = nil,
| `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
47 | wheelchairUse: HKWheelchairUse? = nil
48 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
13 |
14 | /// Characteristics which should be entered into the health app.
15 | public struct CharacteristicsDefinition {
| `- note: add '@available' attribute to enclosing struct
16 | /// The blood type that should be entered, if any.
17 | ///
:
40 |
41 | /// Creates a new characteristics input definition object
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | bloodType: HKBloodType? = nil,
44 | dateOfBirth: DateComponents? = nil,
45 | biologicalSex: HKBiologicalSex? = nil,
46 | skinType: HKFitzpatrickSkinType? = nil,
47 | wheelchairUse: HKWheelchairUse? = nil
| `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
48 | ) {
49 | self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:102:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
100 | picker.pickerWheels
101 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
102 | .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
103 | }
104 | if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:102:61: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
100 | picker.pickerWheels
101 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
102 | .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
103 | }
104 | if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:107:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
105 | picker.pickerWheels
106 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
107 | .adjust(toPickerWheelValue: String(format: dayFormatString, day))
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
108 | }
109 | if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:107:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
105 | picker.pickerWheels
106 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
107 | .adjust(toPickerWheelValue: String(format: dayFormatString, day))
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
108 | }
109 | if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:112:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
110 | picker.pickerWheels
111 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
112 | .adjust(toPickerWheelValue: String(year))
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
113 | }
114 | healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:112:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
110 | picker.pickerWheels
111 | .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
112 | .adjust(toPickerWheelValue: String(year))
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
113 | }
114 | healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:122:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
120 | switch biologicalSex {
121 | case .notSet:
122 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:122:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
120 | switch biologicalSex {
121 | case .notSet:
122 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:124:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
122 | picker.adjust(toPickerWheelValue: "")
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:124:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
122 | picker.adjust(toPickerWheelValue: "")
123 | case .male:
124 | picker.adjust(toPickerWheelValue: "Male")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:126:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
124 | picker.adjust(toPickerWheelValue: "Male")
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:126:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
124 | picker.adjust(toPickerWheelValue: "Male")
125 | case .female:
126 | picker.adjust(toPickerWheelValue: "Female")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:128:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
126 | picker.adjust(toPickerWheelValue: "Female")
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
129 | @unknown default:
130 | XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:128:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
126 | picker.adjust(toPickerWheelValue: "Female")
127 | case .other:
128 | picker.adjust(toPickerWheelValue: "Other")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
129 | @unknown default:
130 | XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:140:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
138 | switch bloodType {
139 | case .notSet:
140 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:140:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
138 | switch bloodType {
139 | case .notSet:
140 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:142:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
140 | picker.adjust(toPickerWheelValue: "")
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:142:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
140 | picker.adjust(toPickerWheelValue: "")
141 | case .aPositive:
142 | picker.adjust(toPickerWheelValue: "A+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:144:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
142 | picker.adjust(toPickerWheelValue: "A+")
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:144:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
142 | picker.adjust(toPickerWheelValue: "A+")
143 | case .aNegative:
144 | picker.adjust(toPickerWheelValue: "A-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:146:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
144 | picker.adjust(toPickerWheelValue: "A-")
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:146:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
144 | picker.adjust(toPickerWheelValue: "A-")
145 | case .bPositive:
146 | picker.adjust(toPickerWheelValue: "B+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:148:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
146 | picker.adjust(toPickerWheelValue: "B+")
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:148:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
146 | picker.adjust(toPickerWheelValue: "B+")
147 | case .bNegative:
148 | picker.adjust(toPickerWheelValue: "B-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:150:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
148 | picker.adjust(toPickerWheelValue: "B-")
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:150:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
148 | picker.adjust(toPickerWheelValue: "B-")
149 | case .abPositive:
150 | picker.adjust(toPickerWheelValue: "AB+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:152:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
150 | picker.adjust(toPickerWheelValue: "AB+")
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:152:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
150 | picker.adjust(toPickerWheelValue: "AB+")
151 | case .abNegative:
152 | picker.adjust(toPickerWheelValue: "AB-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:154:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
152 | picker.adjust(toPickerWheelValue: "AB-")
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:154:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
152 | picker.adjust(toPickerWheelValue: "AB-")
153 | case .oPositive:
154 | picker.adjust(toPickerWheelValue: "O+")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:156:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
154 | picker.adjust(toPickerWheelValue: "O+")
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
157 | @unknown default:
158 | XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:156:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
154 | picker.adjust(toPickerWheelValue: "O+")
155 | case .oNegative:
156 | picker.adjust(toPickerWheelValue: "O-")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
157 | @unknown default:
158 | XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:168:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
166 | switch skinType {
167 | case .notSet:
168 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:168:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
166 | switch skinType {
167 | case .notSet:
168 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:170:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
168 | picker.adjust(toPickerWheelValue: "")
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:170:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
168 | picker.adjust(toPickerWheelValue: "")
169 | case .I:
170 | picker.adjust(toPickerWheelValue: "Type I")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:172:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
170 | picker.adjust(toPickerWheelValue: "Type I")
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:172:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
170 | picker.adjust(toPickerWheelValue: "Type I")
171 | case .II:
172 | picker.adjust(toPickerWheelValue: "Type II")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:174:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
172 | picker.adjust(toPickerWheelValue: "Type II")
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:174:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
172 | picker.adjust(toPickerWheelValue: "Type II")
173 | case .III:
174 | picker.adjust(toPickerWheelValue: "Type III")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:176:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 | picker.adjust(toPickerWheelValue: "Type III")
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:176:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 | picker.adjust(toPickerWheelValue: "Type III")
175 | case .IV:
176 | picker.adjust(toPickerWheelValue: "Type IV")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:178:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
176 | picker.adjust(toPickerWheelValue: "Type IV")
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:178:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
176 | picker.adjust(toPickerWheelValue: "Type IV")
177 | case .V:
178 | picker.adjust(toPickerWheelValue: "Type V")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:180:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
178 | picker.adjust(toPickerWheelValue: "Type V")
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
181 | @unknown default:
182 | XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:180:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
178 | picker.adjust(toPickerWheelValue: "Type V")
179 | case .VI:
180 | picker.adjust(toPickerWheelValue: "Type VI")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
181 | @unknown default:
182 | XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:192:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 | switch wheelchairUse {
191 | case .notSet:
192 | picker.adjust(toPickerWheelValue: "")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:192:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 | switch wheelchairUse {
191 | case .notSet:
192 | picker.adjust(toPickerWheelValue: "")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:194:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
192 | picker.adjust(toPickerWheelValue: "")
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
195 | case .yes:
196 | picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:194:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
192 | picker.adjust(toPickerWheelValue: "")
193 | case .no:
194 | picker.adjust(toPickerWheelValue: "No")
| `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
195 | case .yes:
196 | picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:196:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
194 | picker.adjust(toPickerWheelValue: "No")
195 | case .yes:
196 | picker.adjust(toPickerWheelValue: "Yes")
| `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
197 | @unknown default:
198 | XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XCTest+CharacteristicEntry.swift
SwiftCompile normal arm64 Compiling\ HealthAppSampleType.swift /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift (in target 'XCTHealthKit' from project '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 | )
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift (in target 'XCTHealthKit' from project 'XCTHealthKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HealthAppSampleType.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-24 18:28:57.683 xcodebuild[757:4564] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:e5656cab15ffc29f9be88b2af6059390aa5cf13d, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ XCTHealthKit (in target 'XCTHealthKit' from project 'XCTHealthKit')
SwiftCompile normal arm64 (in target 'XCTHealthKit' from project 'XCTHealthKit')
Building workspace XCTHealthKit with scheme XCTHealthKit
(3 failures)
BUILD FAILURE 6.4 macosXcodebuild