The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hellgate-iOS-SDK, reference v1.0.0 (952c34), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 14:49:27 UTC.

Build Command

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

Build Log

    |            `- note: add '@available' attribute to enclosing initializer
105 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
106 |         image: ImagePosition,
107 |         padding: CGFloat = 0,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:123:27: error: 'View' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:160:34: error: 'View' is only available in macOS 10.15 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:182:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
180 |     let completeStateBind = Binding { completeState } set: { state in completeState = state }
181 |
182 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
183 |         VStack {
184 |             CardNumberView(
<unknown>:0: error: cannot convert value of type 'KeyPath<CardNumberViewViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<CardNumberViewViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CardNumberViewViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<CardNumberViewViewModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CardNumberViewViewModel, CardBrand>' to expected argument type 'ReferenceWritableKeyPath<CardNumberViewViewModel, CardBrand>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:30:9: error: setter for 'value' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
 27 |         cardBrand: CardBrand,
 28 |         queue: DispatchQueue = .main
 29 |     ) {
 30 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 31 |         self.cardBrand = cardBrand
 32 |         self.queue = queue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:31:9: error: setter for 'cardBrand' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
 27 |         cardBrand: CardBrand,
    :
 29 |     ) {
 30 |         self.value = viewState.wrappedValue.value
 31 |         self.cardBrand = cardBrand
    |         |- error: setter for 'cardBrand' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 32 |         self.queue = queue
 33 |         self._viewState = viewState
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:36:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
 27 |         cardBrand: CardBrand,
    :
 34 |
 35 |         cancellable = self.$value
 36 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |             self?.update(value: newValue)
 38 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:44:13: error: setter for 'cardBrand' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 39 |     }
 40 |
 41 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 42 |         queue.async { [weak self] in
 43 |             guard let self = self else { return }
 44 |             self.cardBrand = CardBrand.first(from: value)
    |             |- error: setter for 'cardBrand' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 45 |
 46 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:50:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 39 |     }
 40 |
 41 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 42 |         queue.async { [weak self] in
 43 |             guard let self = self else { return }
    :
 48 | #endif
 49 |
 50 |             self.viewState = self.state(brand: self.cardBrand, value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 51 |             self.color = self.color(state: self.viewState.state)
 52 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:51:13: error: setter for 'color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 39 |     }
 40 |
 41 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 42 |         queue.async { [weak self] in
 43 |             guard let self = self else { return }
    :
 49 |
 50 |             self.viewState = self.state(brand: self.cardBrand, value: value)
 51 |             self.color = self.color(state: self.viewState.state)
    |             |- error: setter for 'color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 52 |         }
 53 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:111:27: error: 'StateObject' is only available in macOS 11.0 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
102 |     }
103 |
104 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
105 |         viewState: Binding<ViewState>,
106 |         image: ImagePosition,
    :
109 |         onEnd: (() -> Void)? = nil
110 |     ) {
111 |         self._viewModel = StateObject(
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
112 |             wrappedValue: CardNumberViewViewModel(
113 |                 viewState: viewState,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:124:25: error: 'Image' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
    |                         |- error: 'Image' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
125 |             viewModel.cardBrand.details.icon,
126 |             bundle: .hellgateModule
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:124:25: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
    |                         |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
125 |             viewModel.cardBrand.details.icon,
126 |             bundle: .hellgateModule
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:128:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
126 |             bundle: .hellgateModule
127 |         )
128 |             .resizable()
    |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
129 |             .aspectRatio(contentMode: .fit)
130 |             .padding([.horizontal], Constant.INTERNAL_PADDING)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:129:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
    :
127 |         )
128 |             .resizable()
129 |             .aspectRatio(contentMode: .fit)
    |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
130 |             .padding([.horizontal], Constant.INTERNAL_PADDING)
131 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:130:14: error: 'padding' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
    :
128 |             .resizable()
129 |             .aspectRatio(contentMode: .fit)
130 |             .padding([.horizontal], Constant.INTERNAL_PADDING)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
131 |
132 |         return HStack {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:138:35: error: cannot assign to property: '$viewModel' is immutable
136 |
137 |             WrappedUITextField(
138 |                 value: $viewModel.value,
    |                                   `- error: cannot assign to property: '$viewModel' is immutable
139 |                 placeholder: Constant.PLACEHOLDER_TEXT,
140 |                 fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:142:35: error: cannot infer contextual base in reference to member 'white'
140 |                 fontSize: 16,
141 |                 foregroundColor: viewModel.color,
142 |                 backgroundColor: .white,
    |                                   `- error: cannot infer contextual base in reference to member 'white'
143 |                 keyboardType: .numberPad,
144 |                 formatter: CardNumberFormatter(),
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:143:32: error: cannot infer contextual base in reference to member 'numberPad'
141 |                 foregroundColor: viewModel.color,
142 |                 backgroundColor: .white,
143 |                 keyboardType: .numberPad,
    |                                `- error: cannot infer contextual base in reference to member 'numberPad'
144 |                 formatter: CardNumberFormatter(),
145 |                 onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:162:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
164 |                 .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:163:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
164 |                 .stroke(.secondary)
165 |         )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:164:18: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
164 |                 .stroke(.secondary)
    |                  |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
165 |         )
166 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:164:26: error: 'secondary' is only available in macOS 12.0 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
164 |                 .stroke(.secondary)
    |                          |- error: 'secondary' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
