Build Information
Failed to build HealthKitOnFhir, reference master (82f005
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 19:57:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/healthkit-on-fhir.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/healthkit-on-fhir
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 82f0057 Added documentation for SMART on FHIR Proxy (#21)
Cloned https://github.com/microsoft/healthkit-on-fhir.git
Revision (git rev-parse @):
82f005714c89f90b7d30b7e74e2417b241be75b7
SUCCESS checkout https://github.com/microsoft/healthkit-on-fhir.git at master
Fetching https://github.com/microsoft/health-data-sync
Fetching https://github.com/smart-on-fhir/Swift-FHIR
Fetching https://github.com/microsoft/iomt-fhir-client
Fetching https://github.com/microsoft/healthkit-to-fhir
[1/79] Fetching health-data-sync
[16/18168] Fetching health-data-sync, swift-fhir
[17/18338] Fetching health-data-sync, swift-fhir, healthkit-to-fhir
[55/18420] Fetching health-data-sync, swift-fhir, healthkit-to-fhir, iomt-fhir-client
Fetched https://github.com/microsoft/healthkit-to-fhir from cache (1.77s)
Fetched https://github.com/microsoft/health-data-sync from cache (1.77s)
Fetched https://github.com/smart-on-fhir/Swift-FHIR from cache (1.77s)
Fetched https://github.com/microsoft/iomt-fhir-client from cache (1.77s)
Computing version for https://github.com/microsoft/healthkit-to-fhir
Computed https://github.com/microsoft/healthkit-to-fhir at 1.0.2 (0.59s)
Computing version for https://github.com/microsoft/health-data-sync
Computed https://github.com/microsoft/health-data-sync at 1.0.0 (0.57s)
Computing version for https://github.com/microsoft/iomt-fhir-client
Computed https://github.com/microsoft/iomt-fhir-client at 1.0.0 (0.57s)
Computing version for https://github.com/smart-on-fhir/Swift-FHIR
Computed https://github.com/smart-on-fhir/Swift-FHIR at 4.2.1 (0.60s)
Creating working copy for https://github.com/smart-on-fhir/Swift-FHIR
Working copy of https://github.com/smart-on-fhir/Swift-FHIR resolved at 4.2.1
Creating working copy for https://github.com/microsoft/healthkit-to-fhir
Working copy of https://github.com/microsoft/healthkit-to-fhir resolved at 1.0.2
Creating working copy for https://github.com/microsoft/iomt-fhir-client
Working copy of https://github.com/microsoft/iomt-fhir-client resolved at 1.0.0
Creating working copy for https://github.com/microsoft/health-data-sync
Working copy of https://github.com/microsoft/health-data-sync resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "healthkit-on-fhir",
"name": "HealthKitOnFhir",
"url": "https://github.com/microsoft/healthkit-on-fhir.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/healthkit-on-fhir",
"dependencies": [
{
"identity": "swift-fhir",
"name": "FHIR",
"url": "https://github.com/smart-on-fhir/Swift-FHIR",
"version": "4.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-FHIR",
"dependencies": [
]
},
{
"identity": "iomt-fhir-client",
"name": "IomtFhirClient",
"url": "https://github.com/microsoft/iomt-fhir-client",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iomt-fhir-client",
"dependencies": [
]
},
{
"identity": "health-data-sync",
"name": "HealthDataSync",
"url": "https://github.com/microsoft/health-data-sync",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/health-data-sync",
"dependencies": [
]
},
{
"identity": "healthkit-to-fhir",
"name": "HealthKitToFhir",
"url": "https://github.com/microsoft/healthkit-to-fhir",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/healthkit-to-fhir",
"dependencies": [
{
"identity": "swift-fhir",
"name": "FHIR",
"url": "https://github.com/smart-on-fhir/Swift-FHIR",
"version": "4.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-FHIR",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/microsoft/healthkit-on-fhir.git
[1/1060] Fetching healthkit-on-fhir
Fetched https://github.com/microsoft/healthkit-on-fhir.git from cache (0.98s)
Fetching https://github.com/microsoft/iomt-fhir-client from cache
Fetching https://github.com/microsoft/healthkit-to-fhir from cache
Fetching https://github.com/smart-on-fhir/Swift-FHIR from cache
Fetching https://github.com/microsoft/health-data-sync from cache
Fetched https://github.com/microsoft/healthkit-to-fhir from cache (0.52s)
Fetched https://github.com/microsoft/iomt-fhir-client from cache (0.52s)
Fetched https://github.com/microsoft/health-data-sync from cache (0.52s)
Fetched https://github.com/smart-on-fhir/Swift-FHIR from cache (0.52s)
Computing version for https://github.com/microsoft/health-data-sync
Computed https://github.com/microsoft/health-data-sync at 1.0.0 (0.02s)
Computing version for https://github.com/microsoft/iomt-fhir-client
Computed https://github.com/microsoft/iomt-fhir-client at 1.0.0 (0.02s)
Computing version for https://github.com/microsoft/healthkit-to-fhir
Computed https://github.com/microsoft/healthkit-to-fhir at 1.0.3 (0.02s)
Computing version for https://github.com/smart-on-fhir/Swift-FHIR
Computed https://github.com/smart-on-fhir/Swift-FHIR at 4.2.1 (0.02s)
Creating working copy for https://github.com/microsoft/health-data-sync
Working copy of https://github.com/microsoft/health-data-sync resolved at 1.0.0
Creating working copy for https://github.com/microsoft/iomt-fhir-client
Working copy of https://github.com/microsoft/iomt-fhir-client resolved at 1.0.0
Creating working copy for https://github.com/smart-on-fhir/Swift-FHIR
Working copy of https://github.com/smart-on-fhir/Swift-FHIR resolved at 4.2.1
Creating working copy for https://github.com/microsoft/healthkit-on-fhir.git
Working copy of https://github.com/microsoft/healthkit-on-fhir.git resolved at master (82f0057)
Creating working copy for https://github.com/microsoft/healthkit-to-fhir
Working copy of https://github.com/microsoft/healthkit-to-fhir resolved at 1.0.3
warning: '.resolve-product-dependencies': dependency 'healthkit-on-fhir' is not used by any target
Found 4 product dependencies
- FHIR
- IomtFhirClient
- HealthDataSync
- HealthKitToFhir
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/microsoft/healthkit-on-fhir.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/242] Compiling Models ContactPoint.swift
[10/242] Compiling Models Contract.swift
[11/242] Compiling Models Consent.swift
[12/242] Compiling Models ContactDetail.swift
[13/244] Compiling Models Communication.swift
[14/244] Compiling Models CommunicationRequest.swift
[15/244] Compiling Models CompartmentDefinition.swift
[16/244] Compiling Models Composition.swift
[17/244] Compiling Models ConceptMap.swift
[18/244] Compiling Models Condition.swift
[19/244] Emitting module IomtFhirClient
[20/244] Compiling Models Contributor.swift
[21/244] Compiling Models Count.swift
[22/244] Compiling Models Coverage.swift
[23/244] Compiling Models ParameterDefinition.swift
[24/244] Compiling Models ClaimResponse.swift
[25/244] Compiling Models ClinicalImpression.swift
[26/244] Compiling Models CodeSystem.swift
[27/244] Compiling Models ChargeItem.swift
[28/244] Compiling Models ChargeItemDefinition.swift
[29/244] Compiling Models Claim.swift
[30/244] Compiling Models CodeSystems.swift
[31/244] Compiling Models CodeableConcept.swift
[32/244] Compiling Models Coding.swift
[33/244] Compiling IomtFhirClient TokenScope.swift
[34/244] Compiling IomtFhirClient TransportType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/244] Compiling HealthDataSync HDSObjectSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:32: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
14 | open var unitsDictionary: [HKQuantityType : HKUnit]?
| `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
15 | public var converter: HDSConverterProtocol?
16 | private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:49: error: 'HKUnit' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
14 | open var unitsDictionary: [HKQuantityType : HKUnit]?
| `- error: 'HKUnit' is only available in macOS 13.0 or newer
15 | public var converter: HDSConverterProtocol?
16 | private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:15:27: error: cannot find type 'HDSConverterProtocol' in scope
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
14 | open var unitsDictionary: [HKQuantityType : HKUnit]?
15 | public var converter: HDSConverterProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
16 | private let store: HDSStoreProxyProtocol
17 | private let externalObjectStore: HDSExternalStoreProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:37: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
26 | }
27 |
28 | open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
29 | {
30 | // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:66: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
26 | }
27 |
28 | open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
29 | {
30 | // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:57:42: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
55 | }
56 |
57 | private func delete(deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
58 | {
59 | guard let deleted = deletedObjects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:84:43: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
82 | }
83 |
84 | private func createOrUpdate(objects: [HKObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
85 | {
86 | guard let createOrUpdateObjects = objects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:122:41: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
120 | }
121 |
122 | private func applyUpdates(objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
123 | {
124 | if let externalObjects = self.externalObjects(from: objects, existingObjects: existingObjects)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:169:49: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
167 | }
168 |
169 | private func externalObjects(from objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?) -> (add: [HDSExternalObjectProtocol], update: [HDSExternalObjectProtocol])?
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
170 | {
171 | var add = [HDSExternalObjectProtocol]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:40: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
206 |
207 | // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 | open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
209 | {
210 | completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:69: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
206 |
207 | // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 | open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
209 | {
210 | completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:15:20: error: cannot find type 'HDSConverterProtocol' in scope
13 |
14 | /// A custom converter that handles the conversion of HealthKit types.
15 | var converter: HDSConverterProtocol? { get set }
| `- error: cannot find type 'HDSConverterProtocol' in scope
16 |
17 | /// The external object type the used by the synchronizer to convert HealthKit objects to a format compatible with the external store.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:13:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
| `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
14 |
15 | public init(store: HKHealthStore)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:15:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
14 |
15 | public init(store: HKHealthStore)
| | `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing initializer
16 | {
17 | self.store = store;
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:47: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
23 | }
24 |
25 | public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
26 | {
27 | return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:64: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
23 | }
24 |
25 | public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
26 | {
27 | return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:64: error: 'HKSampleType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
28 | }
29 |
30 | public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKSampleType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
31 | {
32 | self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:102: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
28 | }
29 |
30 | public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
31 | {
32 | self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:35:34: error: 'HKQuery' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
33 | }
34 |
35 | public func execute(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
36 | {
37 | self.store.execute(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:40:31: error: 'HKQuery' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
38 | }
39 |
40 | public func stop(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
41 | {
42 | self.store.stop(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:52: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
43 | }
44 |
45 | public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:77: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
43 | }
44 |
45 | public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:54:53: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
52 | }
53 |
54 | public func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
55 | {
56 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:55: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:96: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:113: error: 'HKUnit' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:22:16: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
18 | }
19 |
20 | public func isHealthDataAvailable() -> Bool
| `- note: add @available attribute to enclosing instance method
21 | {
22 | return HKHealthStore.isHealthDataAvailable()
| |- error: 'HKHealthStore' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:50:27: error: cannot find 'HealthKitError' in scope
48 | self.store.enableBackgroundDelivery(for: type, frequency: frequency, withCompletion: completion)
49 | #else
50 | completion(false, HealthKitError.notSupported)
| `- error: cannot find 'HealthKitError' in scope
51 | #endif
52 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:59:27: error: cannot find 'HealthKitError' in scope
57 | self.store.disableBackgroundDelivery(for: type, withCompletion: completion)
58 | #else
59 | completion(false, HealthKitError.notSupported)
| `- error: cannot find 'HealthKitError' in scope
60 | #endif
61 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:68:27: error: cannot find 'HealthKitError' in scope
66 | self.store.disableAllBackgroundDelivery(completion: completion)
67 | #else
68 | completion(false, HealthKitError.notSupported)
| `- error: cannot find 'HealthKitError' in scope
69 | #endif
70 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:74:20: error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
| |- error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:40: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
25 | @abstract Returns the application's authorization status for the given object type.
26 | */
27 | func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:57: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
25 | @abstract Returns the application's authorization status for the given object type.
26 | */
27 | func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:57: error: 'HKSampleType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
40 | granted authorization.
41 | */
42 | func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKSampleType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
43 |
44 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:95: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
40 | granted authorization.
41 | */
42 | func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
43 |
44 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:58:27: error: 'HKQuery' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
56 | authorization to access objects of that type before executing the query.
57 | */
58 | func execute(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
59 |
60 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:66:24: error: 'HKQuery' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
64 | query is already stopped, this method does nothing.
65 | */
66 | func stop(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
67 |
68 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:45: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
75 | transparently to the caller.
76 | */
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:70: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
75 | transparently to the caller.
76 | */
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:79:46: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
80 |
81 | func disableAllBackgroundDelivery(completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:48: error: 'HKQuantityType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:89: error: 'HKQuantityType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:106: error: 'HKUnit' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:13:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
| `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
14 |
15 | public init(store: HKHealthStore)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:15:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
14 |
15 | public init(store: HKHealthStore)
| | `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing initializer
16 | {
17 | self.store = store;
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:47: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
23 | }
24 |
25 | public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
26 | {
27 | return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:64: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
23 | }
24 |
25 | public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
26 | {
27 | return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:64: error: 'HKSampleType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
28 | }
29 |
30 | public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKSampleType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
31 | {
32 | self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:102: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
28 | }
29 |
30 | public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
31 | {
32 | self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:35:34: error: 'HKQuery' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
33 | }
34 |
35 | public func execute(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
36 | {
37 | self.store.execute(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:40:31: error: 'HKQuery' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
38 | }
39 |
40 | public func stop(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
41 | {
42 | self.store.stop(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:52: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
43 | }
44 |
45 | public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:77: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
43 | }
44 |
45 | public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:54:53: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
52 | }
53 |
54 | public func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
55 | {
56 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:55: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:96: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:113: error: 'HKUnit' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:22:16: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
18 | }
19 |
20 | public func isHealthDataAvailable() -> Bool
| `- note: add @available attribute to enclosing instance method
21 | {
22 | return HKHealthStore.isHealthDataAvailable()
| |- error: 'HKHealthStore' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:50:27: error: cannot find 'HealthKitError' in scope
48 | self.store.enableBackgroundDelivery(for: type, frequency: frequency, withCompletion: completion)
49 | #else
50 | completion(false, HealthKitError.notSupported)
| `- error: cannot find 'HealthKitError' in scope
51 | #endif
52 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:59:27: error: cannot find 'HealthKitError' in scope
57 | self.store.disableBackgroundDelivery(for: type, withCompletion: completion)
58 | #else
59 | completion(false, HealthKitError.notSupported)
| `- error: cannot find 'HealthKitError' in scope
60 | #endif
61 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:68:27: error: cannot find 'HealthKitError' in scope
66 | self.store.disableAllBackgroundDelivery(completion: completion)
67 | #else
68 | completion(false, HealthKitError.notSupported)
| `- error: cannot find 'HealthKitError' in scope
69 | #endif
70 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:74:20: error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
| |- error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:40: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
25 | @abstract Returns the application's authorization status for the given object type.
26 | */
27 | func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:57: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
25 | @abstract Returns the application's authorization status for the given object type.
26 | */
27 | func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:57: error: 'HKSampleType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
40 | granted authorization.
41 | */
42 | func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKSampleType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
43 |
44 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:95: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
40 | granted authorization.
41 | */
42 | func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
43 |
44 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:58:27: error: 'HKQuery' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
56 | authorization to access objects of that type before executing the query.
57 | */
58 | func execute(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
59 |
60 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:66:24: error: 'HKQuery' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
64 | query is already stopped, this method does nothing.
65 | */
66 | func stop(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
67 |
68 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:45: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
75 | transparently to the caller.
76 | */
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:70: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
75 | transparently to the caller.
76 | */
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:79:46: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
80 |
81 | func disableAllBackgroundDelivery(completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:48: error: 'HKQuantityType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:89: error: 'HKQuantityType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:106: error: 'HKUnit' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
[48/244] Emitting module HealthDataSync
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:17:34: error: cannot find type 'HDSQueryObserver' in scope
15 | /// - Parameter observer: The HDSQueryObserver that was notified of changes.
16 | /// - Returns: The number of changes that should be included in the query result. (If nil, the default value of 25 will be used.
17 | func batchSize(for observer: HDSQueryObserver) -> Int?
| `- error: cannot find type 'HDSQueryObserver' in scope
18 |
19 | /// Will be called when the HDSQueryObserver is notified of changes relating to the query, before the execution of the anchored query.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:24:38: error: cannot find type 'HDSQueryObserver' in scope
22 | /// - observer: The HDSQueryObserver that was notified of changes.
23 | /// - completion: Must be called to start the execution of the anchored query and subsequent synchronization with the external store. Return true to start the execution and false to cancel.
24 | func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
| `- error: cannot find type 'HDSQueryObserver' in scope
25 |
26 | /// Will be called after execution of the anchor query AND synchronization with the external store has completed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:31:43: error: cannot find type 'HDSQueryObserver' in scope
29 | /// - observer: The HDSQueryObserver that finished execution.
30 | /// - error: An Error providing data on an execution or synchronization failure (error will be nil if the process completed successfully).
31 | func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
| `- error: cannot find type 'HDSQueryObserver' in scope
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:36:34: error: cannot find type 'HDSQueryObserver' in scope
34 | public extension HDSQueryObserverDelegate
35 | {
36 | func batchSize(for observer: HDSQueryObserver) -> Int?
| `- error: cannot find type 'HDSQueryObserver' in scope
37 | {
38 | return Constants.defaultBatchSize
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:41:38: error: cannot find type 'HDSQueryObserver' in scope
39 | }
40 |
41 | func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
| `- error: cannot find type 'HDSQueryObserver' in scope
42 | {
43 | completion(true)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:46:43: error: cannot find type 'HDSQueryObserver' in scope
44 | }
45 |
46 | func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
| `- error: cannot find type 'HDSQueryObserver' in scope
47 | {
48 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:21:85: error: cannot find type 'HDSQueryObserver' in scope
19 | }
20 |
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
| `- error: cannot find type 'HDSQueryObserver' in scope
22 | {
23 | var observers = [HDSQueryObserver]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:13:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
| `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
14 |
15 | public init(store: HKHealthStore)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:15:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
14 |
15 | public init(store: HKHealthStore)
| | `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing initializer
16 | {
17 | self.store = store;
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:47: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
23 | }
24 |
25 | public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
26 | {
27 | return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:64: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
23 | }
24 |
25 | public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
26 | {
27 | return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:64: error: 'HKSampleType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
28 | }
29 |
30 | public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKSampleType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
31 | {
32 | self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:102: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
28 | }
29 |
30 | public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
31 | {
32 | self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:35:34: error: 'HKQuery' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
33 | }
34 |
35 | public func execute(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
36 | {
37 | self.store.execute(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:40:31: error: 'HKQuery' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
38 | }
39 |
40 | public func stop(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
41 | {
42 | self.store.stop(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:52: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
43 | }
44 |
45 | public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:77: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
43 | }
44 |
45 | public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:54:53: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
52 | }
53 |
54 | public func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
55 | {
56 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:55: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:96: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:113: error: 'HKUnit' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | private var store: HKHealthStore
:
70 | }
71 |
72 | public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
| | `- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
73 | {
74 | self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:40: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
25 | @abstract Returns the application's authorization status for the given object type.
26 | */
27 | func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:57: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
25 | @abstract Returns the application's authorization status for the given object type.
26 | */
27 | func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
| | `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:57: error: 'HKSampleType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
40 | granted authorization.
41 | */
42 | func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKSampleType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
43 |
44 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:95: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
40 | granted authorization.
41 | */
42 | func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
43 |
44 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:58:27: error: 'HKQuery' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
56 | authorization to access objects of that type before executing the query.
57 | */
58 | func execute(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
59 |
60 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:66:24: error: 'HKQuery' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
64 | query is already stopped, this method does nothing.
65 | */
66 | func stop(_ query: HKQuery)
| | `- error: 'HKQuery' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
67 |
68 | /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:45: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
75 | transparently to the caller.
76 | */
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:70: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
75 | transparently to the caller.
76 | */
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:79:46: error: 'HKObjectType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
77 | func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
78 |
79 | func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
80 |
81 | func disableAllBackgroundDelivery(completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:48: error: 'HKQuantityType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:89: error: 'HKQuantityType' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:106: error: 'HKUnit' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 8.0, watchOS 2.0, *)
12 | public protocol HDSStoreProxyProtocol
| `- note: add @available attribute to enclosing protocol
13 | {
14 | /*!
:
96 | */
97 | @available(iOS 8.2, watchOS 2.0, *)
98 | func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
| | `- error: 'HKUnit' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:21:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
19 | /// In some cases (e.g. blood pressure) a user must authorize each component of blood pressure separately (systolic, diastolic, and heart rate),
20 | /// but the query will be a single correlation type
21 | static func authorizationTypes() -> [HKObjectType]?
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
22 |
23 | /// The HealthKit object type used to query HealthKit.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:24:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
22 |
23 | /// The HealthKit object type used to query HealthKit.
24 | static func healthKitObjectType() -> HKObjectType?
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
25 |
26 | /// Creates a new External Object populated with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:40: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:47: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:45:30: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
43 | ///
44 | /// - Parameter object: An HKObject containing data to be copied to the External Object.
45 | func update(with object: HKObject)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:32: error: 'HKQuantityType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
14 | open var unitsDictionary: [HKQuantityType : HKUnit]?
| `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
15 | public var converter: HDSConverterProtocol?
16 | private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:49: error: 'HKUnit' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
14 | open var unitsDictionary: [HKQuantityType : HKUnit]?
| `- error: 'HKUnit' is only available in macOS 13.0 or newer
15 | public var converter: HDSConverterProtocol?
16 | private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:15:27: error: cannot find type 'HDSConverterProtocol' in scope
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
14 | open var unitsDictionary: [HKQuantityType : HKUnit]?
15 | public var converter: HDSConverterProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
16 | private let store: HDSStoreProxyProtocol
17 | private let externalObjectStore: HDSExternalStoreProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:37: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
26 | }
27 |
28 | open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
29 | {
30 | // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:66: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
26 | }
27 |
28 | open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
29 | {
30 | // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:57:42: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
55 | }
56 |
57 | private func delete(deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
58 | {
59 | guard let deleted = deletedObjects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:84:43: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
82 | }
83 |
84 | private func createOrUpdate(objects: [HKObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
85 | {
86 | guard let createOrUpdateObjects = objects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:122:41: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
120 | }
121 |
122 | private func applyUpdates(objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
123 | {
124 | if let externalObjects = self.externalObjects(from: objects, existingObjects: existingObjects)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:169:49: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
167 | }
168 |
169 | private func externalObjects(from objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?) -> (add: [HDSExternalObjectProtocol], update: [HDSExternalObjectProtocol])?
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
170 | {
171 | var add = [HDSExternalObjectProtocol]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:40: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
206 |
207 | // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 | open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
209 | {
210 | completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:69: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing class
12 | {
13 | open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
:
206 |
207 | // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 | open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
209 | {
210 | completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:15:20: error: cannot find type 'HDSConverterProtocol' in scope
13 |
14 | /// A custom converter that handles the conversion of HealthKit types.
15 | var converter: HDSConverterProtocol? { get set }
| `- error: cannot find type 'HDSConverterProtocol' in scope
16 |
17 | /// The external object type the used by the synchronizer to convert HealthKit objects to a format compatible with the external store.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:32: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
24 | /// - deletedObjects: HealthKit objects to be deleted.
25 | /// - completion: Envoked when the synchronization process completed.
26 | func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:61: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
24 | /// - deletedObjects: HealthKit objects to be deleted.
25 | /// - completion: Envoked when the synchronization process completed.
26 | func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:17:34: error: cannot find type 'HDSQueryObserver' in scope
15 | /// - Parameter observer: The HDSQueryObserver that was notified of changes.
16 | /// - Returns: The number of changes that should be included in the query result. (If nil, the default value of 25 will be used.
17 | func batchSize(for observer: HDSQueryObserver) -> Int?
| `- error: cannot find type 'HDSQueryObserver' in scope
18 |
19 | /// Will be called when the HDSQueryObserver is notified of changes relating to the query, before the execution of the anchored query.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:24:38: error: cannot find type 'HDSQueryObserver' in scope
22 | /// - observer: The HDSQueryObserver that was notified of changes.
23 | /// - completion: Must be called to start the execution of the anchored query and subsequent synchronization with the external store. Return true to start the execution and false to cancel.
24 | func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
| `- error: cannot find type 'HDSQueryObserver' in scope
25 |
26 | /// Will be called after execution of the anchor query AND synchronization with the external store has completed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:31:43: error: cannot find type 'HDSQueryObserver' in scope
29 | /// - observer: The HDSQueryObserver that finished execution.
30 | /// - error: An Error providing data on an execution or synchronization failure (error will be nil if the process completed successfully).
31 | func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
| `- error: cannot find type 'HDSQueryObserver' in scope
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:36:34: error: cannot find type 'HDSQueryObserver' in scope
34 | public extension HDSQueryObserverDelegate
35 | {
36 | func batchSize(for observer: HDSQueryObserver) -> Int?
| `- error: cannot find type 'HDSQueryObserver' in scope
37 | {
38 | return Constants.defaultBatchSize
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:41:38: error: cannot find type 'HDSQueryObserver' in scope
39 | }
40 |
41 | func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
| `- error: cannot find type 'HDSQueryObserver' in scope
42 | {
43 | completion(true)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:46:43: error: cannot find type 'HDSQueryObserver' in scope
44 | }
45 |
46 | func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
| `- error: cannot find type 'HDSQueryObserver' in scope
47 | {
48 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:21:85: error: cannot find type 'HDSQueryObserver' in scope
19 | }
20 |
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
| `- error: cannot find type 'HDSQueryObserver' in scope
22 | {
23 | var observers = [HDSQueryObserver]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:26: error: cannot find 'HDSQueryObserver' in scope
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 | {
23 | var observers = [HDSQueryObserver]()
| `- error: cannot find 'HDSQueryObserver' in scope
24 |
25 | synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:25: error: cannot call value of non-function type '[Any]'
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 | {
23 | var observers = [HDSQueryObserver]()
| `- error: cannot call value of non-function type '[Any]'
24 |
25 | synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:28:32: error: cannot find 'HDSQueryObserver' in scope
26 | { (synchronizer) in
27 |
28 | let observer = HDSQueryObserver(store: self.store,
| `- error: cannot find 'HDSQueryObserver' in scope
29 | userDefaultsProxy: self.userDefaults,
30 | synchronizer:synchronizer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:17:34: error: cannot find type 'HDSQueryObserver' in scope
15 | /// - Parameter observer: The HDSQueryObserver that was notified of changes.
16 | /// - Returns: The number of changes that should be included in the query result. (If nil, the default value of 25 will be used.
17 | func batchSize(for observer: HDSQueryObserver) -> Int?
| `- error: cannot find type 'HDSQueryObserver' in scope
18 |
19 | /// Will be called when the HDSQueryObserver is notified of changes relating to the query, before the execution of the anchored query.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:24:38: error: cannot find type 'HDSQueryObserver' in scope
22 | /// - observer: The HDSQueryObserver that was notified of changes.
23 | /// - completion: Must be called to start the execution of the anchored query and subsequent synchronization with the external store. Return true to start the execution and false to cancel.
24 | func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
| `- error: cannot find type 'HDSQueryObserver' in scope
25 |
26 | /// Will be called after execution of the anchor query AND synchronization with the external store has completed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:31:43: error: cannot find type 'HDSQueryObserver' in scope
29 | /// - observer: The HDSQueryObserver that finished execution.
30 | /// - error: An Error providing data on an execution or synchronization failure (error will be nil if the process completed successfully).
31 | func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
| `- error: cannot find type 'HDSQueryObserver' in scope
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:36:34: error: cannot find type 'HDSQueryObserver' in scope
34 | public extension HDSQueryObserverDelegate
35 | {
36 | func batchSize(for observer: HDSQueryObserver) -> Int?
| `- error: cannot find type 'HDSQueryObserver' in scope
37 | {
38 | return Constants.defaultBatchSize
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:41:38: error: cannot find type 'HDSQueryObserver' in scope
39 | }
40 |
41 | func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
| `- error: cannot find type 'HDSQueryObserver' in scope
42 | {
43 | completion(true)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:46:43: error: cannot find type 'HDSQueryObserver' in scope
44 | }
45 |
46 | func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
| `- error: cannot find type 'HDSQueryObserver' in scope
47 | {
48 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:21:85: error: cannot find type 'HDSQueryObserver' in scope
19 | }
20 |
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
| `- error: cannot find type 'HDSQueryObserver' in scope
22 | {
23 | var observers = [HDSQueryObserver]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:26: error: cannot find 'HDSQueryObserver' in scope
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 | {
23 | var observers = [HDSQueryObserver]()
| `- error: cannot find 'HDSQueryObserver' in scope
24 |
25 | synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:25: error: cannot call value of non-function type '[Any]'
21 | internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 | {
23 | var observers = [HDSQueryObserver]()
| `- error: cannot call value of non-function type '[Any]'
24 |
25 | synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:28:32: error: cannot find 'HDSQueryObserver' in scope
26 | { (synchronizer) in
27 |
28 | let observer = HDSQueryObserver(store: self.store,
| `- error: cannot find 'HDSQueryObserver' in scope
29 | userDefaultsProxy: self.userDefaults,
30 | synchronizer:synchronizer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:21:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
19 | /// In some cases (e.g. blood pressure) a user must authorize each component of blood pressure separately (systolic, diastolic, and heart rate),
20 | /// but the query will be a single correlation type
21 | static func authorizationTypes() -> [HKObjectType]?
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
22 |
23 | /// The HealthKit object type used to query HealthKit.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:24:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
22 |
23 | /// The HealthKit object type used to query HealthKit.
24 | static func healthKitObjectType() -> HKObjectType?
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
25 |
26 | /// Creates a new External Object populated with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:40: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:47: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:45:30: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
43 | ///
44 | /// - Parameter object: An HKObject containing data to be copied to the External Object.
45 | func update(with object: HKObject)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:21:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
19 | /// In some cases (e.g. blood pressure) a user must authorize each component of blood pressure separately (systolic, diastolic, and heart rate),
20 | /// but the query will be a single correlation type
21 | static func authorizationTypes() -> [HKObjectType]?
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
22 |
23 | /// The HealthKit object type used to query HealthKit.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:24:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
22 |
23 | /// The HealthKit object type used to query HealthKit.
24 | static func healthKitObjectType() -> HKObjectType?
| | `- error: 'HKObjectType' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
25 |
26 | /// Creates a new External Object populated with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:40: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:47: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static method
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:45:30: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
43 | ///
44 | /// - Parameter object: An HKObject containing data to be copied to the External Object.
45 | func update(with object: HKObject)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
46 | }
47 |
[53/245] Compiling HealthDataSync HDSObjectSynchronizerProtocol.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:15:20: error: cannot find type 'HDSConverterProtocol' in scope
13 |
14 | /// A custom converter that handles the conversion of HealthKit types.
15 | var converter: HDSConverterProtocol? { get set }
| `- error: cannot find type 'HDSConverterProtocol' in scope
16 |
17 | /// The external object type the used by the synchronizer to convert HealthKit objects to a format compatible with the external store.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 | /// - converter: An instance of a custom converter class.
31 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 | static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 | /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 | /// - converter: An instance of a custom converter class.
39 | /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 | static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
| `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 | /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:32: error: 'HKObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
24 | /// - deletedObjects: HealthKit objects to be deleted.
25 | /// - completion: Envoked when the synchronization process completed.
26 | func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:61: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
| `- note: add @available attribute to enclosing protocol
12 | {
13 |
:
24 | /// - deletedObjects: HealthKit objects to be deleted.
25 | /// - completion: Envoked when the synchronization process completed.
26 | func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
| | `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing instance method
27 | }
28 |
BUILD FAILURE 6.0 macosSpm