Build Information
Failed to build SpeziHealthKit, reference 1.2.6 (164140
), with Swift 6.0 for macOS (SPM) on 12 Sep 2025 01:11:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
87 | public static let fainting: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2385:64: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2383 | @inlinable public static var drySkin: SampleType<HKCategorySample> {
2384 | SampleTypeCache.get(
2385 | identifier: Sample._SampleType._Identifier.drySkin.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2386 | as: SampleType<HKCategorySample>.self,
2387 | default: .category(
HealthKit.HKCategoryTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2386:28: error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2384 | SampleTypeCache.get(
2385 | identifier: Sample._SampleType._Identifier.drySkin.rawValue,
2386 | as: SampleType<HKCategorySample>.self,
| `- error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
2387 | default: .category(
2388 | .drySkin,
HealthKit.HKCategorySample:2:12: note: class 'HKCategorySample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: class 'HKCategorySample' is not '@usableFromInline' or public
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2388:18: error: static property 'drySkin' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'drySkin' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2386 | as: SampleType<HKCategorySample>.self,
2387 | default: .category(
2388 | .drySkin,
| `- error: static property 'drySkin' is internal and cannot be referenced from an '@inlinable' function
2389 | )
2390 | )
HealthKit.HKCategoryTypeIdentifier:85:23: note: static property 'drySkin' is not '@usableFromInline' or public
83 | public static let dizziness: HKCategoryTypeIdentifier
84 | @available(macOS 13.0, *)
85 | public static let drySkin: HKCategoryTypeIdentifier
| `- note: static property 'drySkin' is not '@usableFromInline' or public
86 | @available(macOS 13.0, *)
87 | public static let fainting: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2395:32: error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategoryType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2393 | @inlinable public static var hairLoss: SampleType<HKCategorySample> {
2394 | SampleTypeCache.get(
2395 | identifier: Sample._SampleType._Identifier.hairLoss.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2396 | as: SampleType<HKCategorySample>.self,
2397 | default: .category(
HealthKit.HKCategoryType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategoryType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2395:56: error: static property 'hairLoss' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'hairLoss' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2393 | @inlinable public static var hairLoss: SampleType<HKCategorySample> {
2394 | SampleTypeCache.get(
2395 | identifier: Sample._SampleType._Identifier.hairLoss.rawValue,
| `- error: static property 'hairLoss' is internal and cannot be referenced from an '@inlinable' function
2396 | as: SampleType<HKCategorySample>.self,
2397 | default: .category(
HealthKit.HKCategoryTypeIdentifier:95:23: note: static property 'hairLoss' is not '@usableFromInline' or public
93 | public static let generalizedBodyAche: HKCategoryTypeIdentifier
94 | @available(macOS 13.0, *)
95 | public static let hairLoss: HKCategoryTypeIdentifier
| `- note: static property 'hairLoss' is not '@usableFromInline' or public
96 | @available(macOS 13.0, *)
97 | public static let headache: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2395:65: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2393 | @inlinable public static var hairLoss: SampleType<HKCategorySample> {
2394 | SampleTypeCache.get(
2395 | identifier: Sample._SampleType._Identifier.hairLoss.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2396 | as: SampleType<HKCategorySample>.self,
2397 | default: .category(
HealthKit.HKCategoryTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2396:28: error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2394 | SampleTypeCache.get(
2395 | identifier: Sample._SampleType._Identifier.hairLoss.rawValue,
2396 | as: SampleType<HKCategorySample>.self,
| `- error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
2397 | default: .category(
2398 | .hairLoss,
HealthKit.HKCategorySample:2:12: note: class 'HKCategorySample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: class 'HKCategorySample' is not '@usableFromInline' or public
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2398:18: error: static property 'hairLoss' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'hairLoss' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2396 | as: SampleType<HKCategorySample>.self,
2397 | default: .category(
2398 | .hairLoss,
| `- error: static property 'hairLoss' is internal and cannot be referenced from an '@inlinable' function
2399 | )
2400 | )
HealthKit.HKCategoryTypeIdentifier:95:23: note: static property 'hairLoss' is not '@usableFromInline' or public
93 | public static let generalizedBodyAche: HKCategoryTypeIdentifier
94 | @available(macOS 13.0, *)
95 | public static let hairLoss: HKCategoryTypeIdentifier
| `- note: static property 'hairLoss' is not '@usableFromInline' or public
96 | @available(macOS 13.0, *)
97 | public static let headache: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2405:32: error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategoryType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2403 | @inlinable public static var nightSweats: SampleType<HKCategorySample> {
2404 | SampleTypeCache.get(
2405 | identifier: Sample._SampleType._Identifier.nightSweats.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2406 | as: SampleType<HKCategorySample>.self,
2407 | default: .category(
HealthKit.HKCategoryType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategoryType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2405:56: error: static property 'nightSweats' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'nightSweats' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2403 | @inlinable public static var nightSweats: SampleType<HKCategorySample> {
2404 | SampleTypeCache.get(
2405 | identifier: Sample._SampleType._Identifier.nightSweats.rawValue,
| `- error: static property 'nightSweats' is internal and cannot be referenced from an '@inlinable' function
2406 | as: SampleType<HKCategorySample>.self,
2407 | default: .category(
HealthKit.HKCategoryTypeIdentifier:115:23: note: static property 'nightSweats' is not '@usableFromInline' or public
113 | public static let nausea: HKCategoryTypeIdentifier
114 | @available(macOS 13.0, *)
115 | public static let nightSweats: HKCategoryTypeIdentifier
| `- note: static property 'nightSweats' is not '@usableFromInline' or public
116 | @available(macOS 13.0, *)
117 | public static let pelvicPain: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2405:68: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2403 | @inlinable public static var nightSweats: SampleType<HKCategorySample> {
2404 | SampleTypeCache.get(
2405 | identifier: Sample._SampleType._Identifier.nightSweats.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2406 | as: SampleType<HKCategorySample>.self,
2407 | default: .category(
HealthKit.HKCategoryTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2406:28: error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2404 | SampleTypeCache.get(
2405 | identifier: Sample._SampleType._Identifier.nightSweats.rawValue,
2406 | as: SampleType<HKCategorySample>.self,
| `- error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
2407 | default: .category(
2408 | .nightSweats,
HealthKit.HKCategorySample:2:12: note: class 'HKCategorySample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: class 'HKCategorySample' is not '@usableFromInline' or public
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2408:18: error: static property 'nightSweats' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'nightSweats' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2406 | as: SampleType<HKCategorySample>.self,
2407 | default: .category(
2408 | .nightSweats,
| `- error: static property 'nightSweats' is internal and cannot be referenced from an '@inlinable' function
2409 | )
2410 | )
HealthKit.HKCategoryTypeIdentifier:115:23: note: static property 'nightSweats' is not '@usableFromInline' or public
113 | public static let nausea: HKCategoryTypeIdentifier
114 | @available(macOS 13.0, *)
115 | public static let nightSweats: HKCategoryTypeIdentifier
| `- note: static property 'nightSweats' is not '@usableFromInline' or public
116 | @available(macOS 13.0, *)
117 | public static let pelvicPain: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2415:32: error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategoryType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2413 | @inlinable public static var sleepChanges: SampleType<HKCategorySample> {
2414 | SampleTypeCache.get(
2415 | identifier: Sample._SampleType._Identifier.sleepChanges.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2416 | as: SampleType<HKCategorySample>.self,
2417 | default: .category(
HealthKit.HKCategoryType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategoryType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2415:56: error: static property 'sleepChanges' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'sleepChanges' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2413 | @inlinable public static var sleepChanges: SampleType<HKCategorySample> {
2414 | SampleTypeCache.get(
2415 | identifier: Sample._SampleType._Identifier.sleepChanges.rawValue,
| `- error: static property 'sleepChanges' is internal and cannot be referenced from an '@inlinable' function
2416 | as: SampleType<HKCategorySample>.self,
2417 | default: .category(
HealthKit.HKCategoryTypeIdentifier:129:23: note: static property 'sleepChanges' is not '@usableFromInline' or public
127 | public static let skippedHeartbeat: HKCategoryTypeIdentifier
128 | @available(macOS 13.0, *)
129 | public static let sleepChanges: HKCategoryTypeIdentifier
| `- note: static property 'sleepChanges' is not '@usableFromInline' or public
130 | @available(macOS 13.0, *)
131 | public static let soreThroat: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2415:69: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2413 | @inlinable public static var sleepChanges: SampleType<HKCategorySample> {
2414 | SampleTypeCache.get(
2415 | identifier: Sample._SampleType._Identifier.sleepChanges.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2416 | as: SampleType<HKCategorySample>.self,
2417 | default: .category(
HealthKit.HKCategoryTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2416:28: error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2414 | SampleTypeCache.get(
2415 | identifier: Sample._SampleType._Identifier.sleepChanges.rawValue,
2416 | as: SampleType<HKCategorySample>.self,
| `- error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
2417 | default: .category(
2418 | .sleepChanges,
HealthKit.HKCategorySample:2:12: note: class 'HKCategorySample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: class 'HKCategorySample' is not '@usableFromInline' or public
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2418:18: error: static property 'sleepChanges' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'sleepChanges' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2416 | as: SampleType<HKCategorySample>.self,
2417 | default: .category(
2418 | .sleepChanges,
| `- error: static property 'sleepChanges' is internal and cannot be referenced from an '@inlinable' function
2419 | )
2420 | )
HealthKit.HKCategoryTypeIdentifier:129:23: note: static property 'sleepChanges' is not '@usableFromInline' or public
127 | public static let skippedHeartbeat: HKCategoryTypeIdentifier
128 | @available(macOS 13.0, *)
129 | public static let sleepChanges: HKCategoryTypeIdentifier
| `- note: static property 'sleepChanges' is not '@usableFromInline' or public
130 | @available(macOS 13.0, *)
131 | public static let soreThroat: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2426:32: error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategoryType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2424 | @inlinable public static var sleepApneaEvent: SampleType<HKCategorySample> {
2425 | SampleTypeCache.get(
2426 | identifier: Sample._SampleType._Identifier.sleepApneaEvent.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2427 | as: SampleType<HKCategorySample>.self,
2428 | default: .category(
HealthKit.HKCategoryType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategoryType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2426:56: error: static property 'sleepApneaEvent' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'sleepApneaEvent' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2424 | @inlinable public static var sleepApneaEvent: SampleType<HKCategorySample> {
2425 | SampleTypeCache.get(
2426 | identifier: Sample._SampleType._Identifier.sleepApneaEvent.rawValue,
| `- error: static property 'sleepApneaEvent' is internal and cannot be referenced from an '@inlinable' function
2427 | as: SampleType<HKCategorySample>.self,
2428 | default: .category(
HealthKit.HKCategoryTypeIdentifier:57:23: note: static property 'sleepApneaEvent' is not '@usableFromInline' or public
55 | public static let sexualActivity: HKCategoryTypeIdentifier
56 | @available(macOS 15.0, *)
57 | public static let sleepApneaEvent: HKCategoryTypeIdentifier
| `- note: static property 'sleepApneaEvent' is not '@usableFromInline' or public
58 | @available(macOS 13.0, *)
59 | public static let sleepAnalysis: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2426:72: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2424 | @inlinable public static var sleepApneaEvent: SampleType<HKCategorySample> {
2425 | SampleTypeCache.get(
2426 | identifier: Sample._SampleType._Identifier.sleepApneaEvent.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2427 | as: SampleType<HKCategorySample>.self,
2428 | default: .category(
HealthKit.HKCategoryTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2427:28: error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2425 | SampleTypeCache.get(
2426 | identifier: Sample._SampleType._Identifier.sleepApneaEvent.rawValue,
2427 | as: SampleType<HKCategorySample>.self,
| `- error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
2428 | default: .category(
2429 | .sleepApneaEvent,
HealthKit.HKCategorySample:2:12: note: class 'HKCategorySample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: class 'HKCategorySample' is not '@usableFromInline' or public
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2429:18: error: static property 'sleepApneaEvent' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'sleepApneaEvent' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2427 | as: SampleType<HKCategorySample>.self,
2428 | default: .category(
2429 | .sleepApneaEvent,
| `- error: static property 'sleepApneaEvent' is internal and cannot be referenced from an '@inlinable' function
2430 | )
2431 | )
HealthKit.HKCategoryTypeIdentifier:57:23: note: static property 'sleepApneaEvent' is not '@usableFromInline' or public
55 | public static let sexualActivity: HKCategoryTypeIdentifier
56 | @available(macOS 15.0, *)
57 | public static let sleepApneaEvent: HKCategoryTypeIdentifier
| `- note: static property 'sleepApneaEvent' is not '@usableFromInline' or public
58 | @available(macOS 13.0, *)
59 | public static let sleepAnalysis: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2436:32: error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategoryType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2434 | @inlinable public static var bladderIncontinence: SampleType<HKCategorySample> {
2435 | SampleTypeCache.get(
2436 | identifier: Sample._SampleType._Identifier.bladderIncontinence.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCategoryType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2437 | as: SampleType<HKCategorySample>.self,
2438 | default: .category(
HealthKit.HKCategoryType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategoryType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2436:56: error: static property 'bladderIncontinence' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'bladderIncontinence' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2434 | @inlinable public static var bladderIncontinence: SampleType<HKCategorySample> {
2435 | SampleTypeCache.get(
2436 | identifier: Sample._SampleType._Identifier.bladderIncontinence.rawValue,
| `- error: static property 'bladderIncontinence' is internal and cannot be referenced from an '@inlinable' function
2437 | as: SampleType<HKCategorySample>.self,
2438 | default: .category(
HealthKit.HKCategoryTypeIdentifier:67:23: note: static property 'bladderIncontinence' is not '@usableFromInline' or public
65 | public static let appetiteChanges: HKCategoryTypeIdentifier
66 | @available(macOS 13.0, *)
67 | public static let bladderIncontinence: HKCategoryTypeIdentifier
| `- note: static property 'bladderIncontinence' is not '@usableFromInline' or public
68 | @available(macOS 13.0, *)
69 | public static let bloating: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2436:76: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2434 | @inlinable public static var bladderIncontinence: SampleType<HKCategorySample> {
2435 | SampleTypeCache.get(
2436 | identifier: Sample._SampleType._Identifier.bladderIncontinence.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2437 | as: SampleType<HKCategorySample>.self,
2438 | default: .category(
HealthKit.HKCategoryTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2437:28: error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2435 | SampleTypeCache.get(
2436 | identifier: Sample._SampleType._Identifier.bladderIncontinence.rawValue,
2437 | as: SampleType<HKCategorySample>.self,
| `- error: class 'HKCategorySample' is internal and cannot be referenced from an '@inlinable' function
2438 | default: .category(
2439 | .bladderIncontinence,
HealthKit.HKCategorySample:2:12: note: class 'HKCategorySample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: class 'HKCategorySample' is not '@usableFromInline' or public
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2439:18: error: static property 'bladderIncontinence' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'bladderIncontinence' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2437 | as: SampleType<HKCategorySample>.self,
2438 | default: .category(
2439 | .bladderIncontinence,
| `- error: static property 'bladderIncontinence' is internal and cannot be referenced from an '@inlinable' function
2440 | )
2441 | )
HealthKit.HKCategoryTypeIdentifier:67:23: note: static property 'bladderIncontinence' is not '@usableFromInline' or public
65 | public static let appetiteChanges: HKCategoryTypeIdentifier
66 | @available(macOS 13.0, *)
67 | public static let bladderIncontinence: HKCategoryTypeIdentifier
| `- note: static property 'bladderIncontinence' is not '@usableFromInline' or public
68 | @available(macOS 13.0, *)
69 | public static let bloating: HKCategoryTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2683:32: error: '_SampleType' aliases 'HealthKit.HKCorrelationType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCorrelationType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2681 | @inlinable public static var bloodPressure: SampleType<HKCorrelation> {
2682 | SampleTypeCache.get(
2683 | identifier: Sample._SampleType._Identifier.bloodPressure.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCorrelationType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2684 | as: SampleType<HKCorrelation>.self,
2685 | default: .correlation(
HealthKit.HKCorrelationType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCorrelationType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2683:56: error: static property 'bloodPressure' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'bloodPressure' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2681 | @inlinable public static var bloodPressure: SampleType<HKCorrelation> {
2682 | SampleTypeCache.get(
2683 | identifier: Sample._SampleType._Identifier.bloodPressure.rawValue,
| `- error: static property 'bloodPressure' is internal and cannot be referenced from an '@inlinable' function
2684 | as: SampleType<HKCorrelation>.self,
2685 | default: .correlation(
HealthKit.HKCorrelationTypeIdentifier:3:23: note: static property 'bloodPressure' is not '@usableFromInline' or public
1 | extension HKCorrelationTypeIdentifier {
2 | @available(macOS 13.0, *)
3 | public static let bloodPressure: HKCorrelationTypeIdentifier
| `- note: static property 'bloodPressure' is not '@usableFromInline' or public
4 | @available(macOS 13.0, *)
5 | public static let food: HKCorrelationTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2683:70: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2681 | @inlinable public static var bloodPressure: SampleType<HKCorrelation> {
2682 | SampleTypeCache.get(
2683 | identifier: Sample._SampleType._Identifier.bloodPressure.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2684 | as: SampleType<HKCorrelation>.self,
2685 | default: .correlation(
HealthKit.HKCorrelationTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCorrelationTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2684:28: error: class 'HKCorrelation' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCorrelation' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2682 | SampleTypeCache.get(
2683 | identifier: Sample._SampleType._Identifier.bloodPressure.rawValue,
2684 | as: SampleType<HKCorrelation>.self,
| `- error: class 'HKCorrelation' is internal and cannot be referenced from an '@inlinable' function
2685 | default: .correlation(
2686 | .bloodPressure,
HealthKit.HKCorrelation:2:12: note: class 'HKCorrelation' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCorrelation : HKSample, @unchecked Sendable {
| `- note: class 'HKCorrelation' is not '@usableFromInline' or public
3 | open var correlationType: HKCorrelationType { get }
4 | open var objects: Set<HKSample> { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2686:18: error: static property 'bloodPressure' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'bloodPressure' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2684 | as: SampleType<HKCorrelation>.self,
2685 | default: .correlation(
2686 | .bloodPressure,
| `- error: static property 'bloodPressure' is internal and cannot be referenced from an '@inlinable' function
2687 | associatedQuantityTypes: [.bloodPressureDiastolic, .bloodPressureSystolic]
2688 | )
HealthKit.HKCorrelationTypeIdentifier:3:23: note: static property 'bloodPressure' is not '@usableFromInline' or public
1 | extension HKCorrelationTypeIdentifier {
2 | @available(macOS 13.0, *)
3 | public static let bloodPressure: HKCorrelationTypeIdentifier
| `- note: static property 'bloodPressure' is not '@usableFromInline' or public
4 | @available(macOS 13.0, *)
5 | public static let food: HKCorrelationTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2694:32: error: '_SampleType' aliases 'HealthKit.HKCorrelationType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCorrelationType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2692 | @inlinable public static var food: SampleType<HKCorrelation> {
2693 | SampleTypeCache.get(
2694 | identifier: Sample._SampleType._Identifier.food.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKCorrelationType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2695 | as: SampleType<HKCorrelation>.self,
2696 | default: .correlation(
HealthKit.HKCorrelationType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCorrelationType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2694:56: error: static property 'food' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'food' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2692 | @inlinable public static var food: SampleType<HKCorrelation> {
2693 | SampleTypeCache.get(
2694 | identifier: Sample._SampleType._Identifier.food.rawValue,
| `- error: static property 'food' is internal and cannot be referenced from an '@inlinable' function
2695 | as: SampleType<HKCorrelation>.self,
2696 | default: .correlation(
HealthKit.HKCorrelationTypeIdentifier:5:23: note: static property 'food' is not '@usableFromInline' or public
3 | public static let bloodPressure: HKCorrelationTypeIdentifier
4 | @available(macOS 13.0, *)
5 | public static let food: HKCorrelationTypeIdentifier
| `- note: static property 'food' is not '@usableFromInline' or public
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2694:61: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2692 | @inlinable public static var food: SampleType<HKCorrelation> {
2693 | SampleTypeCache.get(
2694 | identifier: Sample._SampleType._Identifier.food.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2695 | as: SampleType<HKCorrelation>.self,
2696 | default: .correlation(
HealthKit.HKCorrelationTypeIdentifier:3:16: note: property 'rawValue' is not '@usableFromInline' or public
1 | public struct HKCorrelationTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
4 | public typealias RawValue = String
5 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2695:28: error: class 'HKCorrelation' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKCorrelation' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2693 | SampleTypeCache.get(
2694 | identifier: Sample._SampleType._Identifier.food.rawValue,
2695 | as: SampleType<HKCorrelation>.self,
| `- error: class 'HKCorrelation' is internal and cannot be referenced from an '@inlinable' function
2696 | default: .correlation(
2697 | .food,
HealthKit.HKCorrelation:2:12: note: class 'HKCorrelation' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKCorrelation : HKSample, @unchecked Sendable {
| `- note: class 'HKCorrelation' is not '@usableFromInline' or public
3 | open var correlationType: HKCorrelationType { get }
4 | open var objects: Set<HKSample> { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2697:18: error: static property 'food' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'food' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2695 | as: SampleType<HKCorrelation>.self,
2696 | default: .correlation(
2697 | .food,
| `- error: static property 'food' is internal and cannot be referenced from an '@inlinable' function
2698 | associatedQuantityTypes: [.dietaryEnergyConsumed, .dietaryCarbohydrates, .dietaryFiber, .dietarySugar, .dietaryFatTotal, .dietaryFatMonounsaturated, .dietaryFatPolyunsaturated, .dietaryFatSaturated, .dietaryCholesterol, .dietaryProtein, .dietaryVitaminA, .dietaryThiamin, .dietaryRiboflavin, .dietaryNiacin, .dietaryPantothenicAcid, .dietaryVitaminB6, .dietaryBiotin, .dietaryVitaminB12, .dietaryVitaminC, .dietaryVitaminD, .dietaryVitaminE, .dietaryVitaminK, .dietaryFolate, .dietaryCalcium, .dietaryChloride, .dietaryIron, .dietaryMagnesium, .dietaryPhosphorus, .dietaryPotassium, .dietarySodium, .dietaryZinc, .dietaryWater, .dietaryCaffeine, .dietaryChromium, .dietaryCopper, .dietaryIodine, .dietaryManganese, .dietaryMolybdenum, .dietarySelenium]
2699 | )
HealthKit.HKCorrelationTypeIdentifier:5:23: note: static property 'food' is not '@usableFromInline' or public
3 | public static let bloodPressure: HKCorrelationTypeIdentifier
4 | @available(macOS 13.0, *)
5 | public static let food: HKCorrelationTypeIdentifier
| `- note: static property 'food' is not '@usableFromInline' or public
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2739:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2737 | @inlinable public static var allergyRecord: SampleType<HKClinicalRecord> {
2738 | SampleTypeCache.get(
2739 | identifier: Sample._SampleType._Identifier.allergyRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2740 | as: SampleType<HKClinicalRecord>.self,
2741 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2739:56: error: static property 'allergyRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'allergyRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2737 | @inlinable public static var allergyRecord: SampleType<HKClinicalRecord> {
2738 | SampleTypeCache.get(
2739 | identifier: Sample._SampleType._Identifier.allergyRecord.rawValue,
| `- error: static property 'allergyRecord' is internal and cannot be referenced from an '@inlinable' function
2740 | as: SampleType<HKClinicalRecord>.self,
2741 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:3:23: note: static property 'allergyRecord' is not '@usableFromInline' or public
1 | extension HKClinicalTypeIdentifier {
2 | @available(macOS 13.0, *)
3 | public static let allergyRecord: HKClinicalTypeIdentifier
| `- note: static property 'allergyRecord' is not '@usableFromInline' or public
4 | @available(macOS 13.3, *)
5 | public static let clinicalNoteRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2739:70: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2737 | @inlinable public static var allergyRecord: SampleType<HKClinicalRecord> {
2738 | SampleTypeCache.get(
2739 | identifier: Sample._SampleType._Identifier.allergyRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2740 | as: SampleType<HKClinicalRecord>.self,
2741 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2740:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2738 | SampleTypeCache.get(
2739 | identifier: Sample._SampleType._Identifier.allergyRecord.rawValue,
2740 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2741 | default: .clinical(
2742 | .allergyRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2742:18: error: static property 'allergyRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'allergyRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2740 | as: SampleType<HKClinicalRecord>.self,
2741 | default: .clinical(
2742 | .allergyRecord,
| `- error: static property 'allergyRecord' is internal and cannot be referenced from an '@inlinable' function
2743 | )
2744 | )
HealthKit.HKClinicalTypeIdentifier:3:23: note: static property 'allergyRecord' is not '@usableFromInline' or public
1 | extension HKClinicalTypeIdentifier {
2 | @available(macOS 13.0, *)
3 | public static let allergyRecord: HKClinicalTypeIdentifier
| `- note: static property 'allergyRecord' is not '@usableFromInline' or public
4 | @available(macOS 13.3, *)
5 | public static let clinicalNoteRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2749:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2747 | @inlinable public static var clinicalNoteRecord: SampleType<HKClinicalRecord> {
2748 | SampleTypeCache.get(
2749 | identifier: Sample._SampleType._Identifier.clinicalNoteRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2750 | as: SampleType<HKClinicalRecord>.self,
2751 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2749:56: error: static property 'clinicalNoteRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'clinicalNoteRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2747 | @inlinable public static var clinicalNoteRecord: SampleType<HKClinicalRecord> {
2748 | SampleTypeCache.get(
2749 | identifier: Sample._SampleType._Identifier.clinicalNoteRecord.rawValue,
| `- error: static property 'clinicalNoteRecord' is internal and cannot be referenced from an '@inlinable' function
2750 | as: SampleType<HKClinicalRecord>.self,
2751 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:5:23: note: static property 'clinicalNoteRecord' is not '@usableFromInline' or public
3 | public static let allergyRecord: HKClinicalTypeIdentifier
4 | @available(macOS 13.3, *)
5 | public static let clinicalNoteRecord: HKClinicalTypeIdentifier
| `- note: static property 'clinicalNoteRecord' is not '@usableFromInline' or public
6 | @available(macOS 13.0, *)
7 | public static let conditionRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2749:75: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2747 | @inlinable public static var clinicalNoteRecord: SampleType<HKClinicalRecord> {
2748 | SampleTypeCache.get(
2749 | identifier: Sample._SampleType._Identifier.clinicalNoteRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2750 | as: SampleType<HKClinicalRecord>.self,
2751 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2750:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2748 | SampleTypeCache.get(
2749 | identifier: Sample._SampleType._Identifier.clinicalNoteRecord.rawValue,
2750 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2751 | default: .clinical(
2752 | .clinicalNoteRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2752:18: error: static property 'clinicalNoteRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'clinicalNoteRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2750 | as: SampleType<HKClinicalRecord>.self,
2751 | default: .clinical(
2752 | .clinicalNoteRecord,
| `- error: static property 'clinicalNoteRecord' is internal and cannot be referenced from an '@inlinable' function
2753 | )
2754 | )
HealthKit.HKClinicalTypeIdentifier:5:23: note: static property 'clinicalNoteRecord' is not '@usableFromInline' or public
3 | public static let allergyRecord: HKClinicalTypeIdentifier
4 | @available(macOS 13.3, *)
5 | public static let clinicalNoteRecord: HKClinicalTypeIdentifier
| `- note: static property 'clinicalNoteRecord' is not '@usableFromInline' or public
6 | @available(macOS 13.0, *)
7 | public static let conditionRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2759:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2757 | @inlinable public static var conditionRecord: SampleType<HKClinicalRecord> {
2758 | SampleTypeCache.get(
2759 | identifier: Sample._SampleType._Identifier.conditionRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2760 | as: SampleType<HKClinicalRecord>.self,
2761 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2759:56: error: static property 'conditionRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'conditionRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2757 | @inlinable public static var conditionRecord: SampleType<HKClinicalRecord> {
2758 | SampleTypeCache.get(
2759 | identifier: Sample._SampleType._Identifier.conditionRecord.rawValue,
| `- error: static property 'conditionRecord' is internal and cannot be referenced from an '@inlinable' function
2760 | as: SampleType<HKClinicalRecord>.self,
2761 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:7:23: note: static property 'conditionRecord' is not '@usableFromInline' or public
5 | public static let clinicalNoteRecord: HKClinicalTypeIdentifier
6 | @available(macOS 13.0, *)
7 | public static let conditionRecord: HKClinicalTypeIdentifier
| `- note: static property 'conditionRecord' is not '@usableFromInline' or public
8 | @available(macOS 13.0, *)
9 | public static let immunizationRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2759:72: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2757 | @inlinable public static var conditionRecord: SampleType<HKClinicalRecord> {
2758 | SampleTypeCache.get(
2759 | identifier: Sample._SampleType._Identifier.conditionRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2760 | as: SampleType<HKClinicalRecord>.self,
2761 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2760:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2758 | SampleTypeCache.get(
2759 | identifier: Sample._SampleType._Identifier.conditionRecord.rawValue,
2760 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2761 | default: .clinical(
2762 | .conditionRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2762:18: error: static property 'conditionRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'conditionRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2760 | as: SampleType<HKClinicalRecord>.self,
2761 | default: .clinical(
2762 | .conditionRecord,
| `- error: static property 'conditionRecord' is internal and cannot be referenced from an '@inlinable' function
2763 | )
2764 | )
HealthKit.HKClinicalTypeIdentifier:7:23: note: static property 'conditionRecord' is not '@usableFromInline' or public
5 | public static let clinicalNoteRecord: HKClinicalTypeIdentifier
6 | @available(macOS 13.0, *)
7 | public static let conditionRecord: HKClinicalTypeIdentifier
| `- note: static property 'conditionRecord' is not '@usableFromInline' or public
8 | @available(macOS 13.0, *)
9 | public static let immunizationRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2769:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2767 | @inlinable public static var immunizationRecord: SampleType<HKClinicalRecord> {
2768 | SampleTypeCache.get(
2769 | identifier: Sample._SampleType._Identifier.immunizationRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2770 | as: SampleType<HKClinicalRecord>.self,
2771 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2769:56: error: static property 'immunizationRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'immunizationRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2767 | @inlinable public static var immunizationRecord: SampleType<HKClinicalRecord> {
2768 | SampleTypeCache.get(
2769 | identifier: Sample._SampleType._Identifier.immunizationRecord.rawValue,
| `- error: static property 'immunizationRecord' is internal and cannot be referenced from an '@inlinable' function
2770 | as: SampleType<HKClinicalRecord>.self,
2771 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:9:23: note: static property 'immunizationRecord' is not '@usableFromInline' or public
7 | public static let conditionRecord: HKClinicalTypeIdentifier
8 | @available(macOS 13.0, *)
9 | public static let immunizationRecord: HKClinicalTypeIdentifier
| `- note: static property 'immunizationRecord' is not '@usableFromInline' or public
10 | @available(macOS 13.0, *)
11 | public static let labResultRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2769:75: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2767 | @inlinable public static var immunizationRecord: SampleType<HKClinicalRecord> {
2768 | SampleTypeCache.get(
2769 | identifier: Sample._SampleType._Identifier.immunizationRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2770 | as: SampleType<HKClinicalRecord>.self,
2771 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2770:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2768 | SampleTypeCache.get(
2769 | identifier: Sample._SampleType._Identifier.immunizationRecord.rawValue,
2770 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2771 | default: .clinical(
2772 | .immunizationRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2772:18: error: static property 'immunizationRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'immunizationRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2770 | as: SampleType<HKClinicalRecord>.self,
2771 | default: .clinical(
2772 | .immunizationRecord,
| `- error: static property 'immunizationRecord' is internal and cannot be referenced from an '@inlinable' function
2773 | )
2774 | )
HealthKit.HKClinicalTypeIdentifier:9:23: note: static property 'immunizationRecord' is not '@usableFromInline' or public
7 | public static let conditionRecord: HKClinicalTypeIdentifier
8 | @available(macOS 13.0, *)
9 | public static let immunizationRecord: HKClinicalTypeIdentifier
| `- note: static property 'immunizationRecord' is not '@usableFromInline' or public
10 | @available(macOS 13.0, *)
11 | public static let labResultRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2779:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2777 | @inlinable public static var labResultRecord: SampleType<HKClinicalRecord> {
2778 | SampleTypeCache.get(
2779 | identifier: Sample._SampleType._Identifier.labResultRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2780 | as: SampleType<HKClinicalRecord>.self,
2781 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2779:56: error: static property 'labResultRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'labResultRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2777 | @inlinable public static var labResultRecord: SampleType<HKClinicalRecord> {
2778 | SampleTypeCache.get(
2779 | identifier: Sample._SampleType._Identifier.labResultRecord.rawValue,
| `- error: static property 'labResultRecord' is internal and cannot be referenced from an '@inlinable' function
2780 | as: SampleType<HKClinicalRecord>.self,
2781 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:11:23: note: static property 'labResultRecord' is not '@usableFromInline' or public
9 | public static let immunizationRecord: HKClinicalTypeIdentifier
10 | @available(macOS 13.0, *)
11 | public static let labResultRecord: HKClinicalTypeIdentifier
| `- note: static property 'labResultRecord' is not '@usableFromInline' or public
12 | @available(macOS 13.0, *)
13 | public static let medicationRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2779:72: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2777 | @inlinable public static var labResultRecord: SampleType<HKClinicalRecord> {
2778 | SampleTypeCache.get(
2779 | identifier: Sample._SampleType._Identifier.labResultRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2780 | as: SampleType<HKClinicalRecord>.self,
2781 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2780:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2778 | SampleTypeCache.get(
2779 | identifier: Sample._SampleType._Identifier.labResultRecord.rawValue,
2780 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2781 | default: .clinical(
2782 | .labResultRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2782:18: error: static property 'labResultRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'labResultRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2780 | as: SampleType<HKClinicalRecord>.self,
2781 | default: .clinical(
2782 | .labResultRecord,
| `- error: static property 'labResultRecord' is internal and cannot be referenced from an '@inlinable' function
2783 | )
2784 | )
HealthKit.HKClinicalTypeIdentifier:11:23: note: static property 'labResultRecord' is not '@usableFromInline' or public
9 | public static let immunizationRecord: HKClinicalTypeIdentifier
10 | @available(macOS 13.0, *)
11 | public static let labResultRecord: HKClinicalTypeIdentifier
| `- note: static property 'labResultRecord' is not '@usableFromInline' or public
12 | @available(macOS 13.0, *)
13 | public static let medicationRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2789:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2787 | @inlinable public static var medicationRecord: SampleType<HKClinicalRecord> {
2788 | SampleTypeCache.get(
2789 | identifier: Sample._SampleType._Identifier.medicationRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2790 | as: SampleType<HKClinicalRecord>.self,
2791 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2789:56: error: static property 'medicationRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'medicationRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2787 | @inlinable public static var medicationRecord: SampleType<HKClinicalRecord> {
2788 | SampleTypeCache.get(
2789 | identifier: Sample._SampleType._Identifier.medicationRecord.rawValue,
| `- error: static property 'medicationRecord' is internal and cannot be referenced from an '@inlinable' function
2790 | as: SampleType<HKClinicalRecord>.self,
2791 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:13:23: note: static property 'medicationRecord' is not '@usableFromInline' or public
11 | public static let labResultRecord: HKClinicalTypeIdentifier
12 | @available(macOS 13.0, *)
13 | public static let medicationRecord: HKClinicalTypeIdentifier
| `- note: static property 'medicationRecord' is not '@usableFromInline' or public
14 | @available(macOS 13.0, *)
15 | public static let procedureRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2789:73: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2787 | @inlinable public static var medicationRecord: SampleType<HKClinicalRecord> {
2788 | SampleTypeCache.get(
2789 | identifier: Sample._SampleType._Identifier.medicationRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2790 | as: SampleType<HKClinicalRecord>.self,
2791 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2790:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2788 | SampleTypeCache.get(
2789 | identifier: Sample._SampleType._Identifier.medicationRecord.rawValue,
2790 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2791 | default: .clinical(
2792 | .medicationRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2792:18: error: static property 'medicationRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'medicationRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2790 | as: SampleType<HKClinicalRecord>.self,
2791 | default: .clinical(
2792 | .medicationRecord,
| `- error: static property 'medicationRecord' is internal and cannot be referenced from an '@inlinable' function
2793 | )
2794 | )
HealthKit.HKClinicalTypeIdentifier:13:23: note: static property 'medicationRecord' is not '@usableFromInline' or public
11 | public static let labResultRecord: HKClinicalTypeIdentifier
12 | @available(macOS 13.0, *)
13 | public static let medicationRecord: HKClinicalTypeIdentifier
| `- note: static property 'medicationRecord' is not '@usableFromInline' or public
14 | @available(macOS 13.0, *)
15 | public static let procedureRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2799:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2797 | @inlinable public static var procedureRecord: SampleType<HKClinicalRecord> {
2798 | SampleTypeCache.get(
2799 | identifier: Sample._SampleType._Identifier.procedureRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2800 | as: SampleType<HKClinicalRecord>.self,
2801 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2799:56: error: static property 'procedureRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'procedureRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2797 | @inlinable public static var procedureRecord: SampleType<HKClinicalRecord> {
2798 | SampleTypeCache.get(
2799 | identifier: Sample._SampleType._Identifier.procedureRecord.rawValue,
| `- error: static property 'procedureRecord' is internal and cannot be referenced from an '@inlinable' function
2800 | as: SampleType<HKClinicalRecord>.self,
2801 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:15:23: note: static property 'procedureRecord' is not '@usableFromInline' or public
13 | public static let medicationRecord: HKClinicalTypeIdentifier
14 | @available(macOS 13.0, *)
15 | public static let procedureRecord: HKClinicalTypeIdentifier
| `- note: static property 'procedureRecord' is not '@usableFromInline' or public
16 | @available(macOS 13.0, *)
17 | public static let vitalSignRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2799:72: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2797 | @inlinable public static var procedureRecord: SampleType<HKClinicalRecord> {
2798 | SampleTypeCache.get(
2799 | identifier: Sample._SampleType._Identifier.procedureRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2800 | as: SampleType<HKClinicalRecord>.self,
2801 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2800:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2798 | SampleTypeCache.get(
2799 | identifier: Sample._SampleType._Identifier.procedureRecord.rawValue,
2800 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2801 | default: .clinical(
2802 | .procedureRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2802:18: error: static property 'procedureRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'procedureRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2800 | as: SampleType<HKClinicalRecord>.self,
2801 | default: .clinical(
2802 | .procedureRecord,
| `- error: static property 'procedureRecord' is internal and cannot be referenced from an '@inlinable' function
2803 | )
2804 | )
HealthKit.HKClinicalTypeIdentifier:15:23: note: static property 'procedureRecord' is not '@usableFromInline' or public
13 | public static let medicationRecord: HKClinicalTypeIdentifier
14 | @available(macOS 13.0, *)
15 | public static let procedureRecord: HKClinicalTypeIdentifier
| `- note: static property 'procedureRecord' is not '@usableFromInline' or public
16 | @available(macOS 13.0, *)
17 | public static let vitalSignRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2809:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2807 | @inlinable public static var vitalSignRecord: SampleType<HKClinicalRecord> {
2808 | SampleTypeCache.get(
2809 | identifier: Sample._SampleType._Identifier.vitalSignRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2810 | as: SampleType<HKClinicalRecord>.self,
2811 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2809:56: error: static property 'vitalSignRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'vitalSignRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2807 | @inlinable public static var vitalSignRecord: SampleType<HKClinicalRecord> {
2808 | SampleTypeCache.get(
2809 | identifier: Sample._SampleType._Identifier.vitalSignRecord.rawValue,
| `- error: static property 'vitalSignRecord' is internal and cannot be referenced from an '@inlinable' function
2810 | as: SampleType<HKClinicalRecord>.self,
2811 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:17:23: note: static property 'vitalSignRecord' is not '@usableFromInline' or public
15 | public static let procedureRecord: HKClinicalTypeIdentifier
16 | @available(macOS 13.0, *)
17 | public static let vitalSignRecord: HKClinicalTypeIdentifier
| `- note: static property 'vitalSignRecord' is not '@usableFromInline' or public
18 | @available(macOS 13.0, *)
19 | public static let coverageRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2809:72: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2807 | @inlinable public static var vitalSignRecord: SampleType<HKClinicalRecord> {
2808 | SampleTypeCache.get(
2809 | identifier: Sample._SampleType._Identifier.vitalSignRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2810 | as: SampleType<HKClinicalRecord>.self,
2811 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2810:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2808 | SampleTypeCache.get(
2809 | identifier: Sample._SampleType._Identifier.vitalSignRecord.rawValue,
2810 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2811 | default: .clinical(
2812 | .vitalSignRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2812:18: error: static property 'vitalSignRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'vitalSignRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2810 | as: SampleType<HKClinicalRecord>.self,
2811 | default: .clinical(
2812 | .vitalSignRecord,
| `- error: static property 'vitalSignRecord' is internal and cannot be referenced from an '@inlinable' function
2813 | )
2814 | )
HealthKit.HKClinicalTypeIdentifier:17:23: note: static property 'vitalSignRecord' is not '@usableFromInline' or public
15 | public static let procedureRecord: HKClinicalTypeIdentifier
16 | @available(macOS 13.0, *)
17 | public static let vitalSignRecord: HKClinicalTypeIdentifier
| `- note: static property 'vitalSignRecord' is not '@usableFromInline' or public
18 | @available(macOS 13.0, *)
19 | public static let coverageRecord: HKClinicalTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2819:32: error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2817 | @inlinable public static var coverageRecord: SampleType<HKClinicalRecord> {
2818 | SampleTypeCache.get(
2819 | identifier: Sample._SampleType._Identifier.coverageRecord.rawValue,
| `- error: '_SampleType' aliases 'HealthKit.HKClinicalType' and cannot be used in an '@inlinable' function because 'HealthKit' was not imported publicly
2820 | as: SampleType<HKClinicalRecord>.self,
2821 | default: .clinical(
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2819:56: error: static property 'coverageRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'coverageRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2817 | @inlinable public static var coverageRecord: SampleType<HKClinicalRecord> {
2818 | SampleTypeCache.get(
2819 | identifier: Sample._SampleType._Identifier.coverageRecord.rawValue,
| `- error: static property 'coverageRecord' is internal and cannot be referenced from an '@inlinable' function
2820 | as: SampleType<HKClinicalRecord>.self,
2821 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:19:23: note: static property 'coverageRecord' is not '@usableFromInline' or public
17 | public static let vitalSignRecord: HKClinicalTypeIdentifier
18 | @available(macOS 13.0, *)
19 | public static let coverageRecord: HKClinicalTypeIdentifier
| `- note: static property 'coverageRecord' is not '@usableFromInline' or public
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2819:71: error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'rawValue' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2817 | @inlinable public static var coverageRecord: SampleType<HKClinicalRecord> {
2818 | SampleTypeCache.get(
2819 | identifier: Sample._SampleType._Identifier.coverageRecord.rawValue,
| `- error: property 'rawValue' is internal and cannot be referenced from an '@inlinable' function
2820 | as: SampleType<HKClinicalRecord>.self,
2821 | default: .clinical(
HealthKit.HKClinicalTypeIdentifier:4:16: note: property 'rawValue' is not '@usableFromInline' or public
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
| `- note: property 'rawValue' is not '@usableFromInline' or public
5 | public typealias RawValue = String
6 | public typealias _ObjectiveCType = NSString
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2820:28: error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKClinicalRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2818 | SampleTypeCache.get(
2819 | identifier: Sample._SampleType._Identifier.coverageRecord.rawValue,
2820 | as: SampleType<HKClinicalRecord>.self,
| `- error: class 'HKClinicalRecord' is internal and cannot be referenced from an '@inlinable' function
2821 | default: .clinical(
2822 | .coverageRecord,
HealthKit.HKClinicalRecord:2:12: note: class 'HKClinicalRecord' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKClinicalRecord : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKClinicalRecord' is not '@usableFromInline' or public
3 | @NSCopying open var clinicalType: HKClinicalType { get }
4 | open var displayName: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2822:18: error: static property 'coverageRecord' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'coverageRecord' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2820 | as: SampleType<HKClinicalRecord>.self,
2821 | default: .clinical(
2822 | .coverageRecord,
| `- error: static property 'coverageRecord' is internal and cannot be referenced from an '@inlinable' function
2823 | )
2824 | )
HealthKit.HKClinicalTypeIdentifier:19:23: note: static property 'coverageRecord' is not '@usableFromInline' or public
17 | public static let vitalSignRecord: HKClinicalTypeIdentifier
18 | @available(macOS 13.0, *)
19 | public static let coverageRecord: HKClinicalTypeIdentifier
| `- note: static property 'coverageRecord' is not '@usableFromInline' or public
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2897:25: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2895 | @inlinable public static var electrocardiogram: SampleType<HKElectrocardiogram> {
2896 | SampleTypeCache.get(
2897 | identifier: HKSampleType.electrocardiogramType().identifier,
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2898 | as: SampleType<HKElectrocardiogram>.self,
2899 | default: .init(HKSampleType.electrocardiogramType(), variant: .other)
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2897:38: error: class method 'electrocardiogramType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'electrocardiogramType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2895 | @inlinable public static var electrocardiogram: SampleType<HKElectrocardiogram> {
2896 | SampleTypeCache.get(
2897 | identifier: HKSampleType.electrocardiogramType().identifier,
| `- error: class method 'electrocardiogramType()' is internal and cannot be referenced from an '@inlinable' function
2898 | as: SampleType<HKElectrocardiogram>.self,
2899 | default: .init(HKSampleType.electrocardiogramType(), variant: .other)
HealthKit.HKObjectType:32:21: note: class method 'electrocardiogramType()' is not '@usableFromInline' or public
30 | open class func audiogramSampleType() -> HKAudiogramSampleType
31 | @available(macOS 13.0, *)
32 | open class func electrocardiogramType() -> HKElectrocardiogramType
| `- note: class method 'electrocardiogramType()' is not '@usableFromInline' or public
33 | @available(macOS 13.0, *)
34 | open class func visionPrescriptionType() -> HKPrescriptionType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2897:62: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2895 | @inlinable public static var electrocardiogram: SampleType<HKElectrocardiogram> {
2896 | SampleTypeCache.get(
2897 | identifier: HKSampleType.electrocardiogramType().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2898 | as: SampleType<HKElectrocardiogram>.self,
2899 | default: .init(HKSampleType.electrocardiogramType(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2898:28: error: class 'HKElectrocardiogram' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKElectrocardiogram' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2896 | SampleTypeCache.get(
2897 | identifier: HKSampleType.electrocardiogramType().identifier,
2898 | as: SampleType<HKElectrocardiogram>.self,
| `- error: class 'HKElectrocardiogram' is internal and cannot be referenced from an '@inlinable' function
2899 | default: .init(HKSampleType.electrocardiogramType(), variant: .other)
2900 | )
HealthKit.HKElectrocardiogram:2:12: note: class 'HKElectrocardiogram' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKElectrocardiogram : HKSample, @unchecked Sendable {
| `- note: class 'HKElectrocardiogram' is not '@usableFromInline' or public
3 | open var numberOfVoltageMeasurements: Int { get }
4 | @NSCopying open var samplingFrequency: HKQuantity? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2899:28: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2897 | identifier: HKSampleType.electrocardiogramType().identifier,
2898 | as: SampleType<HKElectrocardiogram>.self,
2899 | default: .init(HKSampleType.electrocardiogramType(), variant: .other)
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2900 | )
2901 | }
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2899:41: error: class method 'electrocardiogramType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'electrocardiogramType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2897 | identifier: HKSampleType.electrocardiogramType().identifier,
2898 | as: SampleType<HKElectrocardiogram>.self,
2899 | default: .init(HKSampleType.electrocardiogramType(), variant: .other)
| `- error: class method 'electrocardiogramType()' is internal and cannot be referenced from an '@inlinable' function
2900 | )
2901 | }
HealthKit.HKObjectType:32:21: note: class method 'electrocardiogramType()' is not '@usableFromInline' or public
30 | open class func audiogramSampleType() -> HKAudiogramSampleType
31 | @available(macOS 13.0, *)
32 | open class func electrocardiogramType() -> HKElectrocardiogramType
| `- note: class method 'electrocardiogramType()' is not '@usableFromInline' or public
33 | @available(macOS 13.0, *)
34 | open class func visionPrescriptionType() -> HKPrescriptionType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2908:25: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2906 | @inlinable public static var audiogram: SampleType<HKAudiogramSample> {
2907 | SampleTypeCache.get(
2908 | identifier: HKSampleType.audiogramSampleType().identifier,
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2909 | as: SampleType<HKAudiogramSample>.self,
2910 | default: .init(HKSampleType.audiogramSampleType(), variant: .other)
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2908:38: error: class method 'audiogramSampleType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'audiogramSampleType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2906 | @inlinable public static var audiogram: SampleType<HKAudiogramSample> {
2907 | SampleTypeCache.get(
2908 | identifier: HKSampleType.audiogramSampleType().identifier,
| `- error: class method 'audiogramSampleType()' is internal and cannot be referenced from an '@inlinable' function
2909 | as: SampleType<HKAudiogramSample>.self,
2910 | default: .init(HKSampleType.audiogramSampleType(), variant: .other)
HealthKit.HKObjectType:30:21: note: class method 'audiogramSampleType()' is not '@usableFromInline' or public
28 | open class func activitySummaryType() -> HKActivitySummaryType
29 | @available(macOS 13.0, *)
30 | open class func audiogramSampleType() -> HKAudiogramSampleType
| `- note: class method 'audiogramSampleType()' is not '@usableFromInline' or public
31 | @available(macOS 13.0, *)
32 | open class func electrocardiogramType() -> HKElectrocardiogramType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2908:60: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2906 | @inlinable public static var audiogram: SampleType<HKAudiogramSample> {
2907 | SampleTypeCache.get(
2908 | identifier: HKSampleType.audiogramSampleType().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2909 | as: SampleType<HKAudiogramSample>.self,
2910 | default: .init(HKSampleType.audiogramSampleType(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2909:28: error: class 'HKAudiogramSample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKAudiogramSample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2907 | SampleTypeCache.get(
2908 | identifier: HKSampleType.audiogramSampleType().identifier,
2909 | as: SampleType<HKAudiogramSample>.self,
| `- error: class 'HKAudiogramSample' is internal and cannot be referenced from an '@inlinable' function
2910 | default: .init(HKSampleType.audiogramSampleType(), variant: .other)
2911 | )
HealthKit.HKAudiogramSample:2:12: note: class 'HKAudiogramSample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKAudiogramSample : HKSample, @unchecked Sendable {
| `- note: class 'HKAudiogramSample' is not '@usableFromInline' or public
3 | open var sensitivityPoints: [HKAudiogramSensitivityPoint] { get }
4 | public convenience init(sensitivityPoints: [HKAudiogramSensitivityPoint], start startDate: Date, end endDate: Date, metadata: [String : Any]?)
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2910:28: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2908 | identifier: HKSampleType.audiogramSampleType().identifier,
2909 | as: SampleType<HKAudiogramSample>.self,
2910 | default: .init(HKSampleType.audiogramSampleType(), variant: .other)
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2911 | )
2912 | }
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2910:41: error: class method 'audiogramSampleType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'audiogramSampleType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2908 | identifier: HKSampleType.audiogramSampleType().identifier,
2909 | as: SampleType<HKAudiogramSample>.self,
2910 | default: .init(HKSampleType.audiogramSampleType(), variant: .other)
| `- error: class method 'audiogramSampleType()' is internal and cannot be referenced from an '@inlinable' function
2911 | )
2912 | }
HealthKit.HKObjectType:30:21: note: class method 'audiogramSampleType()' is not '@usableFromInline' or public
28 | open class func activitySummaryType() -> HKActivitySummaryType
29 | @available(macOS 13.0, *)
30 | open class func audiogramSampleType() -> HKAudiogramSampleType
| `- note: class method 'audiogramSampleType()' is not '@usableFromInline' or public
31 | @available(macOS 13.0, *)
32 | open class func electrocardiogramType() -> HKElectrocardiogramType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2919:25: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2917 | @inlinable public static var workout: SampleType<HKWorkout> {
2918 | SampleTypeCache.get(
2919 | identifier: HKSampleType.workoutType().identifier,
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2920 | as: SampleType<HKWorkout>.self,
2921 | default: .init(HKSampleType.workoutType(), variant: .other)
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2919:38: error: class method 'workoutType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'workoutType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2917 | @inlinable public static var workout: SampleType<HKWorkout> {
2918 | SampleTypeCache.get(
2919 | identifier: HKSampleType.workoutType().identifier,
| `- error: class method 'workoutType()' is internal and cannot be referenced from an '@inlinable' function
2920 | as: SampleType<HKWorkout>.self,
2921 | default: .init(HKSampleType.workoutType(), variant: .other)
HealthKit.HKObjectType:26:21: note: class method 'workoutType()' is not '@usableFromInline' or public
24 | @available(swift, obsoleted: 3, renamed: "seriesType(forIdentifier:)")
25 | open class func seriesTypeForIdentifier(_ identifier: String) -> HKSeriesType?
26 | open class func workoutType() -> HKWorkoutType
| `- note: class method 'workoutType()' is not '@usableFromInline' or public
27 | @available(macOS 13.0, *)
28 | open class func activitySummaryType() -> HKActivitySummaryType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2919:52: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2917 | @inlinable public static var workout: SampleType<HKWorkout> {
2918 | SampleTypeCache.get(
2919 | identifier: HKSampleType.workoutType().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2920 | as: SampleType<HKWorkout>.self,
2921 | default: .init(HKSampleType.workoutType(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2920:28: error: class 'HKWorkout' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKWorkout' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2918 | SampleTypeCache.get(
2919 | identifier: HKSampleType.workoutType().identifier,
2920 | as: SampleType<HKWorkout>.self,
| `- error: class 'HKWorkout' is internal and cannot be referenced from an '@inlinable' function
2921 | default: .init(HKSampleType.workoutType(), variant: .other)
2922 | )
HealthKit.HKWorkout:2:12: note: class 'HKWorkout' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKWorkout : HKSample, @unchecked Sendable {
| `- note: class 'HKWorkout' is not '@usableFromInline' or public
3 | open var workoutActivityType: HKWorkoutActivityType { get }
4 | open var workoutEvents: [HKWorkoutEvent]? { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2921:28: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2919 | identifier: HKSampleType.workoutType().identifier,
2920 | as: SampleType<HKWorkout>.self,
2921 | default: .init(HKSampleType.workoutType(), variant: .other)
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2922 | )
2923 | }
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2921:41: error: class method 'workoutType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'workoutType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2919 | identifier: HKSampleType.workoutType().identifier,
2920 | as: SampleType<HKWorkout>.self,
2921 | default: .init(HKSampleType.workoutType(), variant: .other)
| `- error: class method 'workoutType()' is internal and cannot be referenced from an '@inlinable' function
2922 | )
2923 | }
HealthKit.HKObjectType:26:21: note: class method 'workoutType()' is not '@usableFromInline' or public
24 | @available(swift, obsoleted: 3, renamed: "seriesType(forIdentifier:)")
25 | open class func seriesTypeForIdentifier(_ identifier: String) -> HKSeriesType?
26 | open class func workoutType() -> HKWorkoutType
| `- note: class method 'workoutType()' is not '@usableFromInline' or public
27 | @available(macOS 13.0, *)
28 | open class func activitySummaryType() -> HKActivitySummaryType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2930:25: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2928 | @inlinable public static var visionPrescription: SampleType<HKVisionPrescription> {
2929 | SampleTypeCache.get(
2930 | identifier: HKSampleType.visionPrescriptionType().identifier,
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2931 | as: SampleType<HKVisionPrescription>.self,
2932 | default: .init(HKSampleType.visionPrescriptionType(), variant: .other)
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2930:38: error: class method 'visionPrescriptionType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'visionPrescriptionType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2928 | @inlinable public static var visionPrescription: SampleType<HKVisionPrescription> {
2929 | SampleTypeCache.get(
2930 | identifier: HKSampleType.visionPrescriptionType().identifier,
| `- error: class method 'visionPrescriptionType()' is internal and cannot be referenced from an '@inlinable' function
2931 | as: SampleType<HKVisionPrescription>.self,
2932 | default: .init(HKSampleType.visionPrescriptionType(), variant: .other)
HealthKit.HKObjectType:34:21: note: class method 'visionPrescriptionType()' is not '@usableFromInline' or public
32 | open class func electrocardiogramType() -> HKElectrocardiogramType
33 | @available(macOS 13.0, *)
34 | open class func visionPrescriptionType() -> HKPrescriptionType
| `- note: class method 'visionPrescriptionType()' is not '@usableFromInline' or public
35 | @available(macOS 15.0, *)
36 | open class func stateOfMindType() -> HKStateOfMindType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2930:63: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2928 | @inlinable public static var visionPrescription: SampleType<HKVisionPrescription> {
2929 | SampleTypeCache.get(
2930 | identifier: HKSampleType.visionPrescriptionType().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2931 | as: SampleType<HKVisionPrescription>.self,
2932 | default: .init(HKSampleType.visionPrescriptionType(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2931:28: error: class 'HKVisionPrescription' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKVisionPrescription' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2929 | SampleTypeCache.get(
2930 | identifier: HKSampleType.visionPrescriptionType().identifier,
2931 | as: SampleType<HKVisionPrescription>.self,
| `- error: class 'HKVisionPrescription' is internal and cannot be referenced from an '@inlinable' function
2932 | default: .init(HKSampleType.visionPrescriptionType(), variant: .other)
2933 | )
HealthKit.HKVisionPrescription:2:12: note: class 'HKVisionPrescription' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKVisionPrescription : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKVisionPrescription' is not '@usableFromInline' or public
3 | open var prescriptionType: HKVisionPrescriptionType { get }
4 | open var dateIssued: Date { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2932:28: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2930 | identifier: HKSampleType.visionPrescriptionType().identifier,
2931 | as: SampleType<HKVisionPrescription>.self,
2932 | default: .init(HKSampleType.visionPrescriptionType(), variant: .other)
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2933 | )
2934 | }
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2932:41: error: class method 'visionPrescriptionType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'visionPrescriptionType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2930 | identifier: HKSampleType.visionPrescriptionType().identifier,
2931 | as: SampleType<HKVisionPrescription>.self,
2932 | default: .init(HKSampleType.visionPrescriptionType(), variant: .other)
| `- error: class method 'visionPrescriptionType()' is internal and cannot be referenced from an '@inlinable' function
2933 | )
2934 | }
HealthKit.HKObjectType:34:21: note: class method 'visionPrescriptionType()' is not '@usableFromInline' or public
32 | open class func electrocardiogramType() -> HKElectrocardiogramType
33 | @available(macOS 13.0, *)
34 | open class func visionPrescriptionType() -> HKPrescriptionType
| `- note: class method 'visionPrescriptionType()' is not '@usableFromInline' or public
35 | @available(macOS 15.0, *)
36 | open class func stateOfMindType() -> HKStateOfMindType
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2942:25: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2940 | @inlinable public static var stateOfMind: SampleType<HKStateOfMind> {
2941 | SampleTypeCache.get(
2942 | identifier: HKSampleType.stateOfMindType().identifier,
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2943 | as: SampleType<HKStateOfMind>.self,
2944 | default: .init(HKSampleType.stateOfMindType(), variant: .other)
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2942:38: error: class method 'stateOfMindType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'stateOfMindType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2940 | @inlinable public static var stateOfMind: SampleType<HKStateOfMind> {
2941 | SampleTypeCache.get(
2942 | identifier: HKSampleType.stateOfMindType().identifier,
| `- error: class method 'stateOfMindType()' is internal and cannot be referenced from an '@inlinable' function
2943 | as: SampleType<HKStateOfMind>.self,
2944 | default: .init(HKSampleType.stateOfMindType(), variant: .other)
HealthKit.HKObjectType:36:21: note: class method 'stateOfMindType()' is not '@usableFromInline' or public
34 | open class func visionPrescriptionType() -> HKPrescriptionType
35 | @available(macOS 15.0, *)
36 | open class func stateOfMindType() -> HKStateOfMindType
| `- note: class method 'stateOfMindType()' is not '@usableFromInline' or public
37 | @available(macOS 13.0, *)
38 | open func requiresPerObjectAuthorization() -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2942:56: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2940 | @inlinable public static var stateOfMind: SampleType<HKStateOfMind> {
2941 | SampleTypeCache.get(
2942 | identifier: HKSampleType.stateOfMindType().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2943 | as: SampleType<HKStateOfMind>.self,
2944 | default: .init(HKSampleType.stateOfMindType(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2943:28: error: class 'HKStateOfMind' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKStateOfMind' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2941 | SampleTypeCache.get(
2942 | identifier: HKSampleType.stateOfMindType().identifier,
2943 | as: SampleType<HKStateOfMind>.self,
| `- error: class 'HKStateOfMind' is internal and cannot be referenced from an '@inlinable' function
2944 | default: .init(HKSampleType.stateOfMindType(), variant: .other)
2945 | )
HealthKit.HKStateOfMind:2:12: note: class 'HKStateOfMind' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKStateOfMind : HKSample, NSSecureCoding, NSCopying, @unchecked Sendable {
| `- note: class 'HKStateOfMind' is not '@usableFromInline' or public
3 | open var kind: HKStateOfMind.Kind { get }
4 | open var valence: Double { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2944:28: error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2942 | identifier: HKSampleType.stateOfMindType().identifier,
2943 | as: SampleType<HKStateOfMind>.self,
2944 | default: .init(HKSampleType.stateOfMindType(), variant: .other)
| `- error: class 'HKSampleType' is internal and cannot be referenced from an '@inlinable' function
2945 | )
2946 | }
HealthKit.HKSampleType:2:12: note: class 'HKSampleType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: class 'HKSampleType' is not '@usableFromInline' or public
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2944:41: error: class method 'stateOfMindType()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'stateOfMindType()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2942 | identifier: HKSampleType.stateOfMindType().identifier,
2943 | as: SampleType<HKStateOfMind>.self,
2944 | default: .init(HKSampleType.stateOfMindType(), variant: .other)
| `- error: class method 'stateOfMindType()' is internal and cannot be referenced from an '@inlinable' function
2945 | )
2946 | }
HealthKit.HKObjectType:36:21: note: class method 'stateOfMindType()' is not '@usableFromInline' or public
34 | open class func visionPrescriptionType() -> HKPrescriptionType
35 | @available(macOS 15.0, *)
36 | open class func stateOfMindType() -> HKStateOfMindType
| `- note: class method 'stateOfMindType()' is not '@usableFromInline' or public
37 | @available(macOS 13.0, *)
38 | open func requiresPerObjectAuthorization() -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2953:25: error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSeriesType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2951 | @inlinable public static var heartbeatSeries: SampleType<HKHeartbeatSeriesSample> {
2952 | SampleTypeCache.get(
2953 | identifier: HKSeriesType.heartbeat().identifier,
| `- error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
2954 | as: SampleType<HKHeartbeatSeriesSample>.self,
2955 | default: .init(HKSeriesType.heartbeat(), variant: .other)
HealthKit.HKSeriesType:2:12: note: class 'HKSeriesType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSeriesType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKSeriesType' is not '@usableFromInline' or public
3 | open class func workoutRoute() -> Self
4 | @available(swift, obsoleted: 3, renamed: "workoutRoute()")
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2953:38: error: class method 'heartbeat()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'heartbeat()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2951 | @inlinable public static var heartbeatSeries: SampleType<HKHeartbeatSeriesSample> {
2952 | SampleTypeCache.get(
2953 | identifier: HKSeriesType.heartbeat().identifier,
| `- error: class method 'heartbeat()' is internal and cannot be referenced from an '@inlinable' function
2954 | as: SampleType<HKHeartbeatSeriesSample>.self,
2955 | default: .init(HKSeriesType.heartbeat(), variant: .other)
HealthKit.HKSeriesType:7:21: note: class method 'heartbeat()' is not '@usableFromInline' or public
5 | open class func workoutRouteType() -> Self
6 | @available(macOS 13.0, *)
7 | open class func heartbeat() -> Self
| `- note: class method 'heartbeat()' is not '@usableFromInline' or public
8 | @available(macOS 13.0, *)
9 | @available(swift, obsoleted: 3, renamed: "heartbeat()")
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2953:50: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2951 | @inlinable public static var heartbeatSeries: SampleType<HKHeartbeatSeriesSample> {
2952 | SampleTypeCache.get(
2953 | identifier: HKSeriesType.heartbeat().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2954 | as: SampleType<HKHeartbeatSeriesSample>.self,
2955 | default: .init(HKSeriesType.heartbeat(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2954:28: error: class 'HKHeartbeatSeriesSample' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKHeartbeatSeriesSample' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2952 | SampleTypeCache.get(
2953 | identifier: HKSeriesType.heartbeat().identifier,
2954 | as: SampleType<HKHeartbeatSeriesSample>.self,
| `- error: class 'HKHeartbeatSeriesSample' is internal and cannot be referenced from an '@inlinable' function
2955 | default: .init(HKSeriesType.heartbeat(), variant: .other)
2956 | )
HealthKit.HKHeartbeatSeriesSample:2:12: note: class 'HKHeartbeatSeriesSample' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKHeartbeatSeriesSample : HKSeriesSample, @unchecked Sendable {
| `- note: class 'HKHeartbeatSeriesSample' is not '@usableFromInline' or public
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2955:28: error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSeriesType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2953 | identifier: HKSeriesType.heartbeat().identifier,
2954 | as: SampleType<HKHeartbeatSeriesSample>.self,
2955 | default: .init(HKSeriesType.heartbeat(), variant: .other)
| `- error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
2956 | )
2957 | }
HealthKit.HKSeriesType:2:12: note: class 'HKSeriesType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSeriesType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKSeriesType' is not '@usableFromInline' or public
3 | open class func workoutRoute() -> Self
4 | @available(swift, obsoleted: 3, renamed: "workoutRoute()")
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2955:41: error: class method 'heartbeat()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'heartbeat()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2953 | identifier: HKSeriesType.heartbeat().identifier,
2954 | as: SampleType<HKHeartbeatSeriesSample>.self,
2955 | default: .init(HKSeriesType.heartbeat(), variant: .other)
| `- error: class method 'heartbeat()' is internal and cannot be referenced from an '@inlinable' function
2956 | )
2957 | }
HealthKit.HKSeriesType:7:21: note: class method 'heartbeat()' is not '@usableFromInline' or public
5 | open class func workoutRouteType() -> Self
6 | @available(macOS 13.0, *)
7 | open class func heartbeat() -> Self
| `- note: class method 'heartbeat()' is not '@usableFromInline' or public
8 | @available(macOS 13.0, *)
9 | @available(swift, obsoleted: 3, renamed: "heartbeat()")
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2964:25: error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSeriesType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2962 | @inlinable public static var workoutRoute: SampleType<HKWorkoutRoute> {
2963 | SampleTypeCache.get(
2964 | identifier: HKSeriesType.workoutRoute().identifier,
| `- error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
2965 | as: SampleType<HKWorkoutRoute>.self,
2966 | default: .init(HKSeriesType.workoutRoute(), variant: .other)
HealthKit.HKSeriesType:2:12: note: class 'HKSeriesType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSeriesType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKSeriesType' is not '@usableFromInline' or public
3 | open class func workoutRoute() -> Self
4 | @available(swift, obsoleted: 3, renamed: "workoutRoute()")
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2964:38: error: class method 'workoutRoute()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'workoutRoute()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2962 | @inlinable public static var workoutRoute: SampleType<HKWorkoutRoute> {
2963 | SampleTypeCache.get(
2964 | identifier: HKSeriesType.workoutRoute().identifier,
| `- error: class method 'workoutRoute()' is internal and cannot be referenced from an '@inlinable' function
2965 | as: SampleType<HKWorkoutRoute>.self,
2966 | default: .init(HKSeriesType.workoutRoute(), variant: .other)
HealthKit.HKSeriesType:3:21: note: class method 'workoutRoute()' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSeriesType : HKSampleType, @unchecked Sendable {
3 | open class func workoutRoute() -> Self
| `- note: class method 'workoutRoute()' is not '@usableFromInline' or public
4 | @available(swift, obsoleted: 3, renamed: "workoutRoute()")
5 | open class func workoutRouteType() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2964:53: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2962 | @inlinable public static var workoutRoute: SampleType<HKWorkoutRoute> {
2963 | SampleTypeCache.get(
2964 | identifier: HKSeriesType.workoutRoute().identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2965 | as: SampleType<HKWorkoutRoute>.self,
2966 | default: .init(HKSeriesType.workoutRoute(), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2965:28: error: class 'HKWorkoutRoute' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKWorkoutRoute' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2963 | SampleTypeCache.get(
2964 | identifier: HKSeriesType.workoutRoute().identifier,
2965 | as: SampleType<HKWorkoutRoute>.self,
| `- error: class 'HKWorkoutRoute' is internal and cannot be referenced from an '@inlinable' function
2966 | default: .init(HKSeriesType.workoutRoute(), variant: .other)
2967 | )
HealthKit.HKWorkoutRoute:2:12: note: class 'HKWorkoutRoute' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKWorkoutRoute : HKSeriesSample, @unchecked Sendable {
| `- note: class 'HKWorkoutRoute' is not '@usableFromInline' or public
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2966:28: error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKSeriesType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2964 | identifier: HKSeriesType.workoutRoute().identifier,
2965 | as: SampleType<HKWorkoutRoute>.self,
2966 | default: .init(HKSeriesType.workoutRoute(), variant: .other)
| `- error: class 'HKSeriesType' is internal and cannot be referenced from an '@inlinable' function
2967 | )
2968 | }
HealthKit.HKSeriesType:2:12: note: class 'HKSeriesType' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSeriesType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKSeriesType' is not '@usableFromInline' or public
3 | open class func workoutRoute() -> Self
4 | @available(swift, obsoleted: 3, renamed: "workoutRoute()")
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2966:41: error: class method 'workoutRoute()' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class method 'workoutRoute()' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2964 | identifier: HKSeriesType.workoutRoute().identifier,
2965 | as: SampleType<HKWorkoutRoute>.self,
2966 | default: .init(HKSeriesType.workoutRoute(), variant: .other)
| `- error: class method 'workoutRoute()' is internal and cannot be referenced from an '@inlinable' function
2967 | )
2968 | }
HealthKit.HKSeriesType:3:21: note: class method 'workoutRoute()' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKSeriesType : HKSampleType, @unchecked Sendable {
3 | open class func workoutRoute() -> Self
| `- note: class method 'workoutRoute()' is not '@usableFromInline' or public
4 | @available(swift, obsoleted: 3, renamed: "workoutRoute()")
5 | open class func workoutRouteType() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2976:25: error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKScoredAssessmentType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2974 | @inlinable public static var gad7: SampleType<HKGAD7Assessment> {
2975 | SampleTypeCache.get(
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
| `- error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
HealthKit.HKScoredAssessmentType:2:12: note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKScoredAssessmentType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
3 | @available(*, unavailable)
4 | @available(*, unavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2976:25: error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: initializer 'init(_:)' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2974 | @inlinable public static var gad7: SampleType<HKGAD7Assessment> {
2975 | SampleTypeCache.get(
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
| `- error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
HealthKit.HKScoredAssessmentType:3:24: note: initializer 'init(_:)' is not '@usableFromInline' or public
1 | extension HKScoredAssessmentType {
2 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *)
3 | public convenience init(_ identifier: HKScoredAssessmentTypeIdentifier)
| `- note: initializer 'init(_:)' is not '@usableFromInline' or public
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2976:49: error: static property 'GAD7' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'GAD7' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2974 | @inlinable public static var gad7: SampleType<HKGAD7Assessment> {
2975 | SampleTypeCache.get(
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
| `- error: static property 'GAD7' is internal and cannot be referenced from an '@inlinable' function
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
HealthKit.HKScoredAssessmentTypeIdentifier:3:23: note: static property 'GAD7' is not '@usableFromInline' or public
1 | extension HKScoredAssessmentTypeIdentifier {
2 | @available(macOS 14.0, *)
3 | public static let GAD7: HKScoredAssessmentTypeIdentifier
| `- note: static property 'GAD7' is not '@usableFromInline' or public
4 | @available(macOS 14.0, *)
5 | public static let PHQ9: HKScoredAssessmentTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2976:55: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2974 | @inlinable public static var gad7: SampleType<HKGAD7Assessment> {
2975 | SampleTypeCache.get(
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2977:28: error: class 'HKGAD7Assessment' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKGAD7Assessment' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2975 | SampleTypeCache.get(
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
2977 | as: SampleType<HKGAD7Assessment>.self,
| `- error: class 'HKGAD7Assessment' is internal and cannot be referenced from an '@inlinable' function
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
2979 | )
HealthKit.HKGAD7Assessment:2:12: note: class 'HKGAD7Assessment' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKGAD7Assessment : HKScoredAssessment, @unchecked Sendable {
| `- note: class 'HKGAD7Assessment' is not '@usableFromInline' or public
3 | open var __answers: [NSNumber] { get }
4 | open var risk: HKGAD7Assessment.Risk { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2978:28: error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKScoredAssessmentType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
| `- error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
2979 | )
2980 | }
HealthKit.HKScoredAssessmentType:2:12: note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKScoredAssessmentType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
3 | @available(*, unavailable)
4 | @available(*, unavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2978:28: error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: initializer 'init(_:)' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
| `- error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
2979 | )
2980 | }
HealthKit.HKScoredAssessmentType:3:24: note: initializer 'init(_:)' is not '@usableFromInline' or public
1 | extension HKScoredAssessmentType {
2 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *)
3 | public convenience init(_ identifier: HKScoredAssessmentTypeIdentifier)
| `- note: initializer 'init(_:)' is not '@usableFromInline' or public
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2978:52: error: static property 'GAD7' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'GAD7' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2976 | identifier: HKScoredAssessmentType(.GAD7).identifier,
2977 | as: SampleType<HKGAD7Assessment>.self,
2978 | default: .init(HKScoredAssessmentType(.GAD7), variant: .other)
| `- error: static property 'GAD7' is internal and cannot be referenced from an '@inlinable' function
2979 | )
2980 | }
HealthKit.HKScoredAssessmentTypeIdentifier:3:23: note: static property 'GAD7' is not '@usableFromInline' or public
1 | extension HKScoredAssessmentTypeIdentifier {
2 | @available(macOS 14.0, *)
3 | public static let GAD7: HKScoredAssessmentTypeIdentifier
| `- note: static property 'GAD7' is not '@usableFromInline' or public
4 | @available(macOS 14.0, *)
5 | public static let PHQ9: HKScoredAssessmentTypeIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2988:25: error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKScoredAssessmentType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2986 | @inlinable public static var phq9: SampleType<HKPHQ9Assessment> {
2987 | SampleTypeCache.get(
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
| `- error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
HealthKit.HKScoredAssessmentType:2:12: note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKScoredAssessmentType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
3 | @available(*, unavailable)
4 | @available(*, unavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2988:25: error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: initializer 'init(_:)' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2986 | @inlinable public static var phq9: SampleType<HKPHQ9Assessment> {
2987 | SampleTypeCache.get(
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
| `- error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
HealthKit.HKScoredAssessmentType:3:24: note: initializer 'init(_:)' is not '@usableFromInline' or public
1 | extension HKScoredAssessmentType {
2 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *)
3 | public convenience init(_ identifier: HKScoredAssessmentTypeIdentifier)
| `- note: initializer 'init(_:)' is not '@usableFromInline' or public
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2988:49: error: static property 'PHQ9' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'PHQ9' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2986 | @inlinable public static var phq9: SampleType<HKPHQ9Assessment> {
2987 | SampleTypeCache.get(
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
| `- error: static property 'PHQ9' is internal and cannot be referenced from an '@inlinable' function
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
HealthKit.HKScoredAssessmentTypeIdentifier:5:23: note: static property 'PHQ9' is not '@usableFromInline' or public
3 | public static let GAD7: HKScoredAssessmentTypeIdentifier
4 | @available(macOS 14.0, *)
5 | public static let PHQ9: HKScoredAssessmentTypeIdentifier
| `- note: static property 'PHQ9' is not '@usableFromInline' or public
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2988:55: error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: property 'identifier' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2986 | @inlinable public static var phq9: SampleType<HKPHQ9Assessment> {
2987 | SampleTypeCache.get(
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
| `- error: property 'identifier' is internal and cannot be referenced from an '@inlinable' function
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
HealthKit.HKObjectType:3:14: note: property 'identifier' is not '@usableFromInline' or public
1 | @available(macOS 13.0, *)
2 | open class HKObjectType : NSObject, NSSecureCoding, NSCopying, @unchecked Sendable {
3 | open var identifier: String { get }
| `- note: property 'identifier' is not '@usableFromInline' or public
4 | @available(*, unavailable)
5 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2989:28: error: class 'HKPHQ9Assessment' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKPHQ9Assessment' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2987 | SampleTypeCache.get(
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
2989 | as: SampleType<HKPHQ9Assessment>.self,
| `- error: class 'HKPHQ9Assessment' is internal and cannot be referenced from an '@inlinable' function
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
2991 | )
HealthKit.HKPHQ9Assessment:2:12: note: class 'HKPHQ9Assessment' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKPHQ9Assessment : HKScoredAssessment, @unchecked Sendable {
| `- note: class 'HKPHQ9Assessment' is not '@usableFromInline' or public
3 | open var __answers: [NSNumber] { get }
4 | open var risk: HKPHQ9Assessment.Risk { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2990:28: error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: class 'HKScoredAssessmentType' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
| `- error: class 'HKScoredAssessmentType' is internal and cannot be referenced from an '@inlinable' function
2991 | )
2992 | }
HealthKit.HKScoredAssessmentType:2:12: note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
1 | @available(macOS 15.0, *)
2 | open class HKScoredAssessmentType : HKSampleType, @unchecked Sendable {
| `- note: class 'HKScoredAssessmentType' is not '@usableFromInline' or public
3 | @available(*, unavailable)
4 | @available(*, unavailable)
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2990:28: error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: initializer 'init(_:)' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
| `- error: initializer 'init(_:)' is internal and cannot be referenced from an '@inlinable' function
2991 | )
2992 | }
HealthKit.HKScoredAssessmentType:3:24: note: initializer 'init(_:)' is not '@usableFromInline' or public
1 | extension HKScoredAssessmentType {
2 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *)
3 | public convenience init(_ identifier: HKScoredAssessmentTypeIdentifier)
| `- note: initializer 'init(_:)' is not '@usableFromInline' or public
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypes.swift:2990:52: error: static property 'PHQ9' is internal and cannot be referenced from an '@inlinable' function
11 | // swiftlint:disable all
12 |
13 | import HealthKit
| `- note: static property 'PHQ9' imported as 'internal' from 'HealthKit' here
14 |
15 |
:
2988 | identifier: HKScoredAssessmentType(.PHQ9).identifier,
2989 | as: SampleType<HKPHQ9Assessment>.self,
2990 | default: .init(HKScoredAssessmentType(.PHQ9), variant: .other)
| `- error: static property 'PHQ9' is internal and cannot be referenced from an '@inlinable' function
2991 | )
2992 | }
HealthKit.HKScoredAssessmentTypeIdentifier:5:23: note: static property 'PHQ9' is not '@usableFromInline' or public
3 | public static let GAD7: HKScoredAssessmentTypeIdentifier
4 | @available(macOS 14.0, *)
5 | public static let PHQ9: HKScoredAssessmentTypeIdentifier
| `- note: static property 'PHQ9' is not '@usableFromInline' or public
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypesCollection.swift:61:12: error: initializer cannot be declared public because its generic parameter uses an internal type
8 |
9 | import Foundation
10 | import HealthKit
| `- note: class 'HKQuantitySample' imported as 'internal' from 'HealthKit' here
11 |
12 |
:
59 |
60 | /// Creates a new `SampleTypesCollection`, from the specified sample types
61 | public init(
| `- error: initializer cannot be declared public because its generic parameter uses an internal type
62 | quantity quantityTypes: some Collection<SampleType<HKQuantitySample>> = [],
63 | correlation correlationTypes: some Collection<SampleType<HKCorrelation>> = [],
HealthKit.HKQuantitySample:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKQuantitySample : HKSample, @unchecked Sendable {
| `- note: type declared here
3 | @NSCopying open var quantityType: HKQuantityType { get }
4 | @NSCopying open var quantity: HKQuantity { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypesCollection.swift:61:12: error: initializer cannot be declared public because its parameter uses an internal type
8 |
9 | import Foundation
10 | import HealthKit
| `- note: class 'HKQuantitySample' imported as 'internal' from 'HealthKit' here
11 |
12 |
:
59 |
60 | /// Creates a new `SampleTypesCollection`, from the specified sample types
61 | public init(
| |- error: initializer cannot be declared public because its parameter uses an internal type
| `- note: class 'HKQuantitySample' is imported by this file as 'internal' from 'HealthKit'
62 | quantity quantityTypes: some Collection<SampleType<HKQuantitySample>> = [],
63 | correlation correlationTypes: some Collection<SampleType<HKCorrelation>> = [],
HealthKit.HKQuantitySample:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKQuantitySample : HKSample, @unchecked Sendable {
| `- note: type declared here
3 | @NSCopying open var quantityType: HKQuantityType { get }
4 | @NSCopying open var quantity: HKQuantity { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypesCollection.swift:78:16: error: property cannot be declared public because its type uses an internal type
8 |
9 | import Foundation
10 | import HealthKit
| `- note: class 'HKQuantitySample' imported as 'internal' from 'HealthKit' here
11 |
12 |
:
76 | extension SampleTypesCollection {
77 | /// The contained quantity types
78 | public var quantityTypes: [SampleType<HKQuantitySample>] {
| |- error: property cannot be declared public because its type uses an internal type
| `- note: class 'HKQuantitySample' is imported by this file as 'internal' from 'HealthKit'
79 | storage.compactMap { $0.underlyingSampleType as? SampleType<_> }
80 | }
HealthKit.HKQuantitySample:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKQuantitySample : HKSample, @unchecked Sendable {
| `- note: type declared here
3 | @NSCopying open var quantityType: HKQuantityType { get }
4 | @NSCopying open var quantity: HKQuantity { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypesCollection.swift:83:16: error: property cannot be declared public because its type uses an internal type
8 |
9 | import Foundation
10 | import HealthKit
| `- note: class 'HKCorrelation' imported as 'internal' from 'HealthKit' here
11 |
12 |
:
81 |
82 | /// The contained correlation types
83 | public var correlationTypes: [SampleType<HKCorrelation>] {
| |- error: property cannot be declared public because its type uses an internal type
| `- note: class 'HKCorrelation' is imported by this file as 'internal' from 'HealthKit'
84 | storage.compactMap { $0.underlyingSampleType as? SampleType<_> }
85 | }
HealthKit.HKCorrelation:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCorrelation : HKSample, @unchecked Sendable {
| `- note: type declared here
3 | open var correlationType: HKCorrelationType { get }
4 | open var objects: Set<HKSample> { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/SampleTypesCollection.swift:88:16: error: property cannot be declared public because its type uses an internal type
8 |
9 | import Foundation
10 | import HealthKit
| `- note: class 'HKCategorySample' imported as 'internal' from 'HealthKit' here
11 |
12 |
:
86 |
87 | /// The contained category types
88 | public var categoryTypes: [SampleType<HKCategorySample>] {
| |- error: property cannot be declared public because its type uses an internal type
| `- note: class 'HKCategorySample' is imported by this file as 'internal' from 'HealthKit'
89 | storage.compactMap { $0.underlyingSampleType as? SampleType<_> }
90 | }
HealthKit.HKCategorySample:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategorySample : HKSample, @unchecked Sendable {
| `- note: type declared here
3 | open var categoryType: HKCategoryType { get }
4 | open var value: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:27:17: error: public protocol cannot refine an internal class
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: class 'HKSampleType' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
25 |
26 | /// Associates a `HKSampleType` subclass with its corresponding identifier type.
27 | public protocol _HKSampleTypeWithIdentifierType: HKSampleType {
| |- error: public protocol cannot refine an internal class
| `- note: class 'HKSampleType' is imported by this file as 'internal' from 'HealthKit'
28 | associatedtype _Identifier: _HKSampleTypeIdentifierType
29 | }
HealthKit.HKSampleType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKSampleType : HKObjectType, @unchecked Sendable {
| `- note: type declared here
3 | @available(macOS 13.0, *)
4 | open var isMaximumDurationRestricted: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:33:22: error: type alias cannot be declared public because its underlying type uses an internal type
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: struct 'HKQuantityTypeIdentifier' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
31 |
32 | extension HKQuantityType: _HKSampleTypeWithIdentifierType {
33 | public typealias _Identifier = HKQuantityTypeIdentifier
| |- error: type alias cannot be declared public because its underlying type uses an internal type
| `- note: struct 'HKQuantityTypeIdentifier' is imported by this file as 'internal' from 'HealthKit'
34 | }
35 |
HealthKit.HKQuantityTypeIdentifier:1:15: note: type declared here
1 | public struct HKQuantityTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
| `- note: type declared here
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:32:11: error: cannot use class 'HKQuantityType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: class 'HKQuantityType' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
30 |
31 |
32 | extension HKQuantityType: _HKSampleTypeWithIdentifierType {
| `- error: cannot use class 'HKQuantityType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
33 | public typealias _Identifier = HKQuantityTypeIdentifier
34 | }
HealthKit.HKQuantityType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKQuantityType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | open var aggregationStyle: HKQuantityAggregationStyle { get }
4 | open func `is`(compatibleWith unit: HKUnit) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:37:22: error: type alias cannot be declared public because its underlying type uses an internal type
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: struct 'HKCorrelationTypeIdentifier' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
35 |
36 | extension HKCorrelationType: _HKSampleTypeWithIdentifierType {
37 | public typealias _Identifier = HKCorrelationTypeIdentifier
| |- error: type alias cannot be declared public because its underlying type uses an internal type
| `- note: struct 'HKCorrelationTypeIdentifier' is imported by this file as 'internal' from 'HealthKit'
38 | }
39 |
HealthKit.HKCorrelationTypeIdentifier:1:15: note: type declared here
1 | public struct HKCorrelationTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
| `- note: type declared here
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:36:11: error: cannot use class 'HKCorrelationType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: class 'HKCorrelationType' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
34 | }
35 |
36 | extension HKCorrelationType: _HKSampleTypeWithIdentifierType {
| `- error: cannot use class 'HKCorrelationType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
37 | public typealias _Identifier = HKCorrelationTypeIdentifier
38 | }
HealthKit.HKCorrelationType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCorrelationType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:41:22: error: type alias cannot be declared public because its underlying type uses an internal type
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: struct 'HKCategoryTypeIdentifier' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
39 |
40 | extension HKCategoryType: _HKSampleTypeWithIdentifierType {
41 | public typealias _Identifier = HKCategoryTypeIdentifier
| |- error: type alias cannot be declared public because its underlying type uses an internal type
| `- note: struct 'HKCategoryTypeIdentifier' is imported by this file as 'internal' from 'HealthKit'
42 | }
43 |
HealthKit.HKCategoryTypeIdentifier:1:15: note: type declared here
1 | public struct HKCategoryTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
| `- note: type declared here
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:40:11: error: cannot use class 'HKCategoryType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: class 'HKCategoryType' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
38 | }
39 |
40 | extension HKCategoryType: _HKSampleTypeWithIdentifierType {
| `- error: cannot use class 'HKCategoryType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
41 | public typealias _Identifier = HKCategoryTypeIdentifier
42 | }
HealthKit.HKCategoryType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKCategoryType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:45:22: error: type alias cannot be declared public because its underlying type uses an internal type
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: struct 'HKClinicalTypeIdentifier' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
43 |
44 | extension HKClinicalType: _HKSampleTypeWithIdentifierType {
45 | public typealias _Identifier = HKClinicalTypeIdentifier
| |- error: type alias cannot be declared public because its underlying type uses an internal type
| `- note: struct 'HKClinicalTypeIdentifier' is imported by this file as 'internal' from 'HealthKit'
46 | }
47 |
HealthKit.HKClinicalTypeIdentifier:2:15: note: type declared here
1 | @available(macOS 13.0, *)
2 | public struct HKClinicalTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
| `- note: type declared here
3 | public init(rawValue: String)
4 | public var rawValue: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:44:11: error: cannot use class 'HKClinicalType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: class 'HKClinicalType' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
42 | }
43 |
44 | extension HKClinicalType: _HKSampleTypeWithIdentifierType {
| `- error: cannot use class 'HKClinicalType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
45 | public typealias _Identifier = HKClinicalTypeIdentifier
46 | }
HealthKit.HKClinicalType:2:12: note: type declared here
1 | @available(macOS 13.0, *)
2 | open class HKClinicalType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | public init()
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:50:22: error: type alias cannot be declared public because its underlying type uses an internal type
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: struct 'HKScoredAssessmentTypeIdentifier' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
48 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *)
49 | extension HKScoredAssessmentType: _HKSampleTypeWithIdentifierType {
50 | public typealias _Identifier = HKScoredAssessmentTypeIdentifier
| |- error: type alias cannot be declared public because its underlying type uses an internal type
| `- note: struct 'HKScoredAssessmentTypeIdentifier' is imported by this file as 'internal' from 'HealthKit'
51 | }
52 |
HealthKit.HKScoredAssessmentTypeIdentifier:1:15: note: type declared here
1 | public struct HKScoredAssessmentTypeIdentifier : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable {
| `- note: type declared here
2 | public init(rawValue: String)
3 | public var rawValue: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SpeziHealthKit/Sample Types/_HKSampleTypeWithIdentifierType.swift:49:11: error: cannot use class 'HKScoredAssessmentType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
9 | // swiftlint:disable type_name
10 |
11 | import HealthKit
| `- note: class 'HKScoredAssessmentType' imported as 'internal' from 'HealthKit' here
12 |
13 |
:
47 |
48 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *)
49 | extension HKScoredAssessmentType: _HKSampleTypeWithIdentifierType {
| `- error: cannot use class 'HKScoredAssessmentType' in an extension with public or '@usableFromInline' members; 'HealthKit' was not imported publicly
50 | public typealias _Identifier = HKScoredAssessmentTypeIdentifier
51 | }
HealthKit.HKScoredAssessmentType:2:12: note: type declared here
1 | @available(macOS 15.0, *)
2 | open class HKScoredAssessmentType : HKSampleType, @unchecked Sendable {
| `- note: type declared here
3 | @available(*, unavailable)
4 | @available(*, unavailable)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/1653] Fetching spezistorage
[68/7638] Fetching spezistorage, swift-algorithms
[308/9388] Fetching spezistorage, swift-algorithms, spezifoundation
[411/19008] Fetching spezistorage, swift-algorithms, spezifoundation, spezi
[1024/34934] Fetching spezistorage, swift-algorithms, spezifoundation, spezi, swift-argument-parser
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.20s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.20s)
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (1.20s)
[1/15367] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.07s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (3.07s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.49s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.21s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.1 (0.58s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.80s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.58s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.4.1 (0.61s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.43s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.9.2 (0.61s)
Fetching https://github.com/apple/swift-collections.git
[1/17453] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.43s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.6 (0.43s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
[4599/76511] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.27s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.27s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.43s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5499] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.58s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.62s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.44s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.9.2
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.6
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
BUILD FAILURE 6.0 macosSpm