The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GlassTabView, reference main (9a96ea), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 07:38:40 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/timi2506/GlassTabView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timi2506/GlassTabView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9a96ea3 Update README.md
Cloned https://github.com/timi2506/GlassTabView.git
Revision (git rev-parse @):
9a96ea30ce98038120e080c88edab8e631b8e36c
SUCCESS checkout https://github.com/timi2506/GlassTabView.git at main
========================================
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": "glasstabview",
      "name": "GlassTabView",
      "url": "https://github.com/timi2506/GlassTabView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GlassTabView",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/timi2506/GlassTabView.git
[1/25] Fetching glasstabview
Fetched https://github.com/timi2506/GlassTabView.git from cache (0.68s)
Creating working copy for https://github.com/timi2506/GlassTabView.git
Working copy of https://github.com/timi2506/GlassTabView.git resolved at main (9a96ea3)
warning: '.resolve-product-dependencies': dependency 'glasstabview' 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/timi2506/GlassTabView.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/4] Emitting module GlassTabView
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:4:28: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
    |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
  5 |         self.selectionBinding = selection ?? .constant("")
  6 |         let items = content()
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:12:27: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 10 |         self._selectedInBar = State(initialValue: items.first!.id)
 11 |     }
 12 |     var selectionBinding: Binding<String>
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 13 |     @State var tabItems: [TabItem]
 14 |     @State var selected: String
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 11 |     }
 12 |     var selectionBinding: Binding<String>
 13 |     @State var tabItems: [TabItem]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |     @State var selected: String
 15 |     @Namespace private var animation
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 12 |     var selectionBinding: Binding<String>
 13 |     @State var tabItems: [TabItem]
 14 |     @State var selected: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |     @Namespace private var animation
 16 |     @State var yOffset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:15:6: error: 'Namespace' is only available in macOS 11.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 13 |     @State var tabItems: [TabItem]
 14 |     @State var selected: String
 15 |     @Namespace private var animation
    |      `- error: 'Namespace' is only available in macOS 11.0 or newer
 16 |     @State var yOffset: CGFloat = 0
 17 |     @State var lastYOffset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 14 |     @State var selected: String
 15 |     @Namespace private var animation
 16 |     @State var yOffset: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |     @State var lastYOffset: CGFloat = 0
 18 |     @State var collapsed = false
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 15 |     @Namespace private var animation
 16 |     @State var yOffset: CGFloat = 0
 17 |     @State var lastYOffset: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 18 |     @State var collapsed = false
 19 |     @State var selectedInBar: String {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 16 |     @State var yOffset: CGFloat = 0
 17 |     @State var lastYOffset: CGFloat = 0
 18 |     @State var collapsed = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 19 |     @State var selectedInBar: String {
 20 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 17 |     @State var lastYOffset: CGFloat = 0
 18 |     @State var collapsed = false
 19 |     @State var selectedInBar: String {
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |         didSet {
 21 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 24 |         }
 25 |     }
 26 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 27 |         ZStack {
 28 |             TabView(selection: $selected) {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:111: error: 'View' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:71: error: 'Image' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                          `- error: 'Image' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:79: error: 'ViewBuilder' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                                  `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:111: error: 'View' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:150:94: error: 'AnyView' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
148 |         self.icon = image
149 |     }
150 |     public init(id: String = UUID().uuidString, title: String, systemImage: String, content: AnyView) {
    |            |                                                                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
151 |         self.id = id
152 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:157:25: error: 'AnyView' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
155 |     }
156 |     public var id: String
157 |     public var content: AnyView
    |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
158 |     public var title: String
159 |     public var icon: Image
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:159:22: error: 'Image' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
157 |     public var content: AnyView
158 |     public var title: String
159 |     public var icon: Image
    |                      `- error: 'Image' is only available in macOS 10.15 or newer
160 | }
161 |
[4/4] Compiling GlassTabView GlassTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:4:28: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
    |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
  5 |         self.selectionBinding = selection ?? .constant("")
  6 |         let items = content()
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:12:27: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 10 |         self._selectedInBar = State(initialValue: items.first!.id)
 11 |     }
 12 |     var selectionBinding: Binding<String>
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 13 |     @State var tabItems: [TabItem]
 14 |     @State var selected: String
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 11 |     }
 12 |     var selectionBinding: Binding<String>
 13 |     @State var tabItems: [TabItem]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |     @State var selected: String
 15 |     @Namespace private var animation
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 12 |     var selectionBinding: Binding<String>
 13 |     @State var tabItems: [TabItem]
 14 |     @State var selected: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |     @Namespace private var animation
 16 |     @State var yOffset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:15:6: error: 'Namespace' is only available in macOS 11.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 13 |     @State var tabItems: [TabItem]
 14 |     @State var selected: String
 15 |     @Namespace private var animation
    |      `- error: 'Namespace' is only available in macOS 11.0 or newer
 16 |     @State var yOffset: CGFloat = 0
 17 |     @State var lastYOffset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 14 |     @State var selected: String
 15 |     @Namespace private var animation
 16 |     @State var yOffset: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |     @State var lastYOffset: CGFloat = 0
 18 |     @State var collapsed = false
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 15 |     @Namespace private var animation
 16 |     @State var yOffset: CGFloat = 0
 17 |     @State var lastYOffset: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 18 |     @State var collapsed = false
 19 |     @State var selectedInBar: String {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 16 |     @State var yOffset: CGFloat = 0
 17 |     @State var lastYOffset: CGFloat = 0
 18 |     @State var collapsed = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 19 |     @State var selectedInBar: String {
 20 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 17 |     @State var lastYOffset: CGFloat = 0
 18 |     @State var collapsed = false
 19 |     @State var selectedInBar: String {
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |         didSet {
 21 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
  5 |         self.selectionBinding = selection ?? .constant("")
    :
 24 |         }
 25 |     }
 26 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 27 |         ZStack {
 28 |             TabView(selection: $selected) {
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:111: error: 'View' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:71: error: 'Image' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                          `- error: 'Image' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:79: error: 'ViewBuilder' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                                  `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:144:111: error: 'View' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:150:94: error: 'AnyView' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
148 |         self.icon = image
149 |     }
150 |     public init(id: String = UUID().uuidString, title: String, systemImage: String, content: AnyView) {
    |            |                                                                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
151 |         self.id = id
152 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:157:25: error: 'AnyView' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
155 |     }
156 |     public var id: String
157 |     public var content: AnyView
    |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
158 |     public var title: String
159 |     public var icon: Image
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:159:22: error: 'Image' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
157 |     public var content: AnyView
158 |     public var title: String
159 |     public var icon: Image
    |                      `- error: 'Image' is only available in macOS 10.15 or newer
160 | }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:8:9: error: setter for 'tabItems' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
    |            `- note: add '@available' attribute to enclosing initializer
  5 |         self.selectionBinding = selection ?? .constant("")
  6 |         let items = content()
  7 |         precondition(items.count <= 5, "Maximum 5 tabs allowed")
  8 |         self.tabItems = items
    |         |- error: setter for 'tabItems' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
  9 |         self._selected = State(initialValue: items.first!.id)
 10 |         self._selectedInBar = State(initialValue: items.first!.id)
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:9:26: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
    |            `- note: add '@available' attribute to enclosing initializer
  5 |         self.selectionBinding = selection ?? .constant("")
  6 |         let items = content()
  7 |         precondition(items.count <= 5, "Maximum 5 tabs allowed")
  8 |         self.tabItems = items
  9 |         self._selected = State(initialValue: items.first!.id)
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 10 |         self._selectedInBar = State(initialValue: items.first!.id)
 11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:10:31: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct GlassTabView: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     public init(selection: Binding<String>? = nil, @TabItemsBuilder content: () -> [TabItem]) {
    |            `- note: add '@available' attribute to enclosing initializer
  5 |         self.selectionBinding = selection ?? .constant("")
  6 |         let items = content()
    :
  8 |         self.tabItems = items
  9 |         self._selected = State(initialValue: items.first!.id)
 10 |         self._selectedInBar = State(initialValue: items.first!.id)
    |                               |- error: 'State' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 11 |     }
 12 |     var selectionBinding: Binding<String>
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:73:35: error: cannot find 'UIImpactFeedbackGenerator' in scope
 71 |             .scaleEffect(tabItems.count <= 5 ? 0.875 : 1)
 72 |             .onLongPressGesture(minimumDuration: 0.25) {
 73 |                 let impactHeavy = UIImpactFeedbackGenerator(style: .heavy)
    |                                   `- error: cannot find 'UIImpactFeedbackGenerator' in scope
 74 |                 impactHeavy.impactOccurred()
 75 |                 collapsed = true
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:134:30: error: cannot find 'UIImpactFeedbackGenerator' in scope
132 |                 selectedInBar = selected
133 |             }
134 |             let impactSoft = UIImpactFeedbackGenerator(style: .rigid)
    |                              `- error: cannot find 'UIImpactFeedbackGenerator' in scope
135 |             impactSoft.impactOccurred()
136 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:51:29: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 49 |                     .background {
 50 |                         if selectedInBar == tabItem.id {
 51 |                             Capsule()
    |                             `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 52 |                                 .foregroundStyle(Color(uiColor: .tertiarySystemBackground))
 53 |                                 .matchedGeometryEffect(id: "TabItem", in: animation)
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:146:24: error: 'AnyView' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
    |            `- note: add '@available' attribute to enclosing initializer
145 |         self.id = id
146 |         self.content = AnyView(content())
    |                        |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
147 |         self.title = title
148 |         self.icon = image
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:154:21: error: 'Image' is only available in macOS 10.15 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
148 |         self.icon = image
149 |     }
150 |     public init(id: String = UUID().uuidString, title: String, systemImage: String, content: AnyView) {
    |            `- note: add '@available' attribute to enclosing initializer
151 |         self.id = id
152 |         self.content = content
153 |         self.title = title
154 |         self.icon = Image(systemName: systemImage)
    |                     |- error: 'Image' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
155 |     }
156 |     public var id: String
/Users/admin/builder/spi-builder-workspace/Sources/GlassTabView/GlassTabView.swift:154:21: error: 'init(systemName:)' is only available in macOS 11.0 or newer
141 | }
142 |
143 | public struct TabItem: Identifiable {
    |               `- note: add '@available' attribute to enclosing struct
144 |     public init(id: String = UUID().uuidString, title: String, image: Image, @ViewBuilder content: () -> some View) {
145 |         self.id = id
    :
148 |         self.icon = image
149 |     }
150 |     public init(id: String = UUID().uuidString, title: String, systemImage: String, content: AnyView) {
    |            `- note: add '@available' attribute to enclosing initializer
151 |         self.id = id
152 |         self.content = content
153 |         self.title = title
154 |         self.icon = Image(systemName: systemImage)
    |                     |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
155 |     }
156 |     public var id: String
BUILD FAILURE 6.3 macosSpm