The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FloatingLabelTextField, reference master (0e7c3b), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 20:00:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxakash/FloatingLabelTextField.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxakash/FloatingLabelTextField
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0e7c3ba Update FloatingLabelSecureField.swift
Cloned https://github.com/maxakash/FloatingLabelTextField.git
Revision (git rev-parse @):
0e7c3bafafece8e36c23c8a80a21d078c726a283
SUCCESS checkout https://github.com/maxakash/FloatingLabelTextField.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "floatinglabeltextfield",
      "name": "FloatingLabelTextField",
      "url": "https://github.com/maxakash/FloatingLabelTextField.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FloatingLabelTextField",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maxakash/FloatingLabelTextField.git
[1/92] Fetching floatinglabeltextfield
Fetched https://github.com/maxakash/FloatingLabelTextField.git from cache (0.71s)
Creating working copy for https://github.com/maxakash/FloatingLabelTextField.git
Working copy of https://github.com/maxakash/FloatingLabelTextField.git resolved at master (0e7c3ba)
warning: '.resolve-product-dependencies': dependency 'floatinglabeltextfield' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/maxakash/FloatingLabelTextField.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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:34: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
[4/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:34: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:22: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 = ""
   :
18 |     //Function to remove focus from text field if tapped on another object.
19 |
20 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
21 |         if edit {
22 |             self.placeHolderLabel = self.placeHolderValue
   |             |- error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
23 |             self.placeHolder = ""
24 |             self.isActive = true
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:23: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 = ""
   :
18 |     //Function to remove focus from text field if tapped on another object.
19 |
20 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
21 |         if edit {
22 |             self.placeHolderLabel = self.placeHolderValue
23 |             self.placeHolder = ""
   |             |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
24 |             self.isActive = true
25 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:24: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 = ""
   :
18 |     //Function to remove focus from text field if tapped on another object.
19 |
20 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
21 |         if edit {
22 |             self.placeHolderLabel = self.placeHolderValue
23 |             self.placeHolder = ""
24 |             self.isActive = true
   |             |- error: setter for 'isActive' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
25 |         } else {
26 |             if self.text.count == 0 {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:27: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 = ""
   :
18 |     //Function to remove focus from text field if tapped on another object.
19 |
20 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
21 |         if edit {
22 |             self.placeHolderLabel = self.placeHolderValue
   :
25 |         } else {
26 |             if self.text.count == 0 {
27 |                 self.placeHolder = self.placeHolderValue
   |                 |- error: setter for 'placeHolder' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
28 |                 self.placeHolderLabel = ""
29 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:28: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 = ""
   :
18 |     //Function to remove focus from text field if tapped on another object.
19 |
20 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
21 |         if edit {
22 |             self.placeHolderLabel = self.placeHolderValue
   :
26 |             if self.text.count == 0 {
27 |                 self.placeHolder = self.placeHolderValue
28 |                 self.placeHolderLabel = ""
   |                 |- error: setter for 'placeHolderLabel' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
29 |             }
30 |             self.isActive = false
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:30: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 = ""
   :
18 |     //Function to remove focus from text field if tapped on another object.
19 |
20 |     private func updateEditMode(edit: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
21 |         if edit {
22 |             self.placeHolderLabel = self.placeHolderValue
   :
28 |                 self.placeHolderLabel = ""
29 |             }
30 |             self.isActive = false
   |             |- error: setter for 'isActive' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:36: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   |                |- error: 'ZStack' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
37 |
38 |             //onEditingChanged make the placeholder move to the top of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:36: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   |                                   |- error: 'leading' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
37 |
38 |             //onEditingChanged make the placeholder move to the top of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:36: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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
37 |
38 |             //onEditingChanged make the placeholder move to the top of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:36: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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
37 |
38 |             //onEditingChanged make the placeholder move to the top of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:39: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
37 |
38 |             //onEditingChanged make the placeholder move to the top of the text field.
39 |             TextField(placeHolder, text: $text, onEditingChanged: { (edit) in
   |             |- error: 'TextField' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
40 |                 self.updateEditMode(edit: edit)
41 |             })
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:39: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
37 |
38 |             //onEditingChanged make the placeholder move to the top of the text field.
39 |             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
40 |                 self.updateEditMode(edit: edit)
41 |             })
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:42: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
40 |                 self.updateEditMode(edit: edit)
41 |             })
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/FloatingLabelTextField.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 FloatingLabelTextField: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
40 |                 self.updateEditMode(edit: edit)
41 |             })
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/FloatingLabelTextField.swift:43: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
41 |             })
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/FloatingLabelTextField.swift:44: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:44: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:45: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:45: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:45: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.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 FloatingLabelTextField: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |
 6 |     @State private var placeHolder: String = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:47: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:47: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:47: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:48: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:48: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:49: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:50: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         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/FloatingLabelTextField.swift:55: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
53 |
54 |             //Text which acts as a floating label
55 |             Text("\(placeHolderLabel)")
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
56 |                 .font(.system(size: 15))
57 |                 .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:56: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
54 |             //Text which acts as a floating label
55 |             Text("\(placeHolderLabel)")
56 |                 .font(.system(size: 15))
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:56: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
54 |             //Text which acts as a floating label
55 |             Text("\(placeHolderLabel)")
56 |                 .font(.system(size: 15))
   |                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:57: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
55 |             Text("\(placeHolderLabel)")
56 |                 .font(.system(size: 15))
57 |                 .foregroundColor(.gray)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:57: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
55 |             Text("\(placeHolderLabel)")
56 |                 .font(.system(size: 15))
57 |                 .foregroundColor(.gray)
   |                                   |- error: 'gray' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:58: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
56 |                 .font(.system(size: 15))
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
   |                  |- error: 'animation' is only available in macOS 12.0 or newer
   |                  `- note: add 'if #available' version check
59 |                 .background(Color.white)
60 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:58: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
56 |                 .font(.system(size: 15))
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
   |                             |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
59 |                 .background(Color.white)
60 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:59: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
   |                  |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |                  `- note: add 'if #available' version check
60 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
61 |                     , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:59: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
60 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
61 |                     , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:59: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
57 |                 .foregroundColor(.gray)
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
   |                                   |- error: 'white' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
60 |                 .padding(EdgeInsets(top: 0, leading:16, bottom: 55
61 |                     , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:60: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
60 |                 .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
61 |                     , trailing: 0))
62 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelTextField.swift:60: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 = ""
   :
32 |     }
33 |
34 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
35 |
36 |         return ZStack(alignment: .leading) {
   :
58 |                 .animation(.interactiveSpring())
59 |                 .background(Color.white)
60 |                 .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
61 |                     , trailing: 0))
62 |
[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 |     //Function to remove focus from text field if tapped on another object.
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 |     //Function to remove focus from text field if tapped on another object.
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 |     //Function to remove focus from text field if tapped on another object.
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 |     //Function to remove focus from text field if tapped on another object.
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 |     //Function to remove focus from text field if tapped on another object.
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 |     //Function to remove focus from text field if tapped on another object.
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 |            //Button is used as onEditing event is currently not available in SwiftUI
/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 |            //Button is used as onEditing event is currently not available in SwiftUI
/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 |            //Button is used as onEditing event is currently not available in SwiftUI
/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 |            //Button is used as onEditing event is currently not available in SwiftUI
/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 |            //Button is used as onEditing event is currently not available in SwiftUI
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:54: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) {
   :
52 |         }
53 |         //Text which acts as a floating label
54 |            Text("\(placeHolderLabel)")
   |            |- error: 'Text' is only available in macOS 10.15 or newer
   |            `- note: add 'if #available' version check
55 |                 .font(.system(size: 15))
56 |                .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:55: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) {
   :
53 |         //Text which acts as a floating label
54 |            Text("\(placeHolderLabel)")
55 |                 .font(.system(size: 15))
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:55: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) {
   :
53 |         //Text which acts as a floating label
54 |            Text("\(placeHolderLabel)")
55 |                 .font(.system(size: 15))
   |                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:56: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) {
   :
54 |            Text("\(placeHolderLabel)")
55 |                 .font(.system(size: 15))
56 |                .foregroundColor(.gray)
   |                 |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:56: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) {
   :
54 |            Text("\(placeHolderLabel)")
55 |                 .font(.system(size: 15))
56 |                .foregroundColor(.gray)
   |                                  |- error: 'gray' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:57: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) {
   :
55 |                 .font(.system(size: 15))
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
   |                 |- error: 'animation' is only available in macOS 12.0 or newer
   |                 `- note: add 'if #available' version check
58 |                .background(Color.white)
59 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:57: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) {
   :
55 |                 .font(.system(size: 15))
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
   |                            |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
58 |                .background(Color.white)
59 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:58: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) {
   :
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
   |                 |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |                 `- note: add 'if #available' version check
59 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
60 |                    , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:58: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) {
   :
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
   |                            |- error: 'Color' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
59 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
60 |                    , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:58: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) {
   :
56 |                .foregroundColor(.gray)
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
   |                                  |- error: 'white' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
59 |                .padding(EdgeInsets(top: 0, leading:16, bottom: 55
60 |                    , trailing: 0))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:59: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) {
   :
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
59 |                .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
60 |                    , trailing: 0))
61 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingLabelTextField/FloatingLabelSecureField.swift:59: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) {
   :
57 |                .animation(.interactiveSpring())
58 |                .background(Color.white)
59 |                .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
60 |                    , trailing: 0))
61 |
BUILD FAILURE 6.3 macosSpm