Build Information
Failed to build TIM, reference 2.9.0 (5d7412
), with Swift 5.10 for macOS (SPM) on 8 Jul 2024 10:52:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.45.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/trifork/TIM-iOS.git
Reference: 2.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/trifork/TIM-iOS
* tag 2.9.0 -> FETCH_HEAD
HEAD is now at 5d74120 Merge pull request #28 from trifork/niha/external-user-agent-session
Cloned https://github.com/trifork/TIM-iOS.git
Revision (git rev-parse @):
5d74120b080178f3290e5dd9b08499218f3d3b68
SUCCESS checkout https://github.com/trifork/TIM-iOS.git at 2.9.0
Fetching https://github.com/openid/AppAuth-iOS
Fetching https://github.com/trifork/TIMEncryptedStorage-iOS
[1/472] Fetching timencryptedstorage-ios
[308/9256] Fetching timencryptedstorage-ios, appauth-ios
Fetched https://github.com/openid/AppAuth-iOS from cache (1.85s)
Fetched https://github.com/trifork/TIMEncryptedStorage-iOS from cache (1.85s)
Computing version for https://github.com/trifork/TIMEncryptedStorage-iOS
Computed https://github.com/trifork/TIMEncryptedStorage-iOS at 2.2.1 (0.62s)
Computing version for https://github.com/openid/AppAuth-iOS
Computed https://github.com/openid/AppAuth-iOS at 1.4.0 (0.60s)
Creating working copy for https://github.com/openid/AppAuth-iOS
Working copy of https://github.com/openid/AppAuth-iOS resolved at 1.4.0
Creating working copy for https://github.com/trifork/TIMEncryptedStorage-iOS
Working copy of https://github.com/trifork/TIMEncryptedStorage-iOS resolved at 2.2.1
========================================
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": "tim-ios",
"name": "TIM",
"url": "https://github.com/trifork/TIM-iOS.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TIM-iOS",
"dependencies": [
{
"identity": "appauth-ios",
"name": "AppAuth",
"url": "https://github.com/openid/AppAuth-iOS",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AppAuth-iOS",
"dependencies": [
]
},
{
"identity": "timencryptedstorage-ios",
"name": "TIMEncryptedStorage",
"url": "https://github.com/trifork/TIMEncryptedStorage-iOS",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TIMEncryptedStorage-iOS",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/trifork/TIM-iOS.git
[1/745] Fetching tim-ios
Fetched https://github.com/trifork/TIM-iOS.git from cache (0.88s)
Fetching https://github.com/openid/AppAuth-iOS from cache
Fetching https://github.com/trifork/TIMEncryptedStorage-iOS from cache
Fetched https://github.com/openid/AppAuth-iOS from cache (0.59s)
Fetched https://github.com/trifork/TIMEncryptedStorage-iOS from cache (0.59s)
Computing version for https://github.com/trifork/TIMEncryptedStorage-iOS
Computed https://github.com/trifork/TIMEncryptedStorage-iOS at 2.2.1 (0.03s)
Computing version for https://github.com/openid/AppAuth-iOS
Computed https://github.com/openid/AppAuth-iOS at 1.4.0 (0.03s)
Creating working copy for https://github.com/trifork/TIM-iOS.git
Working copy of https://github.com/trifork/TIM-iOS.git resolved at 2.9.0 (5d74120)
Creating working copy for https://github.com/openid/AppAuth-iOS
Working copy of https://github.com/openid/AppAuth-iOS resolved at 1.4.0
Creating working copy for https://github.com/trifork/TIMEncryptedStorage-iOS
Working copy of https://github.com/trifork/TIMEncryptedStorage-iOS resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'tim-ios' is not used by any target
Found 2 product dependencies
- AppAuth
- TIMEncryptedStorage
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/trifork/TIM-iOS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Write sources
[2/13] Write swift-version-33747A42983211AE.txt
[3/13] Compiling OIDExternalUserAgentCatalyst.m
[4/13] Compiling OIDAuthState+IOS.m
[5/13] Compiling OIDAuthorizationService+IOS.m
[6/33] Compiling OIDExternalUserAgentIOSCustomBrowser.m
[7/33] Compiling OIDExternalUserAgentIOS.m
[8/33] Compiling OIDAuthState+Mac.m
[9/33] Compiling OIDAuthorizationService+Mac.m
[10/33] Compiling OIDLoopbackHTTPServer.m
[11/33] Compiling OIDRedirectHTTPHandler.m
[13/33] Compiling TIMEncryptedStorage IVGenerator.swift
[14/33] Compiling TIMEncryptedStorage SecureStorageMock.swift
[15/33] Compiling TIMEncryptedStorage OSStatus+Extensions.swift
[16/33] Compiling TIMEncryptedStorage TIMKeyModel+Extensions.swift
[17/33] Compiling TIMEncryptedStorage URLSession+Extensions.swift
[18/33] Compiling TIMEncryptedStorage URLSessionMockProtocol.swift
[19/33] Compiling TIMEncryptedStorage TIMESKeyCreationResult.swift
[20/33] Compiling TIMEncryptedStorage TIMErrorModels.swift
[21/33] Compiling TIMEncryptedStorage TIMKeychainStoreItem.swift
[22/33] Compiling TIMEncryptedStorage TIMSecureStorage.swift
[23/33] Compiling TIMEncryptedStorage TIMKeyServiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:34:51: error: 'Future' is only available in macOS 10.15 or newer
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:34:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:38:68: error: 'Future' is only available in macOS 10.15 or newer
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:38:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:42:39: error: 'Future' is only available in macOS 10.15 or newer
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:42:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:28:30: error: 'biometryAny' is only available in macOS 10.13.4 or newer
biometricFlag = .biometryAny
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:28:30: note: add 'if #available' version check
biometricFlag = .biometryAny
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:25:17: note: add @available attribute to enclosing instance method
public func storeBiometricProtected(data: Data, item: TIMKeychainStorageItem) -> Result<Void, TIMSecureStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:7:20: note: add @available attribute to enclosing class
public final class TIMKeychain : TIMSecureStorage {
^
[24/33] Compiling TIMEncryptedStorage TIMKeychain.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:34:51: error: 'Future' is only available in macOS 10.15 or newer
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:34:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:38:68: error: 'Future' is only available in macOS 10.15 or newer
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:38:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:42:39: error: 'Future' is only available in macOS 10.15 or newer
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:42:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:28:30: error: 'biometryAny' is only available in macOS 10.13.4 or newer
biometricFlag = .biometryAny
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:28:30: note: add 'if #available' version check
biometricFlag = .biometryAny
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:25:17: note: add @available attribute to enclosing instance method
public func storeBiometricProtected(data: Data, item: TIMKeychainStorageItem) -> Result<Void, TIMSecureStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/Keychain/TIMKeychain.swift:7:20: note: add @available attribute to enclosing class
public final class TIMKeychain : TIMSecureStorage {
^
[25/33] Compiling TIMEncryptedStorage TIMKeyServiceModels.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:51: error: 'Future' is only available in macOS 10.15 or newer
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:68: error: 'Future' is only available in macOS 10.15 or newer
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:39: error: 'Future' is only available in macOS 10.15 or newer
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:97:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:97:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:103:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:103:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:109:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:109:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
[26/33] Compiling TIMEncryptedStorage TIMKeyService.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:51: error: 'Future' is only available in macOS 10.15 or newer
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:68: error: 'Future' is only available in macOS 10.15 or newer
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:39: error: 'Future' is only available in macOS 10.15 or newer
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:97:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:97:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:103:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:103:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:109:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:109:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
[27/35] Compiling TIMEncryptedStorage TIMESBiometricEnableResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/35] Compiling TIMEncryptedStorage TIMESEncryptionMethod.swift
[29/35] Emitting module TIMEncryptedStorage
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:51: error: 'Future' is only available in macOS 10.15 or newer
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:96:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:68: error: 'Future' is only available in macOS 10.15 or newer
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:102:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:39: error: 'Future' is only available in macOS 10.15 or newer
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:108:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyService.swift:94:8: note: add @available attribute to enclosing extension
public extension TIMKeyService {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:34:51: error: 'Future' is only available in macOS 10.15 or newer
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:34:10: note: add @available attribute to enclosing instance method
func getKey(secret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:38:68: error: 'Future' is only available in macOS 10.15 or newer
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:38:10: note: add @available attribute to enclosing instance method
func getKeyViaLongSecret(longSecret: String, keyId: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:42:39: error: 'Future' is only available in macOS 10.15 or newer
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:42:10: note: add @available attribute to enclosing instance method
func createKey(secret: String) -> Future<TIMKeyModel, TIMKeyServiceError>
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/KeyService/TIMKeyServiceProtocol.swift:10:17: note: add @available attribute to enclosing protocol
public protocol TIMKeyServiceProtocol {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:77: error: 'Future' is only available in macOS 10.15 or newer
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:81: error: 'Future' is only available in macOS 10.15 or newer
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:72: error: 'Future' is only available in macOS 10.15 or newer
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:10: note: add @available attribute to enclosing instance method
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:137: error: 'Future' is only available in macOS 10.15 or newer
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:10: note: add @available attribute to enclosing instance method
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:84: error: 'Future' is only available in macOS 10.15 or newer
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:10: note: add @available attribute to enclosing instance method
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:63: error: 'Future' is only available in macOS 10.15 or newer
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:10: note: add @available attribute to enclosing instance method
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:123: error: 'Future' is only available in macOS 10.15 or newer
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:10: note: add @available attribute to enclosing instance method
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:60: error: 'Future' is only available in macOS 10.15 or newer
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:10: note: add @available attribute to enclosing instance method
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
[30/35] Compiling TIMEncryptedStorage CBC.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:12:35: error: 'AES' is only available in macOS 10.15 or newer
let nonce = CryptoKit.AES.GCM.Nonce()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:12:35: note: add 'if #available' version check
let nonce = CryptoKit.AES.GCM.Nonce()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:13:32: error: 'SymmetricKey' is only available in macOS 10.15 or newer
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:13:32: note: add 'if #available' version check
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:14:44: error: 'AES' is only available in macOS 10.15 or newer
let sealedData = try CryptoKit.AES.GCM.seal(data, using: symmetricKey, nonce: nonce)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:14:44: note: add 'if #available' version check
let sealedData = try CryptoKit.AES.GCM.seal(data, using: symmetricKey, nonce: nonce)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:24:32: error: 'SymmetricKey' is only available in macOS 10.15 or newer
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:24:32: note: add 'if #available' version check
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:26:47: error: 'AES' is only available in macOS 10.15 or newer
let sealedBox = try CryptoKit.AES.GCM.SealedBox(combined: data)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:26:47: note: add 'if #available' version check
let sealedBox = try CryptoKit.AES.GCM.SealedBox(combined: data)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:27:38: error: 'AES' is only available in macOS 10.15 or newer
return try CryptoKit.AES.GCM.open(sealedBox, using: symmetricKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:27:38: note: add 'if #available' version check
return try CryptoKit.AES.GCM.open(sealedBox, using: symmetricKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
[31/35] Compiling TIMEncryptedStorage GCM.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:12:35: error: 'AES' is only available in macOS 10.15 or newer
let nonce = CryptoKit.AES.GCM.Nonce()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:12:35: note: add 'if #available' version check
let nonce = CryptoKit.AES.GCM.Nonce()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:13:32: error: 'SymmetricKey' is only available in macOS 10.15 or newer
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:13:32: note: add 'if #available' version check
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:14:44: error: 'AES' is only available in macOS 10.15 or newer
let sealedData = try CryptoKit.AES.GCM.seal(data, using: symmetricKey, nonce: nonce)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:14:44: note: add 'if #available' version check
let sealedData = try CryptoKit.AES.GCM.seal(data, using: symmetricKey, nonce: nonce)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:24:32: error: 'SymmetricKey' is only available in macOS 10.15 or newer
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:24:32: note: add 'if #available' version check
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:26:47: error: 'AES' is only available in macOS 10.15 or newer
let sealedBox = try CryptoKit.AES.GCM.SealedBox(combined: data)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:26:47: note: add 'if #available' version check
let sealedBox = try CryptoKit.AES.GCM.SealedBox(combined: data)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:27:38: error: 'AES' is only available in macOS 10.15 or newer
return try CryptoKit.AES.GCM.open(sealedBox, using: symmetricKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:27:38: note: add 'if #available' version check
return try CryptoKit.AES.GCM.open(sealedBox, using: symmetricKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
[32/35] Compiling TIMEncryptedStorage TIMESCryptor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:12:35: error: 'AES' is only available in macOS 10.15 or newer
let nonce = CryptoKit.AES.GCM.Nonce()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:12:35: note: add 'if #available' version check
let nonce = CryptoKit.AES.GCM.Nonce()
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:13:32: error: 'SymmetricKey' is only available in macOS 10.15 or newer
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:13:32: note: add 'if #available' version check
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:14:44: error: 'AES' is only available in macOS 10.15 or newer
let sealedData = try CryptoKit.AES.GCM.seal(data, using: symmetricKey, nonce: nonce)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:14:44: note: add 'if #available' version check
let sealedData = try CryptoKit.AES.GCM.seal(data, using: symmetricKey, nonce: nonce)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:11:21: note: add @available attribute to enclosing static method
static func encrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:24:32: error: 'SymmetricKey' is only available in macOS 10.15 or newer
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:24:32: note: add 'if #available' version check
let symmetricKey = SymmetricKey(data: key)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:26:47: error: 'AES' is only available in macOS 10.15 or newer
let sealedBox = try CryptoKit.AES.GCM.SealedBox(combined: data)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:26:47: note: add 'if #available' version check
let sealedBox = try CryptoKit.AES.GCM.SealedBox(combined: data)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:27:38: error: 'AES' is only available in macOS 10.15 or newer
return try CryptoKit.AES.GCM.open(sealedBox, using: symmetricKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:27:38: note: add 'if #available' version check
return try CryptoKit.AES.GCM.open(sealedBox, using: symmetricKey)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:23:21: note: add @available attribute to enclosing static method
static func decrypt(key: Data, data: Data) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/Cryptors/AES/GCM.swift:9:12: note: add @available attribute to enclosing struct
struct GCM {
^
[33/35] Compiling TIMEncryptedStorage TIMSecureStorageItem.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:77: error: 'Future' is only available in macOS 10.15 or newer
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:81: error: 'Future' is only available in macOS 10.15 or newer
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:72: error: 'Future' is only available in macOS 10.15 or newer
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:10: note: add @available attribute to enclosing instance method
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:137: error: 'Future' is only available in macOS 10.15 or newer
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:10: note: add @available attribute to enclosing instance method
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:84: error: 'Future' is only available in macOS 10.15 or newer
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:10: note: add @available attribute to enclosing instance method
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:63: error: 'Future' is only available in macOS 10.15 or newer
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:10: note: add @available attribute to enclosing instance method
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:123: error: 'Future' is only available in macOS 10.15 or newer
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:10: note: add @available attribute to enclosing instance method
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:60: error: 'Future' is only available in macOS 10.15 or newer
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:10: note: add @available attribute to enclosing instance method
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:146:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:146:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:153:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:153:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:160:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:160:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:10: note: add @available attribute to enclosing instance method
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:167:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:167:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:10: note: add @available attribute to enclosing instance method
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:174:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:174:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:10: note: add @available attribute to enclosing instance method
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:181:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:181:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:10: note: add @available attribute to enclosing instance method
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:188:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:188:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:10: note: add @available attribute to enclosing instance method
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:195:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:195:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:10: note: add @available attribute to enclosing instance method
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
[33/35] Compiling OIDExternalUserAgentMac.m
[35/35] Compiling TIMEncryptedStorage TIMEncryptedStorage.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:77: error: 'Future' is only available in macOS 10.15 or newer
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:81: error: 'Future' is only available in macOS 10.15 or newer
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:72: error: 'Future' is only available in macOS 10.15 or newer
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:10: note: add @available attribute to enclosing instance method
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:137: error: 'Future' is only available in macOS 10.15 or newer
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:10: note: add @available attribute to enclosing instance method
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:84: error: 'Future' is only available in macOS 10.15 or newer
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:10: note: add @available attribute to enclosing instance method
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:63: error: 'Future' is only available in macOS 10.15 or newer
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:10: note: add @available attribute to enclosing instance method
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:123: error: 'Future' is only available in macOS 10.15 or newer
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:10: note: add @available attribute to enclosing instance method
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:60: error: 'Future' is only available in macOS 10.15 or newer
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:10: note: add @available attribute to enclosing instance method
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:146:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:146:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:145:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:153:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:153:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:152:10: note: add @available attribute to enclosing instance method
func store(id: StorageID, data: Data, keyId: String, longSecret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:160:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:160:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:159:10: note: add @available attribute to enclosing instance method
func storeWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:167:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:167:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:166:10: note: add @available attribute to enclosing instance method
func storeViaBiometric(id: StorageID, data: Data, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:174:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:174:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:173:10: note: add @available attribute to enclosing instance method
func storeViaBiometricWithNewKey(id: StorageID, data: Data, secret: String) -> Future<TIMESKeyCreationResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:181:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:181:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:180:10: note: add @available attribute to enclosing instance method
func get(id: StorageID, keyId: String, secret: String) -> Future<Data, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:188:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:188:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:187:10: note: add @available attribute to enclosing instance method
func getViaBiometric(id: StorageID, keyId: String, willBeginNetworkRequests: TIMESWillBeginNetworkRequests? = nil) -> Future<TIMESBiometricLoadResult, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:195:9: error: 'Future' is only available in macOS 10.15 or newer
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:195:9: note: add 'if #available' version check
Future { promise in
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:194:10: note: add @available attribute to enclosing instance method
func enableBiometric(keyId: String, secret: String) -> Future<Void, TIMEncryptedStorageError> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TIMEncryptedStorage-iOS/Sources/TIMEncryptedStorage/TIM/TIMEncryptedStorage.swift:142:8: note: add @available attribute to enclosing extension
public extension TIMEncryptedStorage {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm