Build Information
Failed to build IBM Security Verify, reference v3.0.10 (7f7c50
), with Swift 5.9 for macOS (SPM) on 8 Aug 2024 07:05:03 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibm-security-verify/verify-sdk-ios.git
Reference: v3.0.10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ibm-security-verify/verify-sdk-ios
* tag v3.0.10 -> FETCH_HEAD
HEAD is now at 7f7c50c Vdev 54306 (#9)
Cloned https://github.com/ibm-security-verify/verify-sdk-ios.git
Revision (git rev-parse @):
7f7c50c79c7a09dfc8900240747839a3fa7e57f0
SUCCESS checkout https://github.com/ibm-security-verify/verify-sdk-ios.git at v3.0.10
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/ibm-security-verify/verify-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Copying Info.plist
[0/11] Copying README.md
[3/11] Copying Info.plist
[5/11] Copying README.md
[5/11] Copying Info.plist
[6/11] Copying README.md
[7/11] Copying Localizable.strings
[9/11] Copying README.md
[9/11] Copying Info.plist
[12/43] Compiling Adaptive AdaptiveContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[13/43] Compiling FIDO2 PublicKeyCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[14/44] Compiling FIDO2 PublicKeyCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[15/44] Compiling Adaptive resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[16/44] Compiling Adaptive Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/44] Emitting module Adaptive
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[18/44] Compiling FIDO2 resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[19/44] Compiling Adaptive AssessmentsFactors.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[20/44] Compiling Adaptive Evaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[21/44] Compiling Adaptive Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[22/44] Compiling Adaptive AdaptiveResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[23/44] Compiling FIDO2 Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[24/44] Compiling FIDO2 COSE.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[25/44] Compiling Core KeyedDecodingContainer+Extension.swift
[26/44] Compiling Core DefaultValuePropertyWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:139:25: error: 'Logger' is only available in macOS 11.0 or newer
private let logger: Logger
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:59:42: error: 'biometryAny' is only available in macOS 10.13.4 or newer
case SecAccessControlCreateFlags.biometryAny:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:59:42: note: add 'if #available' version check
case SecAccessControlCreateFlags.biometryAny:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:55:12: note: add @available attribute to enclosing initializer
public init?(rawValue: SecAccessControlCreateFlags) {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:61:42: error: 'biometryCurrentSet' is only available in macOS 10.13.4 or newer
case SecAccessControlCreateFlags.biometryCurrentSet:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:61:42: note: add 'if #available' version check
case SecAccessControlCreateFlags.biometryCurrentSet:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:55:12: note: add @available attribute to enclosing initializer
public init?(rawValue: SecAccessControlCreateFlags) {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:75:48: error: 'biometryAny' is only available in macOS 10.13.4 or newer
return SecAccessControlCreateFlags.biometryAny
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:75:48: note: add 'if #available' version check
return SecAccessControlCreateFlags.biometryAny
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:70:16: note: add @available attribute to enclosing property
public var rawValue: RawValue {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:77:48: error: 'biometryCurrentSet' is only available in macOS 10.13.4 or newer
return SecAccessControlCreateFlags.biometryCurrentSet
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:77:48: note: add 'if #available' version check
return SecAccessControlCreateFlags.biometryCurrentSet
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:70:16: note: add @available attribute to enclosing property
public var rawValue: RawValue {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:153:18: error: 'Logger' is only available in macOS 11.0 or newer
logger = Logger(subsystem: serviceName, category: "keychain")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:153:18: note: add 'if #available' version check
logger = Logger(subsystem: serviceName, category: "keychain")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:152:21: note: add @available attribute to enclosing initializer
public override init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:200:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:200:26: note: add 'if #available' version check
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:72: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:72: note: add 'if #available' version check
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:30: note: add 'if #available' version check
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:33: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:81: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:81: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:25: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:33: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:83: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:83: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:25: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:68: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:26: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:255:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:255:26: note: add 'if #available' version check
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:29: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:81: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:81: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:21: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:68: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:26: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:315:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:315:26: note: add 'if #available' version check
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:76: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:76: note: add 'if #available' version check
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:32: note: add 'if #available' version check
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:84: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:84: note: add 'if #available' version check
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:32: note: add 'if #available' version check
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:83: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:83: note: add 'if #available' version check
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:32: note: add 'if #available' version check
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:64: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:64: note: add 'if #available' version check
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:28: note: add 'if #available' version check
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:29: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:368:17: note: add @available attribute to enclosing instance method
public func itemExists(_ forKey: String) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:78: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:78: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:368:17: note: add @available attribute to enclosing instance method
public func itemExists(_ forKey: String) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:21: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:368:17: note: add @available attribute to enclosing instance method
public func itemExists(_ forKey: String) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:40: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:40: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:73: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:103: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:103: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:21: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:68: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:26: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
[27/44] Compiling Core KeychainService.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:139:25: error: 'Logger' is only available in macOS 11.0 or newer
private let logger: Logger
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:59:42: error: 'biometryAny' is only available in macOS 10.13.4 or newer
case SecAccessControlCreateFlags.biometryAny:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:59:42: note: add 'if #available' version check
case SecAccessControlCreateFlags.biometryAny:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:55:12: note: add @available attribute to enclosing initializer
public init?(rawValue: SecAccessControlCreateFlags) {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:61:42: error: 'biometryCurrentSet' is only available in macOS 10.13.4 or newer
case SecAccessControlCreateFlags.biometryCurrentSet:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:61:42: note: add 'if #available' version check
case SecAccessControlCreateFlags.biometryCurrentSet:
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:55:12: note: add @available attribute to enclosing initializer
public init?(rawValue: SecAccessControlCreateFlags) {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:75:48: error: 'biometryAny' is only available in macOS 10.13.4 or newer
return SecAccessControlCreateFlags.biometryAny
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:75:48: note: add 'if #available' version check
return SecAccessControlCreateFlags.biometryAny
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:70:16: note: add @available attribute to enclosing property
public var rawValue: RawValue {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:77:48: error: 'biometryCurrentSet' is only available in macOS 10.13.4 or newer
return SecAccessControlCreateFlags.biometryCurrentSet
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:77:48: note: add 'if #available' version check
return SecAccessControlCreateFlags.biometryCurrentSet
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:70:16: note: add @available attribute to enclosing property
public var rawValue: RawValue {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:28:13: note: add @available attribute to enclosing enum
public enum SecAccessControl: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:153:18: error: 'Logger' is only available in macOS 11.0 or newer
logger = Logger(subsystem: serviceName, category: "keychain")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:153:18: note: add 'if #available' version check
logger = Logger(subsystem: serviceName, category: "keychain")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:152:21: note: add @available attribute to enclosing initializer
public override init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:200:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:200:26: note: add 'if #available' version check
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:72: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:72: note: add 'if #available' version check
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:219:30: note: add 'if #available' version check
logger.error("Error occurred applying access control. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:33: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:81: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:81: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:235:25: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' added to keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:33: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:83: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:83: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:238:25: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' updated in keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:68: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:241:26: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:198:17: note: add @available attribute to enclosing instance method
public func addItem(_ forKey: String, value: Data, accessControl: SecAccessControl? = nil, accessibility: SecAccessible = .afterFirstUnlock) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:255:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:255:26: note: add 'if #available' version check
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:29: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:81: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:81: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:265:21: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' deleted from keychain: \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:68: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:269:26: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:253:17: note: add @available attribute to enclosing instance method
public func deleteItem(_ forKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:315:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:315:26: note: add 'if #available' version check
logger.error("The forKey argument is invalid.")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:76: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:76: note: add 'if #available' version check
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:335:32: note: add 'if #available' version check
logger.warning("The user cancelled the operation. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:84: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:84: note: add 'if #available' version check
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:338:32: note: add 'if #available' version check
logger.warning("The specified item not found in Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:83: error: 'appendInterpolation(_:format:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:83: note: add 'if #available' version check
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:341:32: note: add 'if #available' version check
logger.warning("An error occured accessing the Keychain. Status: \(status, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:64: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:64: note: add 'if #available' version check
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:348:28: note: add 'if #available' version check
logger.warning("Invalid data associated with key '\(forKey, privacy: .public)'")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:313:17: note: add @available attribute to enclosing instance method
public func readItem(_ forKey: String) throws -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:29: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:368:17: note: add @available attribute to enclosing instance method
public func itemExists(_ forKey: String) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:78: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:78: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:368:17: note: add @available attribute to enclosing instance method
public func itemExists(_ forKey: String) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:382:21: note: add 'if #available' version check
logger.info("Item '\(forKey, privacy: .public)' exists in keychain: \(status == errSecSuccess || status == errSecInteractionNotAllowed || status == errSecAuthFailed, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:368:17: note: add @available attribute to enclosing instance method
public func itemExists(_ forKey: String) -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:40: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:40: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:73: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:103: error: 'appendInterpolation(_:format:privacy:)' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:103: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:447:21: note: add 'if #available' version check
logger.info("Rename key from '\(forKey, privacy: .public)' to '\(newKey, privacy: .public)': \(status == errSecSuccess, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:68: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:68: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:452:26: note: add 'if #available' version check
logger.error("Error occured performing the operation. \(message, privacy: .public)")
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:430:17: note: add @available attribute to enclosing instance method
public func renameItem(_ forKey: String, newKey: String) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:137:20: note: add @available attribute to enclosing class
public final class KeychainService: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:309:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
async let (data, response) = try await data(for: resource.request)
^
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:309:48: note: add 'if #available' version check
async let (data, response) = try await data(for: resource.request)
^
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:308:17: note: add @available attribute to enclosing instance method
public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:302:1: note: add @available attribute to enclosing extension
extension URLSession {
^
BUILD FAILURE 5.9 macosSpm