The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PatternAuthentication, reference dev (590018), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 03:41:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Apex-Studios-LLC/PatternAuthentication.git
Reference: dev
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Apex-Studios-LLC/PatternAuthentication
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at 5900185 Merge pull request #2 from Apex-Studios-LLC/release
Cloned https://github.com/Apex-Studios-LLC/PatternAuthentication.git
Revision (git rev-parse @):
5900185676428695d03457f00acc90ba2f9ae40b
SUCCESS checkout https://github.com/Apex-Studios-LLC/PatternAuthentication.git at dev
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Apex-Studios-LLC/PatternAuthentication.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling PatternAuthentication GridAuthenticatorViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 15 |     @Published public var viewColor: Color
 16 |     @Published public var debug: Bool
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:15:38: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
    |                                      `- error: 'Color' is only available in macOS 10.15 or newer
 16 |     @Published public var debug: Bool
 17 |     public var mode: AuthType
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 16 |     @Published public var debug: Bool
 17 |     public var mode: AuthType
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
 16 |     @Published public var debug: Bool
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 17 |     public var mode: AuthType
 18 |     @Published public var incorrectHash: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 16 |     @Published public var debug: Bool
 17 |     public var mode: AuthType
 18 |     @Published public var incorrectHash: Bool?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 19 |     @Published public var interactionMode: InteractionMode
 20 |     @Published public var incorrectCount: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 17 |     public var mode: AuthType
 18 |     @Published public var incorrectHash: Bool?
 19 |     @Published public var interactionMode: InteractionMode
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 20 |     @Published public var incorrectCount: Int = 0
 21 |     @Published public var repeatInput: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 18 |     @Published public var incorrectHash: Bool?
 19 |     @Published public var interactionMode: InteractionMode
 20 |     @Published public var incorrectCount: Int = 0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 21 |     @Published public var repeatInput: Bool?
 22 |     @Published public var requireConfirmation: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:21:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 19 |     @Published public var interactionMode: InteractionMode
 20 |     @Published public var incorrectCount: Int = 0
 21 |     @Published public var repeatInput: Bool?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 22 |     @Published public var requireConfirmation: Bool?
 23 |     @Published public var expectedHash: String?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:22:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 20 |     @Published public var incorrectCount: Int = 0
 21 |     @Published public var repeatInput: Bool?
 22 |     @Published public var requireConfirmation: Bool?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 23 |     @Published public var expectedHash: String?
 24 |     public var minimumVertices: Int? = 6
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 21 |     @Published public var repeatInput: Bool?
 22 |     @Published public var requireConfirmation: Bool?
 23 |     @Published public var expectedHash: String?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 24 |     public var minimumVertices: Int? = 6
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 23 |     @Published public var expectedHash: String?
 24 |     public var minimumVertices: Int? = 6
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |     @Published public var setupCompletion: ((String) -> Void)?
 27 |     @Published public var confirmationState: ConfirmationState = .initial
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:26:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 24 |     public var minimumVertices: Int? = 6
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
 26 |     @Published public var setupCompletion: ((String) -> Void)?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 27 |     @Published public var confirmationState: ConfirmationState = .initial
 28 |     @Published public var firstPatternHash: String?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
 26 |     @Published public var setupCompletion: ((String) -> Void)?
 27 |     @Published public var confirmationState: ConfirmationState = .initial
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 28 |     @Published public var firstPatternHash: String?
 29 |     @Published public var isSimulating: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:28:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 26 |     @Published public var setupCompletion: ((String) -> Void)?
 27 |     @Published public var confirmationState: ConfirmationState = .initial
 28 |     @Published public var firstPatternHash: String?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 29 |     @Published public var isSimulating: Bool = false
 30 |     private var simulationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 27 |     @Published public var confirmationState: ConfirmationState = .initial
 28 |     @Published public var firstPatternHash: String?
 29 |     @Published public var isSimulating: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 30 |     private var simulationTask: Task<Void, Never>?
 31 |     @Published public var isDragging: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:30:33: error: 'Task' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 28 |     @Published public var firstPatternHash: String?
 29 |     @Published public var isSimulating: Bool = false
 30 |     private var simulationTask: Task<Void, Never>?
    |                                 `- error: 'Task' is only available in macOS 10.15 or newer
 31 |     @Published public var isDragging: Bool = false
 32 |     @Published public var lastDragError: String?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 29 |     @Published public var isSimulating: Bool = false
 30 |     private var simulationTask: Task<Void, Never>?
 31 |     @Published public var isDragging: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     @Published public var lastDragError: String?
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 30 |     private var simulationTask: Task<Void, Never>?
 31 |     @Published public var isDragging: Bool = false
 32 |     @Published public var lastDragError: String?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |
 34 |     public var mostRecentSelection: Int? {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:74:34: error: 'DragGesture' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 72 |     }
 73 |
 74 |     public func duringDrag(drag: DragGesture.Value) {
    |                 |                `- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 75 |         isDragging = true
 76 |         if !locked {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:233:65: error: 'blue' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
    |                                                                 `- error: 'blue' is only available in macOS 10.15 or newer
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:233:56: error: 'Color' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
    |                                                        `- error: 'Color' is only available in macOS 10.15 or newer
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:234:60: error: 'blue' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
    |                                                            `- error: 'blue' is only available in macOS 10.15 or newer
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:234:51: error: 'Color' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
    |                                                   `- error: 'Color' is only available in macOS 10.15 or newer
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:10:42: error: 'ObservableObject' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              |                           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, [Int]>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, [Int]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, [CardPreferenceData]>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, [CardPreferenceData]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, ParticleSystem>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, ParticleSystem>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, GridAuthenticatorViewModel.InteractionMode>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, GridAuthenticatorViewModel.InteractionMode>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Int>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Int>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, String?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, String?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, ((Bool) -> Void)?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, ((Bool) -> Void)?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, ((String) -> Void)?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, ((String) -> Void)?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, GridAuthenticatorViewModel.ConfirmationState>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, GridAuthenticatorViewModel.ConfirmationState>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, String?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, String?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GridAuthenticatorViewModel, String?>' to expected argument type 'ReferenceWritableKeyPath<GridAuthenticatorViewModel, String?>'
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:41:13: error: setter for 'expectedHash' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
 41 |             self.expectedHash = expectedHash
    |             |- error: setter for 'expectedHash' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 42 |             viewColor = color
 43 |             self.interactionMode = interactionMode
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:42:13: error: setter for 'viewColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
 41 |             self.expectedHash = expectedHash
 42 |             viewColor = color
    |             |- error: setter for 'viewColor' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 43 |             self.interactionMode = interactionMode
 44 |             self.debug = debug
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:43:13: error: setter for 'interactionMode' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
 41 |             self.expectedHash = expectedHash
 42 |             viewColor = color
 43 |             self.interactionMode = interactionMode
    |             |- error: setter for 'interactionMode' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 44 |             self.debug = debug
 45 |             mode = .authenticate
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:44:13: error: setter for 'debug' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 42 |             viewColor = color
 43 |             self.interactionMode = interactionMode
 44 |             self.debug = debug
    |             |- error: setter for 'debug' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 45 |             mode = .authenticate
 46 |             authCompletion = completion
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:46:13: error: setter for 'authCompletion' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 44 |             self.debug = debug
 45 |             mode = .authenticate
 46 |             authCompletion = completion
    |             |- error: setter for 'authCompletion' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 47 |         case let .set(minimumVertices, color, interactionMode, requireConfirmation, repeatInput, debug, completion):
 48 |             self.minimumVertices = minimumVertices
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:49:13: error: setter for 'repeatInput' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 47 |         case let .set(minimumVertices, color, interactionMode, requireConfirmation, repeatInput, debug, completion):
 48 |             self.minimumVertices = minimumVertices
 49 |             self.repeatInput = repeatInput
    |             |- error: setter for 'repeatInput' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 50 |             viewColor = color
 51 |             self.interactionMode = interactionMode
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:50:13: error: setter for 'viewColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 48 |             self.minimumVertices = minimumVertices
 49 |             self.repeatInput = repeatInput
 50 |             viewColor = color
    |             |- error: setter for 'viewColor' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 51 |             self.interactionMode = interactionMode
 52 |             self.requireConfirmation = requireConfirmation
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:51:13: error: setter for 'interactionMode' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 49 |             self.repeatInput = repeatInput
 50 |             viewColor = color
 51 |             self.interactionMode = interactionMode
    |             |- error: setter for 'interactionMode' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 52 |             self.requireConfirmation = requireConfirmation
 53 |             self.debug = debug
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:52:13: error: setter for 'requireConfirmation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 50 |             viewColor = color
 51 |             self.interactionMode = interactionMode
 52 |             self.requireConfirmation = requireConfirmation
    |             |- error: setter for 'requireConfirmation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 53 |             self.debug = debug
 54 |             mode = .set
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:53:13: error: setter for 'debug' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 51 |             self.interactionMode = interactionMode
 52 |             self.requireConfirmation = requireConfirmation
 53 |             self.debug = debug
    |             |- error: setter for 'debug' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |             mode = .set
 55 |             setupCompletion = completion
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:55:13: error: setter for 'setupCompletion' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 36 |     }
 37 |
 38 |     public init(_ authOption: GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 39 |         switch authOption {
 40 |         case let .authenticate(expectedHash, color, interactionMode, debug, completion):
    :
 53 |             self.debug = debug
 54 |             mode = .set
 55 |             setupCompletion = completion
    |             |- error: setter for 'setupCompletion' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 56 |         }
 57 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:75:9: error: setter for 'isDragging' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 72 |     }
 73 |
 74 |     public func duringDrag(drag: DragGesture.Value) {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         isDragging = true
    |         |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |         if !locked {
 77 |             if let data = cardsData.first(where: { $0.bounds.contains(drag.location) }) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:79:21: error: cannot pass as inout because setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 72 |     }
 73 |
 74 |     public func duringDrag(drag: DragGesture.Value) {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         isDragging = true
 76 |         if !locked {
 77 |             if let data = cardsData.first(where: { $0.bounds.contains(drag.location) }) {
 78 |                 if selectedCardsIndices.last ?? -1 != data.index {
 79 |                     selectedCardsIndices.append(data.index)
    |                     |- error: cannot pass as inout because setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 80 |                 }
 81 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:83:57: error: cannot find 'UIScreen' in scope
 81 |             }
 82 |
 83 |             particleSystem.center.x = drag.location.x / UIScreen.main.bounds.width
    |                                                         `- error: cannot find 'UIScreen' in scope
 84 |             particleSystem.center.y = drag.location.y / UIScreen.main.bounds.height
 85 |             particleSystem.addParticle(at: drag.location)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:19:25: error: 'UnitPoint' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public class ParticleSystem {
   |              `- note: add @available attribute to enclosing class
17 |     public let image = Image("spark", bundle: Bundle.module)
18 |     public var particles = Set<Particle>()
19 |     public var center = UnitPoint.center
   |                         `- error: 'UnitPoint' is only available in macOS 10.15 or newer
20 |
21 |     public func update(date: TimeInterval) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:84:57: error: cannot find 'UIScreen' in scope
 82 |
 83 |             particleSystem.center.x = drag.location.x / UIScreen.main.bounds.width
 84 |             particleSystem.center.y = drag.location.y / UIScreen.main.bounds.height
    |                                                         `- error: cannot find 'UIScreen' in scope
 85 |             particleSystem.addParticle(at: drag.location)
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:90:9: error: setter for 'isDragging' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
    |         |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 91 |         if !selectedCardsIndices.isEmpty {
 92 |             if debug {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:99:17: error: setter for 'locked' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
 97 |                 authenticateHash()
 98 |             case .set:
 99 |                 locked = true
    |                 |- error: setter for 'locked' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
100 |                 if !valid {
101 |                     withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:101:21: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
 99 |                 locked = true
100 |                 if !valid {
101 |                     withAnimation {
    |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
102 |                         incorrectCount += 1
103 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:102:25: error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
100 |                 if !valid {
101 |                     withAnimation {
102 |                         incorrectCount += 1
    |                         |- error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
103 |                     }
104 |                     lastDragError = "Not long enough. Pattern must include at least \(minimumVertices ?? .max) vertices"
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:104:21: error: setter for 'lastDragError' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
102 |                         incorrectCount += 1
103 |                     }
104 |                     lastDragError = "Not long enough. Pattern must include at least \(minimumVertices ?? .max) vertices"
    |                     |- error: setter for 'lastDragError' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
105 |                 } else {
106 |                     if confirmationState == .awaitingConfirmation {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:108:29: error: setter for 'confirmationState' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
106 |                     if confirmationState == .awaitingConfirmation {
107 |                         if currentHash == firstPatternHash {
108 |                             confirmationState = .confirmed
    |                             |- error: setter for 'confirmationState' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
109 |                             setupCompletion?(currentHash)
110 |                         } else {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:112:29: error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
110 |                         } else {
111 |                             // Patterns don't match, show error
112 |                             incorrectCount += 1
    |                             |- error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
113 |                             lastDragError = "Patterns do not match. Please try again."
114 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:113:29: error: setter for 'lastDragError' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
111 |                             // Patterns don't match, show error
112 |                             incorrectCount += 1
113 |                             lastDragError = "Patterns do not match. Please try again."
    |                             |- error: setter for 'lastDragError' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
114 |                         }
115 |                         selectedCardsIndices = []
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:115:25: error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
113 |                             lastDragError = "Patterns do not match. Please try again."
114 |                         }
115 |                         selectedCardsIndices = []
    |                         |- error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
116 |                         locked = false
117 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:116:25: error: setter for 'locked' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 87 |     }
 88 |
 89 |     public func afterDrag() {
    |                 `- note: add @available attribute to enclosing instance method
 90 |         isDragging = false
 91 |         if !selectedCardsIndices.isEmpty {
    :
114 |                         }
115 |                         selectedCardsIndices = []
116 |                         locked = false
    |                         |- error: setter for 'locked' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
117 |                     }
118 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:125:13: error: setter for 'incorrectHash' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
121 |     }
122 |
123 |     public func authenticateHash() {
    |                 `- note: add @available attribute to enclosing instance method
124 |         if currentHash == expectedHash {
125 |             incorrectHash = nil
    |             |- error: setter for 'incorrectHash' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
126 |             authCompletion?(true)
127 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:128:13: error: setter for 'incorrectHash' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
121 |     }
122 |
123 |     public func authenticateHash() {
    |                 `- note: add @available attribute to enclosing instance method
124 |         if currentHash == expectedHash {
125 |             incorrectHash = nil
126 |             authCompletion?(true)
127 |         } else {
128 |             incorrectHash = true
    |             |- error: setter for 'incorrectHash' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
129 |             selectedCardsIndices = []
130 |             withAnimation(.easeInOut(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:129:13: error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
121 |     }
122 |
123 |     public func authenticateHash() {
    |                 `- note: add @available attribute to enclosing instance method
124 |         if currentHash == expectedHash {
125 |             incorrectHash = nil
    :
127 |         } else {
128 |             incorrectHash = true
129 |             selectedCardsIndices = []
    |             |- error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
130 |             withAnimation(.easeInOut(duration: 0.3)) {
131 |                 incorrectCount += 1
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:130:13: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
121 |     }
122 |
123 |     public func authenticateHash() {
    |                 `- note: add @available attribute to enclosing instance method
124 |         if currentHash == expectedHash {
125 |             incorrectHash = nil
    :
128 |             incorrectHash = true
129 |             selectedCardsIndices = []
130 |             withAnimation(.easeInOut(duration: 0.3)) {
    |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
131 |                 incorrectCount += 1
132 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:130:28: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
121 |     }
122 |
123 |     public func authenticateHash() {
    |                 `- note: add @available attribute to enclosing instance method
124 |         if currentHash == expectedHash {
125 |             incorrectHash = nil
    :
128 |             incorrectHash = true
129 |             selectedCardsIndices = []
130 |             withAnimation(.easeInOut(duration: 0.3)) {
    |                            |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
131 |                 incorrectCount += 1
132 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:131:17: error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
121 |     }
122 |
123 |     public func authenticateHash() {
    |                 `- note: add @available attribute to enclosing instance method
124 |         if currentHash == expectedHash {
125 |             incorrectHash = nil
    :
129 |             selectedCardsIndices = []
130 |             withAnimation(.easeInOut(duration: 0.3)) {
131 |                 incorrectCount += 1
    |                 |- error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
132 |             }
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:138:9: error: setter for 'isSimulating' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
134 |     }
135 |
136 |     public func simulatePattern(_ pattern: [Int]) {
    |                 `- note: add @available attribute to enclosing instance method
137 |         cancelSimulation()
138 |         isSimulating = true
    |         |- error: setter for 'isSimulating' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
139 |         simulationTask = Task { @MainActor in
140 |             defer { isSimulating = false }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:148:73: error: cannot find 'UIScreen' in scope
146 |                     let cardBounds = cardsData[index].bounds
147 |                     let cardCenter = CGPoint(x: cardBounds.midX, y: cardBounds.midY)
148 |                     particleSystem.center = UnitPoint(x: cardCenter.x / UIScreen.main.bounds.width,
    |                                                                         `- error: cannot find 'UIScreen' in scope
149 |                                                       y: cardCenter.y / UIScreen.main.bounds.height)
150 |                     particleSystem.addParticle(at: cardCenter)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:149:73: error: cannot find 'UIScreen' in scope
147 |                     let cardCenter = CGPoint(x: cardBounds.midX, y: cardBounds.midY)
148 |                     particleSystem.center = UnitPoint(x: cardCenter.x / UIScreen.main.bounds.width,
149 |                                                       y: cardCenter.y / UIScreen.main.bounds.height)
    |                                                                         `- error: cannot find 'UIScreen' in scope
150 |                     particleSystem.addParticle(at: cardCenter)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:163:58: error: cannot find 'UIScreen' in scope
161 |                             )
162 |                             particleSystem.center = UnitPoint(
163 |                                 x: intermediatePoint.x / UIScreen.main.bounds.width,
    |                                                          `- error: cannot find 'UIScreen' in scope
164 |                                 y: intermediatePoint.y / UIScreen.main.bounds.height
165 |                             )
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:164:58: error: cannot find 'UIScreen' in scope
162 |                             particleSystem.center = UnitPoint(
163 |                                 x: intermediatePoint.x / UIScreen.main.bounds.width,
164 |                                 y: intermediatePoint.y / UIScreen.main.bounds.height
    |                                                          `- error: cannot find 'UIScreen' in scope
165 |                             )
166 |                             particleSystem.addParticle(at: intermediatePoint)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:179:25: error: 'cancel()' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
176 |     }
177 |
178 |     public func cancelSimulation() {
    |                 `- note: add @available attribute to enclosing instance method
179 |         simulationTask?.cancel()
    |                         |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
180 |         simulationTask = nil
181 |         isSimulating = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:181:9: error: setter for 'isSimulating' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
176 |     }
177 |
178 |     public func cancelSimulation() {
    |                 `- note: add @available attribute to enclosing instance method
179 |         simulationTask?.cancel()
180 |         simulationTask = nil
181 |         isSimulating = false
    |         |- error: setter for 'isSimulating' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
182 |     }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:193:21: error: setter for 'confirmationState' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
182 |     }
183 |
184 |     private func handleSetPattern() {
    |                  `- note: add @available attribute to enclosing instance method
185 |         if requireConfirmation ?? false {
186 |             switch confirmationState {
    :
191 |             case .awaitingConfirmation:
192 |                 if currentHash == firstPatternHash {
193 |                     confirmationState = .confirmed
    |                     |- error: setter for 'confirmationState' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
194 |                     setupCompletion?(currentHash)
195 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:197:21: error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
182 |     }
183 |
184 |     private func handleSetPattern() {
    |                  `- note: add @available attribute to enclosing instance method
185 |         if requireConfirmation ?? false {
186 |             switch confirmationState {
    :
195 |                 } else {
196 |                     // Patterns don't match, show error
197 |                     incorrectCount += 1
    |                     |- error: cannot pass as inout because setter for 'incorrectCount' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
198 |                     selectedCardsIndices = []
199 |                     locked = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:198:21: error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
182 |     }
183 |
184 |     private func handleSetPattern() {
    |                  `- note: add @available attribute to enclosing instance method
185 |         if requireConfirmation ?? false {
186 |             switch confirmationState {
    :
196 |                     // Patterns don't match, show error
197 |                     incorrectCount += 1
198 |                     selectedCardsIndices = []
    |                     |- error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
199 |                     locked = false
200 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:199:21: error: setter for 'locked' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
182 |     }
183 |
184 |     private func handleSetPattern() {
    |                  `- note: add @available attribute to enclosing instance method
185 |         if requireConfirmation ?? false {
186 |             switch confirmationState {
    :
197 |                     incorrectCount += 1
198 |                     selectedCardsIndices = []
199 |                     locked = false
    |                     |- error: setter for 'locked' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
200 |                 }
201 |             case .confirmed:
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:216:13: error: setter for 'firstPatternHash' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
212 |     }
213 |
214 |     public func confirmPattern() {
    |                 `- note: add @available attribute to enclosing instance method
215 |         if valid {
216 |             firstPatternHash = currentHash
    |             |- error: setter for 'firstPatternHash' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
217 |             confirmationState = .awaitingConfirmation
218 |             selectedCardsIndices = []
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:217:13: error: setter for 'confirmationState' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
212 |     }
213 |
214 |     public func confirmPattern() {
    |                 `- note: add @available attribute to enclosing instance method
215 |         if valid {
216 |             firstPatternHash = currentHash
217 |             confirmationState = .awaitingConfirmation
    |             |- error: setter for 'confirmationState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
218 |             selectedCardsIndices = []
219 |             locked = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:218:13: error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
212 |     }
213 |
214 |     public func confirmPattern() {
    |                 `- note: add @available attribute to enclosing instance method
215 |         if valid {
216 |             firstPatternHash = currentHash
217 |             confirmationState = .awaitingConfirmation
218 |             selectedCardsIndices = []
    |             |- error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
219 |             locked = false
220 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:219:13: error: setter for 'locked' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
212 |     }
213 |
214 |     public func confirmPattern() {
    |                 `- note: add @available attribute to enclosing instance method
215 |         if valid {
216 |             firstPatternHash = currentHash
217 |             confirmationState = .awaitingConfirmation
218 |             selectedCardsIndices = []
219 |             locked = false
    |             |- error: setter for 'locked' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
220 |         }
221 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:225:9: error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
221 |     }
222 |
223 |     public func reset() {
    |                 `- note: add @available attribute to enclosing instance method
224 |         cancelSimulation()
225 |         selectedCardsIndices = []
    |         |- error: setter for 'selectedCardsIndices' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
226 |         locked = false
227 |         confirmationState = .initial
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:226:9: error: setter for 'locked' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
221 |     }
222 |
223 |     public func reset() {
    |                 `- note: add @available attribute to enclosing instance method
224 |         cancelSimulation()
225 |         selectedCardsIndices = []
226 |         locked = false
    |         |- error: setter for 'locked' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
227 |         confirmationState = .initial
228 |         firstPatternHash = nil
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:227:9: error: setter for 'confirmationState' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
221 |     }
222 |
223 |     public func reset() {
    |                 `- note: add @available attribute to enclosing instance method
224 |         cancelSimulation()
225 |         selectedCardsIndices = []
226 |         locked = false
227 |         confirmationState = .initial
    |         |- error: setter for 'confirmationState' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
228 |         firstPatternHash = nil
229 |         lastDragError = nil
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:228:9: error: setter for 'firstPatternHash' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
221 |     }
222 |
223 |     public func reset() {
    |                 `- note: add @available attribute to enclosing instance method
224 |         cancelSimulation()
225 |         selectedCardsIndices = []
226 |         locked = false
227 |         confirmationState = .initial
228 |         firstPatternHash = nil
    |         |- error: setter for 'firstPatternHash' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
229 |         lastDragError = nil
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:229:9: error: setter for 'lastDragError' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
221 |     }
222 |
223 |     public func reset() {
    |                 `- note: add @available attribute to enclosing instance method
224 |         cancelSimulation()
225 |         selectedCardsIndices = []
    :
227 |         confirmationState = .initial
228 |         firstPatternHash = nil
229 |         lastDragError = nil
    |         |- error: setter for 'lastDragError' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
230 |     }
231 |
[4/7] Compiling PatternAuthentication PatternAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:7:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
  8 |
  9 |     public init(_ gridAuthModel: GridAuthenticatorViewModel.GridAuthenticatorOption) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:13:36: error: 'GridItem' is only available in macOS 11.0 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
  8 |
    :
 11 |     }
 12 |
 13 |     let columns = Array(repeating: GridItem(.fixed(60), spacing: 40), count: 3)
    |                                    `- error: 'GridItem' is only available in macOS 11.0 or newer
 14 |
 15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
  8 |
    :
 13 |     let columns = Array(repeating: GridItem(.fixed(60), spacing: 40), count: 3)
 14 |
 15 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 16 |         VStack {
 17 |             if viewModel.debug {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:134:6: error: 'State' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:135:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
136 |
137 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:137:27: error: 'View' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:10:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
  8 |
  9 |     public init(_ gridAuthModel: GridAuthenticatorViewModel.GridAuthenticatorOption) {
    |            `- note: add @available attribute to enclosing initializer
 10 |         viewModel = GridAuthenticatorViewModel(gridAuthModel)
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 11 |     }
 12 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:37:31: error: cannot find 'UIScreen' in scope
 35 |                     }
 36 |                 }
 37 |                 .frame(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
    |                               `- error: cannot find 'UIScreen' in scope
 38 |                 .onPreferenceChange(CardPreferenceKey.self) { value in
 39 |                     viewModel.cardsData = value
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:37:67: error: cannot find 'UIScreen' in scope
 35 |                     }
 36 |                 }
 37 |                 .frame(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
    |                                                                   `- error: cannot find 'UIScreen' in scope
 38 |                 .onPreferenceChange(CardPreferenceKey.self) { value in
 39 |                     viewModel.cardsData = value
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:68:95: error: cannot find 'UIScreen' in scope
 66 |                 .ignoresSafeArea()
 67 |             }
 68 |             .frame(maxWidth: /*@START_MENU_TOKEN@*/ .infinity/*@END_MENU_TOKEN@*/, maxHeight: UIScreen.main.bounds.height * 0.4)
    |                                                                                               `- error: cannot find 'UIScreen' in scope
 69 |
 70 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:138:9: error: 'ZStack' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
139 |             Circle()
140 |                 .foregroundStyle(viewModel.viewColor.opacity(0.9))
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:139:13: error: 'Circle' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
140 |                 .foregroundStyle(viewModel.viewColor.opacity(0.9))
141 |                 .frame(width: 60, height: 60)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:140:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
140 |                 .foregroundStyle(viewModel.viewColor.opacity(0.9))
    |                  |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |                  `- note: add 'if #available' version check
141 |                 .frame(width: 60, height: 60)
142 |             Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:140:54: error: 'opacity' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
140 |                 .foregroundStyle(viewModel.viewColor.opacity(0.9))
    |                                                      |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
141 |                 .frame(width: 60, height: 60)
142 |             Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:141:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
140 |                 .foregroundStyle(viewModel.viewColor.opacity(0.9))
141 |                 .frame(width: 60, height: 60)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
142 |             Circle()
143 |                 .foregroundStyle(viewModel.viewColor.opacity(isBeingTouched ? 0.6 : 0))
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:142:13: error: 'Circle' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
140 |                 .foregroundStyle(viewModel.viewColor.opacity(0.9))
141 |                 .frame(width: 60, height: 60)
142 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
143 |                 .foregroundStyle(viewModel.viewColor.opacity(isBeingTouched ? 0.6 : 0))
144 |                 .frame(width: 80, height: 80)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:143:18: error: 'foregroundStyle' is only available in macOS 12.0 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
141 |                 .frame(width: 60, height: 60)
142 |             Circle()
143 |                 .foregroundStyle(viewModel.viewColor.opacity(isBeingTouched ? 0.6 : 0))
    |                  |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |                  `- note: add 'if #available' version check
144 |                 .frame(width: 80, height: 80)
145 |                 .blur(radius: 7)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:143:54: error: 'opacity' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
141 |                 .frame(width: 60, height: 60)
142 |             Circle()
143 |                 .foregroundStyle(viewModel.viewColor.opacity(isBeingTouched ? 0.6 : 0))
    |                                                      |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
144 |                 .frame(width: 80, height: 80)
145 |                 .blur(radius: 7)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:144:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
142 |             Circle()
143 |                 .foregroundStyle(viewModel.viewColor.opacity(isBeingTouched ? 0.6 : 0))
144 |                 .frame(width: 80, height: 80)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
145 |                 .blur(radius: 7)
146 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:145:18: error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
143 |                 .foregroundStyle(viewModel.viewColor.opacity(isBeingTouched ? 0.6 : 0))
144 |                 .frame(width: 80, height: 80)
145 |                 .blur(radius: 7)
    |                  |- error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
146 |         }
147 |         .onChange(of: viewModel.mostRecentSelection) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:147:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
145 |                 .blur(radius: 7)
146 |         }
147 |         .onChange(of: viewModel.mostRecentSelection) { _ in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
148 |             if viewModel.mostRecentSelection == self.index {
149 |                 triggerGlow()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:152:10: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
150 |             }
151 |         }
152 |         .background {
    |          |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
153 |             GeometryReader { geometry in
154 |                 Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:152:21: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
150 |             }
151 |         }
152 |         .background {
    |                     |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
153 |             GeometryReader { geometry in
154 |                 Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:153:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
151 |         }
152 |         .background {
153 |             GeometryReader { geometry in
    |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
154 |                 Rectangle()
155 |                     .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:153:28: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
151 |         }
152 |         .background {
153 |             GeometryReader { geometry in
    |                            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
154 |                 Rectangle()
155 |                     .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:154:17: error: 'Rectangle' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
152 |         .background {
153 |             GeometryReader { geometry in
154 |                 Rectangle()
    |                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
155 |                     .fill(Color.clear)
156 |                     .preference(key: CardPreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:155:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
153 |             GeometryReader { geometry in
154 |                 Rectangle()
155 |                     .fill(Color.clear)
    |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
156 |                     .preference(key: CardPreferenceKey.self,
157 |                                 value: [CardPreferenceData(index: self.index, bounds: geometry.frame(in: .named("GridSpace")))])
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:155:27: error: 'Color' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
153 |             GeometryReader { geometry in
154 |                 Rectangle()
155 |                     .fill(Color.clear)
    |                           |- error: 'Color' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
156 |                     .preference(key: CardPreferenceKey.self,
157 |                                 value: [CardPreferenceData(index: self.index, bounds: geometry.frame(in: .named("GridSpace")))])
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:155:33: error: 'clear' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
153 |             GeometryReader { geometry in
154 |                 Rectangle()
155 |                     .fill(Color.clear)
    |                                 |- error: 'clear' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
156 |                     .preference(key: CardPreferenceKey.self,
157 |                                 value: [CardPreferenceData(index: self.index, bounds: geometry.frame(in: .named("GridSpace")))])
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:156:22: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
154 |                 Rectangle()
155 |                     .fill(Color.clear)
156 |                     .preference(key: CardPreferenceKey.self,
    |                      |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
157 |                                 value: [CardPreferenceData(index: self.index, bounds: geometry.frame(in: .named("GridSpace")))])
158 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:157:96: error: 'frame(in:)' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
    :
155 |                     .fill(Color.clear)
156 |                     .preference(key: CardPreferenceKey.self,
157 |                                 value: [CardPreferenceData(index: self.index, bounds: geometry.frame(in: .named("GridSpace")))])
    |                                                                                                |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                                                `- note: add 'if #available' version check
158 |             }
159 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:163:9: error: setter for 'isBeingTouched' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
    :
160 |     }
161 |
162 |     public func triggerGlow() {
    |                 `- note: add @available attribute to enclosing instance method
163 |         isBeingTouched = true
    |         |- error: setter for 'isBeingTouched' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
164 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
165 |             withAnimation(.easeInOut(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:165:13: error: 'withAnimation' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
    :
160 |     }
161 |
162 |     public func triggerGlow() {
    |                 `- note: add @available attribute to enclosing instance method
163 |         isBeingTouched = true
164 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
165 |             withAnimation(.easeInOut(duration: 0.3)) {
    |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
166 |                 isBeingTouched = false
167 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:165:28: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
    :
160 |     }
161 |
162 |     public func triggerGlow() {
    |                 `- note: add @available attribute to enclosing instance method
163 |         isBeingTouched = true
164 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
165 |             withAnimation(.easeInOut(duration: 0.3)) {
    |                            |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
166 |                 isBeingTouched = false
167 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:166:17: error: setter for 'isBeingTouched' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
    :
160 |     }
161 |
162 |     public func triggerGlow() {
    |                 `- note: add @available attribute to enclosing instance method
163 |         isBeingTouched = true
164 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
165 |             withAnimation(.easeInOut(duration: 0.3)) {
166 |                 isBeingTouched = false
    |                 |- error: setter for 'isBeingTouched' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
167 |             }
168 |         }
[5/7] Compiling PatternAuthentication Shake.swift
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/Shake.swift:15:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Shake: GeometryEffect {
   |               `- note: add @available attribute to enclosing struct
11 |     public var amount: CGFloat = 10
12 |     public var shakesPerUnit = 3
13 |     public var animatableData: CGFloat
14 |
15 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 |                            `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
16 |         ProjectionTransform(CGAffineTransform(translationX:
17 |             amount * sin(animatableData * .pi * CGFloat(shakesPerUnit)),
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/Shake.swift:16:9: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Shake: GeometryEffect {
   |               `- note: add @available attribute to enclosing struct
11 |     public var amount: CGFloat = 10
12 |     public var shakesPerUnit = 3
13 |     public var animatableData: CGFloat
14 |
15 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ProjectionTransform(CGAffineTransform(translationX:
   |         |- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             amount * sin(animatableData * .pi * CGFloat(shakesPerUnit)),
18 |             y: 0))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module PatternAuthentication
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:13:36: error: 'now' is only available in macOS 12 or newer
 8 | import CryptoKit
 9 |
10 | public struct Particle: Hashable {
   |               `- note: add @available attribute to enclosing struct
11 |     public let x: Double
12 |     public let y: Double
13 |     public let creationDate = Date.now.timeIntervalSinceReferenceDate
   |                                    `- error: 'now' is only available in macOS 12 or newer
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:17:54: error: type 'Bundle' has no member 'module'
15 |
16 | public class ParticleSystem {
17 |     public let image = Image("spark", bundle: Bundle.module)
   |                                                      `- error: type 'Bundle' has no member 'module'
18 |     public var particles = Set<Particle>()
19 |     public var center = UnitPoint.center
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:19:25: error: 'UnitPoint' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public class ParticleSystem {
   |              `- note: add @available attribute to enclosing class
17 |     public let image = Image("spark", bundle: Bundle.module)
18 |     public var particles = Set<Particle>()
19 |     public var center = UnitPoint.center
   |                         `- error: 'UnitPoint' is only available in macOS 10.15 or newer
20 |
21 |     public func update(date: TimeInterval) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/Shake.swift:15:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Shake: GeometryEffect {
   |               `- note: add @available attribute to enclosing struct
11 |     public var amount: CGFloat = 10
12 |     public var shakesPerUnit = 3
13 |     public var animatableData: CGFloat
14 |
15 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 |                            `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
16 |         ProjectionTransform(CGAffineTransform(translationX:
17 |             amount * sin(animatableData * .pi * CGFloat(shakesPerUnit)),
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 15 |     @Published public var viewColor: Color
 16 |     @Published public var debug: Bool
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:15:38: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
    |                                      `- error: 'Color' is only available in macOS 10.15 or newer
 16 |     @Published public var debug: Bool
 17 |     public var mode: AuthType
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
 13 |     @Published public var particleSystem = ParticleSystem()
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 16 |     @Published public var debug: Bool
 17 |     public var mode: AuthType
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 14 |     @Published public var locked: Bool = false
 15 |     @Published public var viewColor: Color
 16 |     @Published public var debug: Bool
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 17 |     public var mode: AuthType
 18 |     @Published public var incorrectHash: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 16 |     @Published public var debug: Bool
 17 |     public var mode: AuthType
 18 |     @Published public var incorrectHash: Bool?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 19 |     @Published public var interactionMode: InteractionMode
 20 |     @Published public var incorrectCount: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 17 |     public var mode: AuthType
 18 |     @Published public var incorrectHash: Bool?
 19 |     @Published public var interactionMode: InteractionMode
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 20 |     @Published public var incorrectCount: Int = 0
 21 |     @Published public var repeatInput: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 18 |     @Published public var incorrectHash: Bool?
 19 |     @Published public var interactionMode: InteractionMode
 20 |     @Published public var incorrectCount: Int = 0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 21 |     @Published public var repeatInput: Bool?
 22 |     @Published public var requireConfirmation: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:21:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 19 |     @Published public var interactionMode: InteractionMode
 20 |     @Published public var incorrectCount: Int = 0
 21 |     @Published public var repeatInput: Bool?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 22 |     @Published public var requireConfirmation: Bool?
 23 |     @Published public var expectedHash: String?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:22:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 20 |     @Published public var incorrectCount: Int = 0
 21 |     @Published public var repeatInput: Bool?
 22 |     @Published public var requireConfirmation: Bool?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 23 |     @Published public var expectedHash: String?
 24 |     public var minimumVertices: Int? = 6
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 21 |     @Published public var repeatInput: Bool?
 22 |     @Published public var requireConfirmation: Bool?
 23 |     @Published public var expectedHash: String?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 24 |     public var minimumVertices: Int? = 6
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 23 |     @Published public var expectedHash: String?
 24 |     public var minimumVertices: Int? = 6
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |     @Published public var setupCompletion: ((String) -> Void)?
 27 |     @Published public var confirmationState: ConfirmationState = .initial
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:26:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 24 |     public var minimumVertices: Int? = 6
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
 26 |     @Published public var setupCompletion: ((String) -> Void)?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 27 |     @Published public var confirmationState: ConfirmationState = .initial
 28 |     @Published public var firstPatternHash: String?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 25 |     @Published public var authCompletion: ((Bool) -> Void)?
 26 |     @Published public var setupCompletion: ((String) -> Void)?
 27 |     @Published public var confirmationState: ConfirmationState = .initial
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 28 |     @Published public var firstPatternHash: String?
 29 |     @Published public var isSimulating: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:28:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 26 |     @Published public var setupCompletion: ((String) -> Void)?
 27 |     @Published public var confirmationState: ConfirmationState = .initial
 28 |     @Published public var firstPatternHash: String?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 29 |     @Published public var isSimulating: Bool = false
 30 |     private var simulationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 27 |     @Published public var confirmationState: ConfirmationState = .initial
 28 |     @Published public var firstPatternHash: String?
 29 |     @Published public var isSimulating: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 30 |     private var simulationTask: Task<Void, Never>?
 31 |     @Published public var isDragging: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:30:33: error: 'Task' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 28 |     @Published public var firstPatternHash: String?
 29 |     @Published public var isSimulating: Bool = false
 30 |     private var simulationTask: Task<Void, Never>?
    |                                 `- error: 'Task' is only available in macOS 10.15 or newer
 31 |     @Published public var isDragging: Bool = false
 32 |     @Published public var lastDragError: String?
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 29 |     @Published public var isSimulating: Bool = false
 30 |     private var simulationTask: Task<Void, Never>?
 31 |     @Published public var isDragging: Bool = false
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     @Published public var lastDragError: String?
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 30 |     private var simulationTask: Task<Void, Never>?
 31 |     @Published public var isDragging: Bool = false
 32 |     @Published public var lastDragError: String?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |
 34 |     public var mostRecentSelection: Int? {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:74:34: error: 'DragGesture' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
    :
 72 |     }
 73 |
 74 |     public func duringDrag(drag: DragGesture.Value) {
    |                 |                `- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 75 |         isDragging = true
 76 |         if !locked {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:233:65: error: 'blue' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
    |                                                                 `- error: 'blue' is only available in macOS 10.15 or newer
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:233:56: error: 'Color' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
    |                                                        `- error: 'Color' is only available in macOS 10.15 or newer
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:234:60: error: 'blue' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
    |                                                            `- error: 'blue' is only available in macOS 10.15 or newer
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:234:51: error: 'Color' is only available in macOS 10.15 or newer
230 |     }
231 |
232 |     public enum GridAuthenticatorOption {
    |                 `- note: add @available attribute to enclosing enum
233 |         case authenticate(expectedHash: String, color: Color = .blue, interactionMode: InteractionMode = .drag, debug: Bool = false, completion: (Bool) -> Void)
234 |         case set(minimumVertices: Int = 6, color: Color = .blue, interactionMode: InteractionMode = .drag, requireConfirmation: Bool = true, repeatInput: Bool = true, debug: Bool = false, completion: (String) -> Void)
    |                                                   `- error: 'Color' is only available in macOS 10.15 or newer
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/GridAuthenticatorViewModel.swift:10:42: error: 'ObservableObject' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public class GridAuthenticatorViewModel: ObservableObject {
    |              |                           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing class
 11 |     @Published public var selectedCardsIndices: [Int] = []
 12 |     @Published public var cardsData: [CardPreferenceData] = []
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:7:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
  8 |
  9 |     public init(_ gridAuthModel: GridAuthenticatorViewModel.GridAuthenticatorOption) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:13:36: error: 'GridItem' is only available in macOS 11.0 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
  8 |
    :
 11 |     }
 12 |
 13 |     let columns = Array(repeating: GridItem(.fixed(60), spacing: 40), count: 3)
    |                                    `- error: 'GridItem' is only available in macOS 11.0 or newer
 14 |
 15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
  4 | import SwiftUI
  5 |
  6 | public struct GridAuthenticator: View {
    |               `- note: add @available attribute to enclosing struct
  7 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
  8 |
    :
 13 |     let columns = Array(repeating: GridItem(.fixed(60), spacing: 40), count: 3)
 14 |
 15 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 16 |         VStack {
 17 |             if viewModel.debug {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:134:6: error: 'State' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:135:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
136 |
137 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/PatternAuthentication.swift:137:27: error: 'View' is only available in macOS 10.15 or newer
130 | }
131 |
132 | public struct GlowyCircle: View {
    |               `- note: add @available attribute to enclosing struct
133 |     public var index: Int
134 |     @State public var isBeingTouched: Bool = false
135 |     @ObservedObject public var viewModel: GridAuthenticatorViewModel
136 |
137 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
138 |         ZStack {
139 |             Circle()
[7/7] Compiling PatternAuthentication ParticleSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:13:36: error: 'now' is only available in macOS 12 or newer
 8 | import CryptoKit
 9 |
10 | public struct Particle: Hashable {
   |               `- note: add @available attribute to enclosing struct
11 |     public let x: Double
12 |     public let y: Double
13 |     public let creationDate = Date.now.timeIntervalSinceReferenceDate
   |                                    `- error: 'now' is only available in macOS 12 or newer
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:17:54: error: type 'Bundle' has no member 'module'
15 |
16 | public class ParticleSystem {
17 |     public let image = Image("spark", bundle: Bundle.module)
   |                                                      `- error: type 'Bundle' has no member 'module'
18 |     public var particles = Set<Particle>()
19 |     public var center = UnitPoint.center
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:19:25: error: 'UnitPoint' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public class ParticleSystem {
   |              `- note: add @available attribute to enclosing class
17 |     public let image = Image("spark", bundle: Bundle.module)
18 |     public var particles = Set<Particle>()
19 |     public var center = UnitPoint.center
   |                         `- error: 'UnitPoint' is only available in macOS 10.15 or newer
20 |
21 |     public func update(date: TimeInterval) {
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:39:16: error: 'SHA256' is only available in macOS 10.15 or newer
35 | }
36 |
37 | public func hashArray(_ array: [Int]) -> String {
   |             `- note: add @available attribute to enclosing global function
38 |     let data = array.withUnsafeBytes { Data($0) }
39 |     let hash = SHA256.hash(data: data)
   |                |- error: 'SHA256' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
40 |     return hash.compactMap { String(format: "%02x", $0) }.joined()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:39:23: error: 'hash(data:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | public func hashArray(_ array: [Int]) -> String {
   |             `- note: add @available attribute to enclosing global function
38 |     let data = array.withUnsafeBytes { Data($0) }
39 |     let hash = SHA256.hash(data: data)
   |                       |- error: 'hash(data:)' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
40 |     return hash.compactMap { String(format: "%02x", $0) }.joined()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Animations/ParticleSystem.swift:40:17: warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func hashArray(_ array: [Int]) -> String {
   |             `- note: add @available attribute to enclosing global function
38 |     let data = array.withUnsafeBytes { Data($0) }
39 |     let hash = SHA256.hash(data: data)
40 |     return hash.compactMap { String(format: "%02x", $0) }.joined()
   |                 |- warning: conformance of 'SHA256Digest' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
41 | }
42 |
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Images': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Media.xcassets': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/PatternAuthentication/Media.xcassets
BUILD FAILURE 6.2 macosSpm