The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FloatingLabelTextField, reference 1.0.2 (f55292), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 08:50:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxakash/FloatingLabelTextField.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxakash/FloatingLabelTextField
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at f552923 Fix shift in position of Label when focused in TextField and SecureField
Cloned https://github.com/maxakash/FloatingLabelTextField.git
Revision (git rev-parse @):
f552923b8efb74d820d1e33e7fc5e54d6692bb17
SUCCESS checkout https://github.com/maxakash/FloatingLabelTextField.git at 1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/maxakash/FloatingLabelTextField.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/5] Compiling FloatingLabelTextField FloatingLabelTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     @State private var isActive: Bool = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
10 |     @State private var isActive: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 |     public init(placeHolder: String = "Please Input",
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:13:23: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
10 |     @State private var isActive: Bool = false
11 |
12 |     public init(placeHolder: String = "Please Input",
   |            `- note: add @available attribute to enclosing initializer
13 |                 text: Binding<String> = .constant("") ) {
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
14 |         self._text = text
15 |         self.placeHolderValue = placeHolder
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:32:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:20:13: error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
16 |     }
17 |
18 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
19 |         if edit {
20 |             self.placeHolderLabel = self.placeHolderValue
   |             |- error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
21 |             self.placeHolder = ""
22 |             self.isActive = true
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:21:13: error: setter for 'placeHolder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
16 |     }
17 |
18 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
19 |         if edit {
20 |             self.placeHolderLabel = self.placeHolderValue
21 |             self.placeHolder = ""
   |             |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |             self.isActive = true
23 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:22:13: error: setter for 'isActive' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
16 |     }
17 |
18 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
19 |         if edit {
20 |             self.placeHolderLabel = self.placeHolderValue
21 |             self.placeHolder = ""
22 |             self.isActive = true
   |             |- error: setter for 'isActive' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
23 |         } else {
24 |             if self.text.count == 0 {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:25:17: error: setter for 'placeHolder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
16 |     }
17 |
18 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
19 |         if edit {
20 |             self.placeHolderLabel = self.placeHolderValue
   :
23 |         } else {
24 |             if self.text.count == 0 {
25 |                 self.placeHolder = self.placeHolderValue
   |                 |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
26 |                 self.placeHolderLabel = ""
27 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:26:17: error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
16 |     }
17 |
18 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
19 |         if edit {
20 |             self.placeHolderLabel = self.placeHolderValue
   :
24 |             if self.text.count == 0 {
25 |                 self.placeHolder = self.placeHolderValue
26 |                 self.placeHolderLabel = ""
   |                 |- error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |             self.isActive = false
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:28:13: error: setter for 'isActive' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
16 |     }
17 |
18 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
19 |         if edit {
20 |             self.placeHolderLabel = self.placeHolderValue
   :
26 |                 self.placeHolderLabel = ""
27 |             }
28 |             self.isActive = false
   |             |- error: setter for 'isActive' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
29 |         }
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:34:16: error: 'ZStack' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   |                |- error: 'ZStack' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:34:35: error: 'leading' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   |                                   |- error: 'leading' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:34:44: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   |                                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:34:44: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   |                                            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:37:13: error: 'TextField' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
35 |
36 |
37 |             TextField(placeHolder, text: $text, onEditingChanged: { (edit) in
   |             |- error: 'TextField' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
38 |                 self.updateEditMode(edit: edit)
39 |             })
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:37:13: error: 'init(_:text:onEditingChanged:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
35 |
36 |
37 |             TextField(placeHolder, text: $text, onEditingChanged: { (edit) in
   |             |- error: 'init(_:text:onEditingChanged:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
38 |                 self.updateEditMode(edit: edit)
39 |             })
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:40:18: error: 'font' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
38 |                 self.updateEditMode(edit: edit)
39 |             })
40 |                 .font(.system(size: 20))
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:40:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
38 |                 self.updateEditMode(edit: edit)
39 |             })
40 |                 .font(.system(size: 20))
   |                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:41:18: error: 'padding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
39 |             })
40 |                 .font(.system(size: 20))
41 |                 .padding()
   |                  |- error: 'padding' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
43 |                     .stroke(Color.gray, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:42:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
40 |                 .font(.system(size: 20))
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
   |                  |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
43 |                     .stroke(Color.gray, lineWidth: 1)
44 |                     .frame(height: 55))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:42:27: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
40 |                 .font(.system(size: 20))
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
   |                           |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
43 |                     .stroke(Color.gray, lineWidth: 1)
44 |                     .frame(height: 55))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:43:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
43 |                     .stroke(Color.gray, lineWidth: 1)
   |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:43:29: error: 'Color' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
43 |                     .stroke(Color.gray, lineWidth: 1)
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:43:35: error: 'gray' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
41 |                 .padding()
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
43 |                     .stroke(Color.gray, lineWidth: 1)
   |                                   |- error: 'gray' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:44:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
42 |                 .overlay( RoundedRectangle(cornerRadius: 8)
43 |                     .stroke(Color.gray, lineWidth: 1)
44 |                     .frame(height: 55))
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
45 |                 .foregroundColor(Color.black)
46 |                 .accentColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:45:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
43 |                     .stroke(Color.gray, lineWidth: 1)
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
46 |                 .accentColor(.gray)
47 |                 .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:45:34: error: 'Color' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
43 |                     .stroke(Color.gray, lineWidth: 1)
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
   |                                  |- error: 'Color' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
46 |                 .accentColor(.gray)
47 |                 .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:45:40: error: 'black' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
43 |                     .stroke(Color.gray, lineWidth: 1)
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
   |                                        |- error: 'black' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
46 |                 .accentColor(.gray)
47 |                 .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:46:18: error: 'accentColor' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
46 |                 .accentColor(.gray)
   |                  |- error: 'accentColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
47 |                 .onAppear {
48 |                     self.placeHolder = self.placeHolderValue
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:46:31: error: 'gray' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
44 |                     .frame(height: 55))
45 |                 .foregroundColor(Color.black)
46 |                 .accentColor(.gray)
   |                               |- error: 'gray' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
47 |                 .onAppear {
48 |                     self.placeHolder = self.placeHolderValue
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:47:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
45 |                 .foregroundColor(Color.black)
46 |                 .accentColor(.gray)
47 |                 .onAppear {
   |                  |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
48 |                     self.placeHolder = self.placeHolderValue
49 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:48:21: error: setter for 'placeHolder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
46 |                 .accentColor(.gray)
47 |                 .onAppear {
48 |                     self.placeHolder = self.placeHolderValue
   |                     |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
49 |
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:52:13: error: 'Text' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
50 |             }
51 |
52 |             Text("\(placeHolderLabel)")
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
53 |                 .font(.system(size: 15))
54 |                 .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:53:18: error: 'font' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
51 |
52 |             Text("\(placeHolderLabel)")
53 |                 .font(.system(size: 15))
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:53:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
51 |
52 |             Text("\(placeHolderLabel)")
53 |                 .font(.system(size: 15))
   |                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:54:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
52 |             Text("\(placeHolderLabel)")
53 |                 .font(.system(size: 15))
54 |                 .foregroundColor(.gray)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:54:35: error: 'gray' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
52 |             Text("\(placeHolderLabel)")
53 |                 .font(.system(size: 15))
54 |                 .foregroundColor(.gray)
   |                                   |- error: 'gray' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:55:18: error: 'animation' is only available in macOS 12.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
53 |                 .font(.system(size: 15))
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
   |                  |- error: 'animation' is only available in macOS 12.0 or newer
   |                  `- note: add 'if #available' version check
56 |                 .background(Color.white)
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:55:29: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
53 |                 .font(.system(size: 15))
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
   |                             |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
56 |                 .background(Color.white)
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:56:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
   |                  |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |                  `- note: add 'if #available' version check
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
58 |                     , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:56:29: error: 'Color' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
58 |                     , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:56:35: error: 'white' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
54 |                 .foregroundColor(.gray)
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
   |                                   |- error: 'white' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
58 |                     , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:57:18: error: 'padding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
   |                  |- error: 'padding' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
58 |                     , trailing: 0))
59 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:57:26: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
   :
55 |                 .animation(.interactiveSpring())
56 |                 .background(Color.white)
57 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
   |                          |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
58 |                     , trailing: 0))
59 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module FloatingLabelTextField
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     @State private var isActive: Bool = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
10 |     @State private var isActive: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 |     public init(placeHolder: String = "Please Input",
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:13:23: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
10 |     @State private var isActive: Bool = false
11 |
12 |     public init(placeHolder: String = "Please Input",
   |            `- note: add @available attribute to enclosing initializer
13 |                 text: Binding<String> = .constant("") ) {
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
14 |         self._text = text
15 |         self.placeHolderValue = placeHolder
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     @State private var isActive: Bool = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
10 |     @State private var isActive: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 |     public init(placeHolder: String = "Please Input",
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:13:23: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
10 |     @State private var isActive: Bool = false
11 |
12 |     public init(placeHolder: String = "Please Input",
   |            `- note: add @available attribute to enclosing initializer
13 |                 text: Binding<String> = .constant("") ) {
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
14 |         self._text = text
15 |         self.placeHolderValue = placeHolder
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:32:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelTextField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
30 |     }
31 |
32 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
33 |
34 |         return ZStack(alignment: .leading) {
[5/5] Compiling FloatingLabelTextField FloatingLabelSecureField.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
 7 |     @State private var placeHolderLabel: String = ""
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     @State private var isActive: Bool = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
 8 |     private var placeHolderValue: String = ""
 9 |     @Binding var text: String
10 |     @State private var isActive: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 |     public init(placeHolder: String = "Please Input",
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:13:23: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
10 |     @State private var isActive: Bool = false
11 |
12 |     public init(placeHolder: String = "Please Input",
   |            `- note: add @available attribute to enclosing initializer
13 |                 text: Binding<String> = .constant("") ) {
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
14 |         self._text = text
15 |         self.placeHolderValue = placeHolder
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:33:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:21:13: error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
17 |     }
18 |
19 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
20 |         if edit {
21 |             self.placeHolderLabel = self.placeHolderValue
   |             |- error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |             self.placeHolder = ""
23 |             self.isActive = true
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:22:13: error: setter for 'placeHolder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
17 |     }
18 |
19 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
20 |         if edit {
21 |             self.placeHolderLabel = self.placeHolderValue
22 |             self.placeHolder = ""
   |             |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
23 |             self.isActive = true
24 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:23:13: error: setter for 'isActive' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
17 |     }
18 |
19 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
20 |         if edit {
21 |             self.placeHolderLabel = self.placeHolderValue
22 |             self.placeHolder = ""
23 |             self.isActive = true
   |             |- error: setter for 'isActive' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
24 |         } else {
25 |             if self.text.count == 0 {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:26:17: error: setter for 'placeHolder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
17 |     }
18 |
19 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
20 |         if edit {
21 |             self.placeHolderLabel = self.placeHolderValue
   :
24 |         } else {
25 |             if self.text.count == 0 {
26 |                 self.placeHolder = self.placeHolderValue
   |                 |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |                 self.placeHolderLabel = ""
28 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:27:17: error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
17 |     }
18 |
19 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
20 |         if edit {
21 |             self.placeHolderLabel = self.placeHolderValue
   :
25 |             if self.text.count == 0 {
26 |                 self.placeHolder = self.placeHolderValue
27 |                 self.placeHolderLabel = ""
   |                 |- error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
28 |             }
29 |             self.isActive = false
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:29:13: error: setter for 'isActive' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
17 |     }
18 |
19 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add @available attribute to enclosing instance method
20 |         if edit {
21 |             self.placeHolderLabel = self.placeHolderValue
   :
27 |                 self.placeHolderLabel = ""
28 |             }
29 |             self.isActive = false
   |             |- error: setter for 'isActive' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
30 |         }
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:35:15: error: 'ZStack' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   |               |- error: 'ZStack' is only available in macOS 10.15 or newer
   |               `- note: add 'if #available' version check
36 |
37 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:35:34: error: 'leading' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   |                                  |- error: 'leading' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
36 |
37 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:35:43: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   |                                           |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                           `- note: add 'if #available' version check
36 |
37 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:35:43: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   |                                           |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                           `- note: add 'if #available' version check
36 |
37 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:38:9: error: 'Button' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
36 |
37 |
38 |         Button(action: {
   |         |- error: 'Button' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
39 |             self.updateEditMode(edit: true)
40 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:40:12: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
38 |         Button(action: {
39 |             self.updateEditMode(edit: true)
40 |         }) {
   |            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |            `- note: add 'if #available' version check
41 |             SecureField(placeHolder, text: $text)
42 |                 .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:40:12: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
38 |         Button(action: {
39 |             self.updateEditMode(edit: true)
40 |         }) {
   |            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |            `- note: add 'if #available' version check
41 |             SecureField(placeHolder, text: $text)
42 |                 .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:41:13: error: 'SecureField' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
39 |             self.updateEditMode(edit: true)
40 |         }) {
41 |             SecureField(placeHolder, text: $text)
   |             |- error: 'SecureField' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
42 |                 .font(.system(size: 20))
43 |                 .padding()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:41:13: error: 'init(_:text:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
39 |             self.updateEditMode(edit: true)
40 |         }) {
41 |             SecureField(placeHolder, text: $text)
   |             |- error: 'init(_:text:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
42 |                 .font(.system(size: 20))
43 |                 .padding()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:42:18: error: 'font' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
40 |         }) {
41 |             SecureField(placeHolder, text: $text)
42 |                 .font(.system(size: 20))
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:42:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
40 |         }) {
41 |             SecureField(placeHolder, text: $text)
42 |                 .font(.system(size: 20))
   |                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:43:18: error: 'padding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
41 |             SecureField(placeHolder, text: $text)
42 |                 .font(.system(size: 20))
43 |                 .padding()
   |                  |- error: 'padding' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
45 |                     .stroke(Color.gray, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:44:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
42 |                 .font(.system(size: 20))
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
   |                  |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
45 |                     .stroke(Color.gray, lineWidth: 1)
46 |                     .frame(height: 55))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:44:27: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
42 |                 .font(.system(size: 20))
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
   |                           |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
45 |                     .stroke(Color.gray, lineWidth: 1)
46 |                     .frame(height: 55))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:45:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
45 |                     .stroke(Color.gray, lineWidth: 1)
   |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:45:29: error: 'Color' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
45 |                     .stroke(Color.gray, lineWidth: 1)
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:45:35: error: 'gray' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
43 |                 .padding()
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
45 |                     .stroke(Color.gray, lineWidth: 1)
   |                                   |- error: 'gray' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:46:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
44 |                 .overlay( RoundedRectangle(cornerRadius: 8)
45 |                     .stroke(Color.gray, lineWidth: 1)
46 |                     .frame(height: 55))
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
47 |                 .foregroundColor(Color.black)
48 |                 .accentColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:47:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
45 |                     .stroke(Color.gray, lineWidth: 1)
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
48 |                 .accentColor(.gray)
49 |                 .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:47:34: error: 'Color' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
45 |                     .stroke(Color.gray, lineWidth: 1)
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
   |                                  |- error: 'Color' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
48 |                 .accentColor(.gray)
49 |                 .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:47:40: error: 'black' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
45 |                     .stroke(Color.gray, lineWidth: 1)
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
   |                                        |- error: 'black' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
48 |                 .accentColor(.gray)
49 |                 .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:48:18: error: 'accentColor' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
48 |                 .accentColor(.gray)
   |                  |- error: 'accentColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
49 |                 .onAppear {
50 |                     self.placeHolder = self.placeHolderValue
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:48:31: error: 'gray' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
46 |                     .frame(height: 55))
47 |                 .foregroundColor(Color.black)
48 |                 .accentColor(.gray)
   |                               |- error: 'gray' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
49 |                 .onAppear {
50 |                     self.placeHolder = self.placeHolderValue
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:49:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
47 |                 .foregroundColor(Color.black)
48 |                 .accentColor(.gray)
49 |                 .onAppear {
   |                  |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
50 |                     self.placeHolder = self.placeHolderValue
51 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:50:21: error: setter for 'placeHolder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
48 |                 .accentColor(.gray)
49 |                 .onAppear {
50 |                     self.placeHolder = self.placeHolderValue
   |                     |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
51 |             }
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:56:12: error: 'Text' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
54 |
55 |
56 |            Text("\(placeHolderLabel)")
   |            |- error: 'Text' is only available in macOS 10.15 or newer
   |            `- note: add 'if #available' version check
57 |                 .font(.system(size: 15))
58 |                .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:57:18: error: 'font' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
55 |
56 |            Text("\(placeHolderLabel)")
57 |                 .font(.system(size: 15))
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:57:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
55 |
56 |            Text("\(placeHolderLabel)")
57 |                 .font(.system(size: 15))
   |                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:58:17: error: 'foregroundColor' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
56 |            Text("\(placeHolderLabel)")
57 |                 .font(.system(size: 15))
58 |                .foregroundColor(.gray)
   |                 |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:58:34: error: 'gray' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
56 |            Text("\(placeHolderLabel)")
57 |                 .font(.system(size: 15))
58 |                .foregroundColor(.gray)
   |                                  |- error: 'gray' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:59:17: error: 'animation' is only available in macOS 12.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
57 |                 .font(.system(size: 15))
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
   |                 |- error: 'animation' is only available in macOS 12.0 or newer
   |                 `- note: add 'if #available' version check
60 |                .background(Color.white)
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:59:28: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
57 |                 .font(.system(size: 15))
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
   |                            |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
60 |                .background(Color.white)
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:60:17: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
   |                 |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |                 `- note: add 'if #available' version check
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
62 |                    , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:60:28: error: 'Color' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
   |                            |- error: 'Color' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
62 |                    , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:60:34: error: 'white' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
58 |                .foregroundColor(.gray)
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
   |                                  |- error: 'white' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
62 |                    , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:61:17: error: 'padding' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
   |                 |- error: 'padding' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
62 |                    , trailing: 0))
63 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:61:25: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 13, *)
 4 | public struct FloatingLabelSecureField: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
31 |     }
32 |
33 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
34 |
35 |        return ZStack(alignment: .leading) {
   :
59 |                .animation(.interactiveSpring())
60 |                .background(Color.white)
61 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
   |                         |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
62 |                    , trailing: 0))
63 |
BUILD FAILURE 6.2 macosSpm