165 |         )
166 |     }
[18/31] Compiling Hellgate_iOS_SDK CvcFormatter.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:10:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "Card number"
  6 |
    :
  8 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:10:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "Card number"
  6 |
    :
  8 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:11:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "Card number"
  6 |
    :
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let DEFAULT_COLOR = Color.black
 13 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:11:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "Card number"
  6 |
    :
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let DEFAULT_COLOR = Color.black
 13 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:12:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "Card number"
  6 |
    :
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:12:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "Card number"
  6 |
    :
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:19:36: error: 'black' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
 18 |     @Published var value: String = ""
 19 |     @Published var color: Color = .black
    |                                    `- error: 'black' is only available in macOS 10.15 or newer
 20 |     @Published var cardBrand: CardBrand = .unknown
 21 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 |     @Published var value: String = ""
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
 18 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 19 |     @Published var color: Color = .black
 20 |     @Published var cardBrand: CardBrand = .unknown
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:19:27: error: 'Color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
 18 |     @Published var value: String = ""
 19 |     @Published var color: Color = .black
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 20 |     @Published var cardBrand: CardBrand = .unknown
 21 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
 18 |     @Published var value: String = ""
 19 |     @Published var color: Color = .black
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 20 |     @Published var cardBrand: CardBrand = .unknown
 21 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
 18 |     @Published var value: String = ""
 19 |     @Published var color: Color = .black
 20 |     @Published var cardBrand: CardBrand = .unknown
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 21 |     private let queue: DispatchQueue
 22 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:23:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 21 |     private let queue: DispatchQueue
 22 |
 23 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 24 |
 25 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:26:20: error: 'Binding' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 27 |         cardBrand: CardBrand,
 28 |         queue: DispatchQueue = .main
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:55:50: error: 'Color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 53 |     }
 54 |
 55 |     private func color(state: ComponentState) -> Color {
    |                  |                               `- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 56 |         switch state {
 57 |         case .complete: return Constant.COMPLETE_COLOR
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:90:6: error: 'StateObject' is only available in macOS 11.0 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 91 |
 92 |     let image: ImagePosition
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:105:20: error: 'Binding' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
102 |     }
103 |
104 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
105 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
106 |         image: ImagePosition,
107 |         padding: CGFloat = 0,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:123:27: error: 'View' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:160:34: error: 'View' is only available in macOS 10.15 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:182:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
180 |     let completeStateBind = Binding { completeState } set: { state in completeState = state }
181 |
182 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
183 |         VStack {
184 |             CardNumberView(
<unknown>:0: error: cannot convert value of type 'KeyPath<CardNumberViewViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<CardNumberViewViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CardNumberViewViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<CardNumberViewViewModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CardNumberViewViewModel, CardBrand>' to expected argument type 'ReferenceWritableKeyPath<CardNumberViewViewModel, CardBrand>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:30:9: error: setter for 'value' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
 27 |         cardBrand: CardBrand,
 28 |         queue: DispatchQueue = .main
 29 |     ) {
 30 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 31 |         self.cardBrand = cardBrand
 32 |         self.queue = queue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:31:9: error: setter for 'cardBrand' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
 27 |         cardBrand: CardBrand,
    :
 29 |     ) {
 30 |         self.value = viewState.wrappedValue.value
 31 |         self.cardBrand = cardBrand
    |         |- error: setter for 'cardBrand' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 32 |         self.queue = queue
 33 |         self._viewState = viewState
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:36:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 23 |     var cancellable: AnyCancellable?
 24 |
 25 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 26 |         viewState: Binding<ViewState>,
 27 |         cardBrand: CardBrand,
    :
 34 |
 35 |         cancellable = self.$value
 36 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |             self?.update(value: newValue)
 38 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:44:13: error: setter for 'cardBrand' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 39 |     }
 40 |
 41 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 42 |         queue.async { [weak self] in
 43 |             guard let self = self else { return }
 44 |             self.cardBrand = CardBrand.first(from: value)
    |             |- error: setter for 'cardBrand' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 45 |
 46 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:50:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 39 |     }
 40 |
 41 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 42 |         queue.async { [weak self] in
 43 |             guard let self = self else { return }
    :
 48 | #endif
 49 |
 50 |             self.viewState = self.state(brand: self.cardBrand, value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 51 |             self.color = self.color(state: self.viewState.state)
 52 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:51:13: error: setter for 'color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class CardNumberViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |
    :
 39 |     }
 40 |
 41 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 42 |         queue.async { [weak self] in
 43 |             guard let self = self else { return }
    :
 49 |
 50 |             self.viewState = self.state(brand: self.cardBrand, value: value)
 51 |             self.color = self.color(state: self.viewState.state)
    |             |- error: setter for 'color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 52 |         }
 53 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:111:27: error: 'StateObject' is only available in macOS 11.0 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
102 |     }
103 |
104 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
105 |         viewState: Binding<ViewState>,
106 |         image: ImagePosition,
    :
109 |         onEnd: (() -> Void)? = nil
110 |     ) {
111 |         self._viewModel = StateObject(
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
112 |             wrappedValue: CardNumberViewViewModel(
113 |                 viewState: viewState,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:124:25: error: 'Image' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
    |                         |- error: 'Image' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
125 |             viewModel.cardBrand.details.icon,
126 |             bundle: .hellgateModule
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:124:25: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
    |                         |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
125 |             viewModel.cardBrand.details.icon,
126 |             bundle: .hellgateModule
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:128:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
126 |             bundle: .hellgateModule
127 |         )
128 |             .resizable()
    |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
129 |             .aspectRatio(contentMode: .fit)
130 |             .padding([.horizontal], Constant.INTERNAL_PADDING)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:129:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
    :
127 |         )
128 |             .resizable()
129 |             .aspectRatio(contentMode: .fit)
    |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
130 |             .padding([.horizontal], Constant.INTERNAL_PADDING)
131 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:130:14: error: 'padding' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | public struct CardNumberView: View {
    |               `- note: add '@available' attribute to enclosing struct
 90 |     @StateObject var viewModel: CardNumberViewViewModel
 91 |
    :
121 |     }
122 |
123 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
124 |         let imageView = Image(
125 |             viewModel.cardBrand.details.icon,
    :
128 |             .resizable()
129 |             .aspectRatio(contentMode: .fit)
130 |             .padding([.horizontal], Constant.INTERNAL_PADDING)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
131 |
132 |         return HStack {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:138:35: error: cannot assign to property: '$viewModel' is immutable
136 |
137 |             WrappedUITextField(
138 |                 value: $viewModel.value,
    |                                   `- error: cannot assign to property: '$viewModel' is immutable
139 |                 placeholder: Constant.PLACEHOLDER_TEXT,
140 |                 fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:142:35: error: cannot infer contextual base in reference to member 'white'
140 |                 fontSize: 16,
141 |                 foregroundColor: viewModel.color,
142 |                 backgroundColor: .white,
    |                                   `- error: cannot infer contextual base in reference to member 'white'
143 |                 keyboardType: .numberPad,
144 |                 formatter: CardNumberFormatter(),
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:143:32: error: cannot infer contextual base in reference to member 'numberPad'
141 |                 foregroundColor: viewModel.color,
142 |                 backgroundColor: .white,
143 |                 keyboardType: .numberPad,
    |                                `- error: cannot infer contextual base in reference to member 'numberPad'
144 |                 formatter: CardNumberFormatter(),
145 |                 onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:162:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
164 |                 .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:163:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
164 |                 .stroke(.secondary)
165 |         )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:164:18: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
164 |                 .stroke(.secondary)
    |                  |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
165 |         )
166 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CardNumberView.swift:164:26: error: 'secondary' is only available in macOS 12.0 or newer
157 | }
158 |
159 | extension CardNumberView {
    | `- note: add '@available' attribute to enclosing extension
160 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
161 |         self
162 |             .overlay(
163 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
164 |                 .stroke(.secondary)
    |                          |- error: 'secondary' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
165 |         )
166 |     }
[19/31] Compiling Hellgate_iOS_SDK CardBrand.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:8:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:8:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:9:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 10 |     static let DEFAULT_COLOR = Color.black
 11 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:9:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 10 |     static let DEFAULT_COLOR = Color.black
 11 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:10:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
    :
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 | }
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:10:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
    :
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 | }
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:29:6: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |     @Published var value: String = ""
 31 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 31 |     let placeholder: String
 32 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:34:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 32 |     private let queue: DispatchQueue
 33 |
 34 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 35 |
 36 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:38:20: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 39 |         queue: DispatchQueue = .main
 40 |     ) {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:67:6: error: 'StateObject' is only available in macOS 11.0 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 68 |     let padding: CGFloat
 69 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:75:20: error: 'Binding' is only available in macOS 10.15 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 71 |     let onEnd: (() -> Void)?
 72 |
 73 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 74 |         type: AdditionalFieldType,
 75 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 76 |         padding: CGFloat = 0,
 77 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:86:27: error: 'View' is only available in macOS 10.15 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 84 |     }
 85 |
 86 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 87 |         WrappedUITextField(
 88 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:104:34: error: 'View' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:120:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
118 |     let defaultStateBind = Binding { defaultState } set: { state in defaultState = state }
119 |
120 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
121 |         VStack {
122 |             Text("Default")
<unknown>:0: error: cannot convert value of type 'KeyPath<AdditionalFieldsViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<AdditionalFieldsViewModel, String>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:42:9: error: setter for 'value' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    :
 40 |     ) {
 41 |         self._viewState = viewState
 42 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 43 |         self.queue = queue
 44 |         self.placeholder = type.label
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:47:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    :
 45 |
 46 |         cancellable = self.$value
 47 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 48 |                 self?.update(value: newValue)
 49 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:56:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 50 |     }
 51 |
 52 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 53 |         queue.async { [weak self] in
 54 |             guard let self = self else { return }
 55 |
 56 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |         }
 58 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:80:27: error: 'StateObject' is only available in macOS 11.0 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 71 |     let onEnd: (() -> Void)?
 72 |
 73 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 74 |         type: AdditionalFieldType,
 75 |         viewState: Binding<ViewState>,
    :
 78 |         onEnd: (() -> Void)? = nil
 79 |     ) {
 80 |         self._viewModel = StateObject(wrappedValue: AdditionalFieldsViewModel(type: type, viewState: viewState))
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 81 |         self.padding = padding
 82 |         self.onBegin = onBegin
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:88:31: error: cannot assign to property: '$viewModel' is immutable
 86 |     public var body: some View {
 87 |         WrappedUITextField(
 88 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
 89 |             placeholder: viewModel.placeholder,
 90 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:91:31: error: cannot infer contextual base in reference to member 'black'
 89 |             placeholder: viewModel.placeholder,
 90 |             fontSize: 16,
 91 |             foregroundColor: .black,
    |                               `- error: cannot infer contextual base in reference to member 'black'
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:92:31: error: cannot infer contextual base in reference to member 'white'
 90 |             fontSize: 16,
 91 |             foregroundColor: .black,
 92 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
 93 |             keyboardType: .default,
 94 |             formatter: nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:93:28: error: cannot infer contextual base in reference to member 'default'
 91 |             foregroundColor: .black,
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
    |                            `- error: cannot infer contextual base in reference to member 'default'
 94 |             formatter: nil,
 95 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:94:24: error: 'nil' requires a contextual type
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
 94 |             formatter: nil,
    |                        `- error: 'nil' requires a contextual type
 95 |             onBegin: onBegin,
 96 |             onEnd: onEnd
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:106:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:107:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
108 |                     .stroke(.secondary)
109 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:108:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
109 |             )
110 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:108:30: error: 'secondary' is only available in macOS 12.0 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
109 |             )
110 |     }
[20/31] Compiling Hellgate_iOS_SDK CardUtils.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:8:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:8:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:9:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 10 |     static let DEFAULT_COLOR = Color.black
 11 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:9:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 10 |     static let DEFAULT_COLOR = Color.black
 11 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:10:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
    :
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 | }
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:10:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
    :
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 | }
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:29:6: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |     @Published var value: String = ""
 31 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 31 |     let placeholder: String
 32 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:34:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 32 |     private let queue: DispatchQueue
 33 |
 34 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 35 |
 36 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:38:20: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 39 |         queue: DispatchQueue = .main
 40 |     ) {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:67:6: error: 'StateObject' is only available in macOS 11.0 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 68 |     let padding: CGFloat
 69 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:75:20: error: 'Binding' is only available in macOS 10.15 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 71 |     let onEnd: (() -> Void)?
 72 |
 73 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 74 |         type: AdditionalFieldType,
 75 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 76 |         padding: CGFloat = 0,
 77 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:86:27: error: 'View' is only available in macOS 10.15 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 84 |     }
 85 |
 86 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 87 |         WrappedUITextField(
 88 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:104:34: error: 'View' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:120:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
118 |     let defaultStateBind = Binding { defaultState } set: { state in defaultState = state }
119 |
120 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
121 |         VStack {
122 |             Text("Default")
<unknown>:0: error: cannot convert value of type 'KeyPath<AdditionalFieldsViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<AdditionalFieldsViewModel, String>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:42:9: error: setter for 'value' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    :
 40 |     ) {
 41 |         self._viewState = viewState
 42 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 43 |         self.queue = queue
 44 |         self.placeholder = type.label
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:47:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    :
 45 |
 46 |         cancellable = self.$value
 47 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 48 |                 self?.update(value: newValue)
 49 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:56:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 50 |     }
 51 |
 52 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 53 |         queue.async { [weak self] in
 54 |             guard let self = self else { return }
 55 |
 56 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |         }
 58 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:80:27: error: 'StateObject' is only available in macOS 11.0 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 71 |     let onEnd: (() -> Void)?
 72 |
 73 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 74 |         type: AdditionalFieldType,
 75 |         viewState: Binding<ViewState>,
    :
 78 |         onEnd: (() -> Void)? = nil
 79 |     ) {
 80 |         self._viewModel = StateObject(wrappedValue: AdditionalFieldsViewModel(type: type, viewState: viewState))
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 81 |         self.padding = padding
 82 |         self.onBegin = onBegin
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:88:31: error: cannot assign to property: '$viewModel' is immutable
 86 |     public var body: some View {
 87 |         WrappedUITextField(
 88 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
 89 |             placeholder: viewModel.placeholder,
 90 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:91:31: error: cannot infer contextual base in reference to member 'black'
 89 |             placeholder: viewModel.placeholder,
 90 |             fontSize: 16,
 91 |             foregroundColor: .black,
    |                               `- error: cannot infer contextual base in reference to member 'black'
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:92:31: error: cannot infer contextual base in reference to member 'white'
 90 |             fontSize: 16,
 91 |             foregroundColor: .black,
 92 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
 93 |             keyboardType: .default,
 94 |             formatter: nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:93:28: error: cannot infer contextual base in reference to member 'default'
 91 |             foregroundColor: .black,
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
    |                            `- error: cannot infer contextual base in reference to member 'default'
 94 |             formatter: nil,
 95 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:94:24: error: 'nil' requires a contextual type
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
 94 |             formatter: nil,
    |                        `- error: 'nil' requires a contextual type
 95 |             onBegin: onBegin,
 96 |             onEnd: onEnd
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:106:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:107:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
108 |                     .stroke(.secondary)
109 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:108:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
109 |             )
110 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:108:30: error: 'secondary' is only available in macOS 12.0 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
109 |             )
110 |     }
[21/31] Compiling Hellgate_iOS_SDK AdditionalFieldsView.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:8:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:8:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:9:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 10 |     static let DEFAULT_COLOR = Color.black
 11 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:9:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  7 |
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 10 |     static let DEFAULT_COLOR = Color.black
 11 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:10:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
    :
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 | }
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:10:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let INTERNAL_PADDING: CGFloat = 4
  6 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
    :
  8 |     static let COMPLETE_COLOR = Color.blue
  9 |     static let INVALID_COLOR = Color.red
 10 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 | }
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:29:6: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |     @Published var value: String = ""
 31 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 31 |     let placeholder: String
 32 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:34:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 32 |     private let queue: DispatchQueue
 33 |
 34 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 35 |
 36 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:38:20: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 39 |         queue: DispatchQueue = .main
 40 |     ) {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:67:6: error: 'StateObject' is only available in macOS 11.0 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 68 |     let padding: CGFloat
 69 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:75:20: error: 'Binding' is only available in macOS 10.15 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 71 |     let onEnd: (() -> Void)?
 72 |
 73 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 74 |         type: AdditionalFieldType,
 75 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 76 |         padding: CGFloat = 0,
 77 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:86:27: error: 'View' is only available in macOS 10.15 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 84 |     }
 85 |
 86 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 87 |         WrappedUITextField(
 88 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:104:34: error: 'View' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:120:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
118 |     let defaultStateBind = Binding { defaultState } set: { state in defaultState = state }
119 |
120 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
121 |         VStack {
122 |             Text("Default")
<unknown>:0: error: cannot convert value of type 'KeyPath<AdditionalFieldsViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<AdditionalFieldsViewModel, String>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:42:9: error: setter for 'value' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    :
 40 |     ) {
 41 |         self._viewState = viewState
 42 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 43 |         self.queue = queue
 44 |         self.placeholder = type.label
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:47:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     var cancellable: AnyCancellable?
 35 |
 36 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 37 |         type: AdditionalFieldType,
 38 |         viewState: Binding<ViewState>,
    :
 45 |
 46 |         cancellable = self.$value
 47 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 48 |                 self?.update(value: newValue)
 49 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:56:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class AdditionalFieldsViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 50 |     }
 51 |
 52 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 53 |         queue.async { [weak self] in
 54 |             guard let self = self else { return }
 55 |
 56 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |         }
 58 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:80:27: error: 'StateObject' is only available in macOS 11.0 or newer
 64 | }
 65 |
 66 | public struct AdditionalFieldsView: View {
    |               `- note: add '@available' attribute to enclosing struct
 67 |     @StateObject var viewModel: AdditionalFieldsViewModel
 68 |     let padding: CGFloat
    :
 71 |     let onEnd: (() -> Void)?
 72 |
 73 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 74 |         type: AdditionalFieldType,
 75 |         viewState: Binding<ViewState>,
    :
 78 |         onEnd: (() -> Void)? = nil
 79 |     ) {
 80 |         self._viewModel = StateObject(wrappedValue: AdditionalFieldsViewModel(type: type, viewState: viewState))
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 81 |         self.padding = padding
 82 |         self.onBegin = onBegin
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:88:31: error: cannot assign to property: '$viewModel' is immutable
 86 |     public var body: some View {
 87 |         WrappedUITextField(
 88 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
 89 |             placeholder: viewModel.placeholder,
 90 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:91:31: error: cannot infer contextual base in reference to member 'black'
 89 |             placeholder: viewModel.placeholder,
 90 |             fontSize: 16,
 91 |             foregroundColor: .black,
    |                               `- error: cannot infer contextual base in reference to member 'black'
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:92:31: error: cannot infer contextual base in reference to member 'white'
 90 |             fontSize: 16,
 91 |             foregroundColor: .black,
 92 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
 93 |             keyboardType: .default,
 94 |             formatter: nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:93:28: error: cannot infer contextual base in reference to member 'default'
 91 |             foregroundColor: .black,
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
    |                            `- error: cannot infer contextual base in reference to member 'default'
 94 |             formatter: nil,
 95 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:94:24: error: 'nil' requires a contextual type
 92 |             backgroundColor: .white,
 93 |             keyboardType: .default,
 94 |             formatter: nil,
    |                        `- error: 'nil' requires a contextual type
 95 |             onBegin: onBegin,
 96 |             onEnd: onEnd
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:106:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:107:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
108 |                     .stroke(.secondary)
109 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:108:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
109 |             )
110 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/AdditionalFieldsView.swift:108:30: error: 'secondary' is only available in macOS 12.0 or newer
101 | }
102 |
103 | extension AdditionalFieldsView {
    | `- note: add '@available' attribute to enclosing extension
104 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
105 |         self
106 |             .overlay(
107 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
108 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
109 |             )
110 |     }
[22/31] Compiling Hellgate_iOS_SDK SessionResponse.swift
[23/31] Compiling Hellgate_iOS_SDK SessionState.swift
[24/31] Compiling Hellgate_iOS_SDK TokenService.swift
[25/31] Compiling Hellgate_iOS_SDK Hellgate.swift
[26/31] Compiling Hellgate_iOS_SDK InvalidSessionState.swift
[27/31] Compiling Hellgate_iOS_SDK SessionCompleteTokenizeCard.swift
[28/31] Compiling Hellgate_iOS_SDK CvcView.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:11:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
  9 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:11:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
  9 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:12:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 |     static let DEFAULT_COLOR = Color.black
 14 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:12:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 |     static let DEFAULT_COLOR = Color.black
 14 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:13:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 14 | }
 15 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:13:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 14 | }
 15 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:31:36: error: 'black' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
    |                                    `- error: 'black' is only available in macOS 10.15 or newer
 32 |     let length: UInt
 33 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:29:6: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 31 |     @Published var color: Color = .black
 32 |     let length: UInt
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:31:27: error: 'Color' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 32 |     let length: UInt
 33 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     let length: UInt
 33 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:36:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     private let queue: DispatchQueue
 35 |
 36 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 37 |
 38 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:39:20: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 36 |     var cancellable: AnyCancellable?
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 40 |         length: Cvc,
 41 |         queue: DispatchQueue = .main
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:64:50: error: 'Color' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 62 |     }
 63 |
 64 |     private func color(state: ComponentState) -> Color {
    |                  |                               `- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 65 |         switch state {
 66 |         case .complete: return Constant.COMPLETE_COLOR
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:80:6: error: 'StateObject' is only available in macOS 11.0 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 81 |     let padding: CGFloat
 82 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:87:20: error: 'Binding' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
 81 |     let padding: CGFloat
    :
 84 |     let onEnd: (() -> Void)?
 85 |
 86 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 87 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 88 |         length: Cvc,
 89 |         padding: CGFloat = 0,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:104:27: error: 'View' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
 81 |     let padding: CGFloat
    :
102 |     }
103 |
104 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
105 |         WrappedUITextField(
106 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:122:34: error: 'View' is only available in macOS 10.15 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:144:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
142 |     let filledStateBind2 = Binding { filledState2 } set: { state in filledState2 = state }
143 |
144 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
145 |         Text("Default")
146 |         CvcView(
<unknown>:0: error: cannot convert value of type 'KeyPath<CvcViewViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<CvcViewViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CvcViewViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<CvcViewViewModel, Color>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:44:9: error: setter for 'value' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 36 |     var cancellable: AnyCancellable?
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         viewState: Binding<ViewState>,
 40 |         length: Cvc,
    :
 42 |     ) {
 43 |         self._viewState = viewState
 44 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |         self.length = length.rawValue
 46 |         self.queue = queue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:50:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 36 |     var cancellable: AnyCancellable?
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         viewState: Binding<ViewState>,
 40 |         length: Cvc,
    :
 48 |
 49 |         cancellable = self.$value
 50 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 51 |                 self?.update(value: newValue)
 52 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:59:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 53 |     }
 54 |
 55 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 56 |         queue.async { [weak self] in
 57 |             guard let self = self else { return }
 58 |
 59 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 60 |             self.color = self.color(state: self.viewState.state)
 61 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:60:13: error: setter for 'color' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 53 |     }
 54 |
 55 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 56 |         queue.async { [weak self] in
 57 |             guard let self = self else { return }
 58 |
 59 |             self.viewState = self.state(value: value)
 60 |             self.color = self.color(state: self.viewState.state)
    |             |- error: setter for 'color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 61 |         }
 62 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:93:27: error: 'StateObject' is only available in macOS 11.0 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
 81 |     let padding: CGFloat
    :
 84 |     let onEnd: (() -> Void)?
 85 |
 86 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 87 |         viewState: Binding<ViewState>,
 88 |         length: Cvc,
    :
 91 |         onEnd: (() -> Void)? = nil
 92 |     ) {
 93 |         self._viewModel = StateObject(
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 94 |             wrappedValue: CvcViewViewModel(
 95 |                 viewState: viewState,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:106:31: error: cannot assign to property: '$viewModel' is immutable
104 |     public var body: some View {
105 |         WrappedUITextField(
106 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
107 |             placeholder: viewModel.placeholder,
108 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:110:31: error: cannot infer contextual base in reference to member 'white'
108 |             fontSize: 16,
109 |             foregroundColor: viewModel.color,
110 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
111 |             keyboardType: .numberPad,
112 |             formatter: CvcFormatter(maxLength: viewModel.length),
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:111:28: error: cannot infer contextual base in reference to member 'numberPad'
109 |             foregroundColor: viewModel.color,
110 |             backgroundColor: .white,
111 |             keyboardType: .numberPad,
    |                            `- error: cannot infer contextual base in reference to member 'numberPad'
112 |             formatter: CvcFormatter(maxLength: viewModel.length),
113 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:124:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
126 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:125:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
126 |                     .stroke(.secondary)
127 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:126:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
126 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
127 |             )
128 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:126:30: error: 'secondary' is only available in macOS 12.0 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
126 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
127 |             )
128 |     }
[29/31] Compiling Hellgate_iOS_SDK ExpiryDateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:11:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
  9 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:11:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
  9 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:12:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 |     static let DEFAULT_COLOR = Color.black
 14 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:12:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 10 |
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 |     static let DEFAULT_COLOR = Color.black
 14 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:13:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 14 | }
 15 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:13:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT_CVC = "CVC"
  6 |     static let PLACEHOLDER_TEXT_CVV = "CVV"
    :
 11 |     static let COMPLETE_COLOR = Color.blue
 12 |     static let INVALID_COLOR = Color.red
 13 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 14 | }
 15 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:31:36: error: 'black' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
    |                                    `- error: 'black' is only available in macOS 10.15 or newer
 32 |     let length: UInt
 33 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:29:6: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 31 |     @Published var color: Color = .black
 32 |     let length: UInt
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:31:27: error: 'Color' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 32 |     let length: UInt
 33 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
 31 |     @Published var color: Color = .black
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     let length: UInt
 33 |     let placeholder: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:36:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 34 |     private let queue: DispatchQueue
 35 |
 36 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 37 |
 38 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:39:20: error: 'Binding' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 36 |     var cancellable: AnyCancellable?
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 40 |         length: Cvc,
 41 |         queue: DispatchQueue = .main
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:64:50: error: 'Color' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 62 |     }
 63 |
 64 |     private func color(state: ComponentState) -> Color {
    |                  |                               `- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 65 |         switch state {
 66 |         case .complete: return Constant.COMPLETE_COLOR
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:80:6: error: 'StateObject' is only available in macOS 11.0 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 81 |     let padding: CGFloat
 82 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:87:20: error: 'Binding' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
 81 |     let padding: CGFloat
    :
 84 |     let onEnd: (() -> Void)?
 85 |
 86 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 87 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 88 |         length: Cvc,
 89 |         padding: CGFloat = 0,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:104:27: error: 'View' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
 81 |     let padding: CGFloat
    :
102 |     }
103 |
104 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
105 |         WrappedUITextField(
106 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:122:34: error: 'View' is only available in macOS 10.15 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:144:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
142 |     let filledStateBind2 = Binding { filledState2 } set: { state in filledState2 = state }
143 |
144 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
145 |         Text("Default")
146 |         CvcView(
<unknown>:0: error: cannot convert value of type 'KeyPath<CvcViewViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<CvcViewViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CvcViewViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<CvcViewViewModel, Color>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:44:9: error: setter for 'value' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 36 |     var cancellable: AnyCancellable?
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         viewState: Binding<ViewState>,
 40 |         length: Cvc,
    :
 42 |     ) {
 43 |         self._viewState = viewState
 44 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |         self.length = length.rawValue
 46 |         self.queue = queue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:50:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 36 |     var cancellable: AnyCancellable?
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         viewState: Binding<ViewState>,
 40 |         length: Cvc,
    :
 48 |
 49 |         cancellable = self.$value
 50 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 51 |                 self?.update(value: newValue)
 52 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:59:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 53 |     }
 54 |
 55 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 56 |         queue.async { [weak self] in
 57 |             guard let self = self else { return }
 58 |
 59 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 60 |             self.color = self.color(state: self.viewState.state)
 61 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:60:13: error: setter for 'color' is only available in macOS 10.15 or newer
 26 | }
 27 |
 28 | public class CvcViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 29 |     @Binding var viewState: ViewState
 30 |     @Published var value: String = ""
    :
 53 |     }
 54 |
 55 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 56 |         queue.async { [weak self] in
 57 |             guard let self = self else { return }
 58 |
 59 |             self.viewState = self.state(value: value)
 60 |             self.color = self.color(state: self.viewState.state)
    |             |- error: setter for 'color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 61 |         }
 62 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:93:27: error: 'StateObject' is only available in macOS 11.0 or newer
 77 | }
 78 |
 79 | public struct CvcView: View {
    |               `- note: add '@available' attribute to enclosing struct
 80 |     @StateObject var viewModel: CvcViewViewModel
 81 |     let padding: CGFloat
    :
 84 |     let onEnd: (() -> Void)?
 85 |
 86 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 87 |         viewState: Binding<ViewState>,
 88 |         length: Cvc,
    :
 91 |         onEnd: (() -> Void)? = nil
 92 |     ) {
 93 |         self._viewModel = StateObject(
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 94 |             wrappedValue: CvcViewViewModel(
 95 |                 viewState: viewState,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:106:31: error: cannot assign to property: '$viewModel' is immutable
104 |     public var body: some View {
105 |         WrappedUITextField(
106 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
107 |             placeholder: viewModel.placeholder,
108 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:110:31: error: cannot infer contextual base in reference to member 'white'
108 |             fontSize: 16,
109 |             foregroundColor: viewModel.color,
110 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
111 |             keyboardType: .numberPad,
112 |             formatter: CvcFormatter(maxLength: viewModel.length),
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:111:28: error: cannot infer contextual base in reference to member 'numberPad'
109 |             foregroundColor: viewModel.color,
110 |             backgroundColor: .white,
111 |             keyboardType: .numberPad,
    |                            `- error: cannot infer contextual base in reference to member 'numberPad'
112 |             formatter: CvcFormatter(maxLength: viewModel.length),
113 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:124:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
126 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:125:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
126 |                     .stroke(.secondary)
127 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:126:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
126 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
127 |             )
128 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/CvcView.swift:126:30: error: 'secondary' is only available in macOS 12.0 or newer
119 | }
120 |
121 | extension CvcView {
    | `- note: add '@available' attribute to enclosing extension
122 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
123 |         self
124 |             .overlay(
125 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
126 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
127 |             )
128 |     }
[30/31] Compiling Hellgate_iOS_SDK ExpiryDateView.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:10:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  8 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:10:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  8 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:11:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let DEFAULT_COLOR = Color.black
 13 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:11:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let DEFAULT_COLOR = Color.black
 13 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:12:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:12:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:18:36: error: 'black' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
    |                                    `- error: 'black' is only available in macOS 10.15 or newer
 19 |     private let currentDate: Date
 20 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:17:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 18 |     @Published var color: Color = .black
 19 |     private let currentDate: Date
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:18:27: error: 'Color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     private let currentDate: Date
 20 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 19 |     private let currentDate: Date
 20 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:22:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 20 |     private let queue: DispatchQueue
 21 |
 22 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 23 |
 24 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:25:20: error: 'Binding' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 26 |         currentDate: Date = .now,
 27 |         queue: DispatchQueue = .main
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:26:30: error: 'now' is only available in macOS 12 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
 26 |         currentDate: Date = .now,
    |                              `- error: 'now' is only available in macOS 12 or newer
 27 |         queue: DispatchQueue = .main
 28 |     ) {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:49:50: error: 'Color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 47 |     }
 48 |
 49 |     private func color(state: ComponentState) -> Color {
    |                  |                               `- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 50 |         switch state {
 51 |         case .complete: return Constant.COMPLETE_COLOR
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:87:6: error: 'StateObject' is only available in macOS 11.0 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 88 |
 89 |     let padding: CGFloat
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:95:20: error: 'Binding' is only available in macOS 10.15 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
 88 |
    :
 92 |     let onEnd: (() -> Void)?
 93 |
 94 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 95 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 96 |         padding: CGFloat = 0,
 97 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:108:27: error: 'View' is only available in macOS 10.15 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
 88 |
    :
106 |     }
107 |
108 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
109 |         WrappedUITextField(
110 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:126:34: error: 'View' is only available in macOS 10.15 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:148:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
146 |     let completeStateBind = Binding { completeState } set: { state in completeState = state }
147 |
148 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
149 |         VStack {
150 |             ExpiryDateView(
<unknown>:0: error: cannot convert value of type 'KeyPath<ExpiryDateViewViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<ExpiryDateViewViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ExpiryDateViewViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<ExpiryDateViewViewModel, Color>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:30:9: error: setter for 'value' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
 26 |         currentDate: Date = .now,
    :
 28 |     ) {
 29 |         self._viewState = viewState
 30 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 31 |         self.currentDate = currentDate
 32 |         self.queue = queue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:35:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
 26 |         currentDate: Date = .now,
    :
 33 |
 34 |         cancellable = self.$value
 35 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 36 |                 self?.update(value: newValue)
 37 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:44:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 38 |     }
 39 |
 40 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 41 |         queue.async { [weak self] in
 42 |             guard let self = self else { return }
 43 |
 44 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 45 |             self.color = self.color(state: self.viewState.state)
 46 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:45:13: error: setter for 'color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 38 |     }
 39 |
 40 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 41 |         queue.async { [weak self] in
 42 |             guard let self = self else { return }
 43 |
 44 |             self.viewState = self.state(value: value)
 45 |             self.color = self.color(state: self.viewState.state)
    |             |- error: setter for 'color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 46 |         }
 47 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:100:27: error: 'StateObject' is only available in macOS 11.0 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
 88 |
    :
 92 |     let onEnd: (() -> Void)?
 93 |
 94 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 95 |         viewState: Binding<ViewState>,
 96 |         padding: CGFloat = 0,
    :
 98 |         onEnd: (() -> Void)? = nil
 99 |     ) {
100 |         self._viewModel = StateObject(
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
101 |             wrappedValue: ExpiryDateViewViewModel(viewState: viewState)
102 |         )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:110:31: error: cannot assign to property: '$viewModel' is immutable
108 |     public var body: some View {
109 |         WrappedUITextField(
110 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
111 |             placeholder: Constant.PLACEHOLDER_TEXT,
112 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:114:31: error: cannot infer contextual base in reference to member 'white'
112 |             fontSize: 16,
113 |             foregroundColor: viewModel.color,
114 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
115 |             keyboardType: .numberPad,
116 |             formatter: ExpiryDateFormatter(),
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:115:28: error: cannot infer contextual base in reference to member 'numberPad'
113 |             foregroundColor: viewModel.color,
114 |             backgroundColor: .white,
115 |             keyboardType: .numberPad,
    |                            `- error: cannot infer contextual base in reference to member 'numberPad'
116 |             formatter: ExpiryDateFormatter(),
117 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:128:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
130 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:129:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
130 |                     .stroke(.secondary)
131 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:130:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
130 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
131 |             )
132 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:130:30: error: 'secondary' is only available in macOS 12.0 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
130 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
131 |             )
132 |     }
[31/31] Compiling Hellgate_iOS_SDK ViewState.swift
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:10:33: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  8 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:10:39: error: 'blue' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  8 |     static let INTERNAL_BORDER_RADIUS: CGFloat = 8
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
    |                |                      `- error: 'blue' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:11:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let DEFAULT_COLOR = Color.black
 13 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:11:38: error: 'red' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
  9 |
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
    |                |                     `- error: 'red' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 12 |     static let DEFAULT_COLOR = Color.black
 13 | }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:12:32: error: 'Color' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
    |                |               `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:12:38: error: 'black' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | private enum Constant {
    |              `- note: add '@available' attribute to enclosing enum
  5 |     static let PLACEHOLDER_TEXT = "MM / YY"
  6 |
    :
 10 |     static let COMPLETE_COLOR = Color.blue
 11 |     static let INVALID_COLOR = Color.red
 12 |     static let DEFAULT_COLOR = Color.black
    |                |                     `- error: 'black' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:18:36: error: 'black' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
    |                                    `- error: 'black' is only available in macOS 10.15 or newer
 19 |     private let currentDate: Date
 20 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:17:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 18 |     @Published var color: Color = .black
 19 |     private let currentDate: Date
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:18:27: error: 'Color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     private let currentDate: Date
 20 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
 18 |     @Published var color: Color = .black
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 19 |     private let currentDate: Date
 20 |     private let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:22:22: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 20 |     private let queue: DispatchQueue
 21 |
 22 |     var cancellable: AnyCancellable?
    |                      `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 23 |
 24 |     public init(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:25:20: error: 'Binding' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 26 |         currentDate: Date = .now,
 27 |         queue: DispatchQueue = .main
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:26:30: error: 'now' is only available in macOS 12 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
 26 |         currentDate: Date = .now,
    |                              `- error: 'now' is only available in macOS 12 or newer
 27 |         queue: DispatchQueue = .main
 28 |     ) {
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:49:50: error: 'Color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 47 |     }
 48 |
 49 |     private func color(state: ComponentState) -> Color {
    |                  |                               `- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 50 |         switch state {
 51 |         case .complete: return Constant.COMPLETE_COLOR
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:87:6: error: 'StateObject' is only available in macOS 11.0 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 88 |
 89 |     let padding: CGFloat
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:95:20: error: 'Binding' is only available in macOS 10.15 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
 88 |
    :
 92 |     let onEnd: (() -> Void)?
 93 |
 94 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 95 |         viewState: Binding<ViewState>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 96 |         padding: CGFloat = 0,
 97 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:108:27: error: 'View' is only available in macOS 10.15 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
 88 |
    :
106 |     }
107 |
108 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
109 |         WrappedUITextField(
110 |             value: $viewModel.value,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:126:34: error: 'View' is only available in macOS 10.15 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 |                `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:148:5: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
146 |     let completeStateBind = Binding { completeState } set: { state in completeState = state }
147 |
148 |     return ScrollView {
    |     |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |     `- note: remove 'return' statements to apply the result builder
149 |         VStack {
150 |             ExpiryDateView(
<unknown>:0: error: cannot convert value of type 'KeyPath<ExpiryDateViewViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<ExpiryDateViewViewModel, String>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ExpiryDateViewViewModel, Color>' to expected argument type 'ReferenceWritableKeyPath<ExpiryDateViewViewModel, Color>'
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:30:9: error: setter for 'value' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
 26 |         currentDate: Date = .now,
    :
 28 |     ) {
 29 |         self._viewState = viewState
 30 |         self.value = viewState.wrappedValue.value
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 31 |         self.currentDate = currentDate
 32 |         self.queue = queue
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:35:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 22 |     var cancellable: AnyCancellable?
 23 |
 24 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 25 |         viewState: Binding<ViewState>,
 26 |         currentDate: Date = .now,
    :
 33 |
 34 |         cancellable = self.$value
 35 |             .sink { [weak self] newValue in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 36 |                 self?.update(value: newValue)
 37 |             }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:44:13: error: setter for 'viewState' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 38 |     }
 39 |
 40 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 41 |         queue.async { [weak self] in
 42 |             guard let self = self else { return }
 43 |
 44 |             self.viewState = self.state(value: value)
    |             |- error: setter for 'viewState' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 45 |             self.color = self.color(state: self.viewState.state)
 46 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:45:13: error: setter for 'color' is only available in macOS 10.15 or newer
 13 | }
 14 |
 15 | public class ExpiryDateViewViewModel: ObservableObject {
    |              `- note: add '@available' attribute to enclosing class
 16 |     @Binding var viewState: ViewState
 17 |     @Published var value: String = ""
    :
 38 |     }
 39 |
 40 |     private func update(value: String) {
    |                  `- note: add '@available' attribute to enclosing instance method
 41 |         queue.async { [weak self] in
 42 |             guard let self = self else { return }
 43 |
 44 |             self.viewState = self.state(value: value)
 45 |             self.color = self.color(state: self.viewState.state)
    |             |- error: setter for 'color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 46 |         }
 47 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:100:27: error: 'StateObject' is only available in macOS 11.0 or newer
 84 | }
 85 |
 86 | public struct ExpiryDateView: View {
    |               `- note: add '@available' attribute to enclosing struct
 87 |     @StateObject var viewModel: ExpiryDateViewViewModel
 88 |
    :
 92 |     let onEnd: (() -> Void)?
 93 |
 94 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 95 |         viewState: Binding<ViewState>,
 96 |         padding: CGFloat = 0,
    :
 98 |         onEnd: (() -> Void)? = nil
 99 |     ) {
100 |         self._viewModel = StateObject(
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
101 |             wrappedValue: ExpiryDateViewViewModel(viewState: viewState)
102 |         )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:110:31: error: cannot assign to property: '$viewModel' is immutable
108 |     public var body: some View {
109 |         WrappedUITextField(
110 |             value: $viewModel.value,
    |                               `- error: cannot assign to property: '$viewModel' is immutable
111 |             placeholder: Constant.PLACEHOLDER_TEXT,
112 |             fontSize: 16,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:114:31: error: cannot infer contextual base in reference to member 'white'
112 |             fontSize: 16,
113 |             foregroundColor: viewModel.color,
114 |             backgroundColor: .white,
    |                               `- error: cannot infer contextual base in reference to member 'white'
115 |             keyboardType: .numberPad,
116 |             formatter: ExpiryDateFormatter(),
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:115:28: error: cannot infer contextual base in reference to member 'numberPad'
113 |             foregroundColor: viewModel.color,
114 |             backgroundColor: .white,
115 |             keyboardType: .numberPad,
    |                            `- error: cannot infer contextual base in reference to member 'numberPad'
116 |             formatter: ExpiryDateFormatter(),
117 |             onBegin: onBegin,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:128:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
    |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
130 |                     .stroke(.secondary)
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:129:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
130 |                     .stroke(.secondary)
131 |             )
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:130:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
130 |                     .stroke(.secondary)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
131 |             )
132 |     }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/ExpiryDateView.swift:130:30: error: 'secondary' is only available in macOS 12.0 or newer
123 | }
124 |
125 | extension ExpiryDateView {
    | `- note: add '@available' attribute to enclosing extension
126 |     public func border() -> some View {
    |                 `- note: add '@available' attribute to enclosing instance method
127 |         self
128 |             .overlay(
129 |                 RoundedRectangle(cornerRadius: Constant.INTERNAL_BORDER_RADIUS)
130 |                     .stroke(.secondary)
    |                              |- error: 'secondary' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
131 |             )
132 |     }
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/Hellgate iOS SDK/Resources/Media.xcassets
BUILD FAILURE 6.3 macosSpm