The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CheckBoxSwiftUI, reference 1.0.0 (4f6e92), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 19:12:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MahinMuhammad/CheckBoxSwiftUI
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 4f6e922 initializer access fix
Cloned https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
Revision (git rev-parse @):
4f6e922ebbd3388dea1878f1a1a507ef4263df36
SUCCESS checkout https://github.com/MahinMuhammad/CheckBoxSwiftUI.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CheckBoxSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:6:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
 7 |     var titleColor: Color?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:7:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
 7 |     var titleColor: Color?
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 8 |
 9 |     var uncheckedSymbolName = "square"
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:28: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:80: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:106: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
17 |     }
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
20 |         HStack {
21 |             Button {
[4/4] Compiling CheckBoxSwiftUI CheckBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:6:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
 7 |     var titleColor: Color?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:7:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
 7 |     var titleColor: Color?
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 8 |
 9 |     var uncheckedSymbolName = "square"
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:28: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:80: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:106: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
17 |     }
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
20 |         HStack {
21 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:30:54: error: cannot find 'UIColor' in scope
28 |
29 |             Text(title ?? "")
30 |                 .foregroundColor(titleColor ?? Color(UIColor.label))
   |                                                      `- error: cannot find 'UIColor' in scope
31 |         }
32 |     }
BUILD FAILURE 6.2 macosSpm