The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnimatedTabBar, reference 1.0.0 (e95861), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 00:52:10 UTC.

Build Command

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

Build Log

/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:19:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 17 |
 18 |     @Binding private var selectedIndex: Int
 19 |     @Binding private var prevSelectedIndex: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 20 |     private var views: [AnyView] = []
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:20:25: error: 'AnyView' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 18 |     @Binding private var selectedIndex: Int
 19 |     @Binding private var prevSelectedIndex: Int
 20 |     private var views: [AnyView] = []
    |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:39: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            |                          `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:23:43: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
    |                                           `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
 25 |         self._selectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:25: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
    |                         `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 |         self._selectedIndex = selectedIndex
 26 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:62: error: 'TupleView' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
    |                                                              `- error: 'TupleView' is only available in macOS 10.15 or newer
 25 |         self._selectedIndex = selectedIndex
 26 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:26: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            |             `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
 33 |                                views: [Content]) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:47: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            |                                  `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
 33 |                                views: [Content]) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:32:51: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
    |                                                   `- error: 'Binding' is only available in macOS 10.15 or newer
 33 |                                views: [Content]) {
 34 |         self._selectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:27: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 40 |     // MARK: - Customization
 41 |
 42 |     private var barColor: Color = .white
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:36: error: 'white' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 40 |     // MARK: - Customization
 41 |
 42 |     private var barColor: Color = .white
    |                                    `- error: 'white' is only available in macOS 10.15 or newer
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:32: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 41 |
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:41: error: 'red' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 41 |
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
    |                                         `- error: 'red' is only available in macOS 10.15 or newer
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:34: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 45 |     private var ballColor: Color = .red
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:43: error: 'black' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
    |                                           `- error: 'black' is only available in macOS 10.15 or newer
 45 |     private var ballColor: Color = .red
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:28: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 46 |
 47 |     private var verticalPadding: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:37: error: 'red' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
    |                                     `- error: 'red' is only available in macOS 10.15 or newer
 46 |
 47 |     private var verticalPadding: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:32: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 48 |     private var cornerRadius: CGFloat = 0
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
    |                                `- error: 'Animation' is only available in macOS 10.15 or newer
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:45: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 48 |     private var cornerRadius: CGFloat = 0
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
    |                                             `- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:34: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
    |                                  `- error: 'Animation' is only available in macOS 10.15 or newer
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:47: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
    |                                               `- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:35: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
    |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:48: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
    |                                                `- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:59:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 57 |     // MARK: - Properties
 58 |
 59 |     @State private var frames: [CGRect] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 60 |     @State private var tBall: CGFloat = 0
 61 |     @State private var tIndent: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:60:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 58 |
 59 |     @State private var frames: [CGRect] = []
 60 |     @State private var tBall: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 61 |     @State private var tIndent: CGFloat = 0
 62 |     @State private var internalPrevSelectedIndex: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:61:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 59 |     @State private var frames: [CGRect] = []
 60 |     @State private var tBall: CGFloat = 0
 61 |     @State private var tIndent: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 62 |     @State private var internalPrevSelectedIndex: Int = 0
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:62:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 60 |     @State private var tBall: CGFloat = 0
 61 |     @State private var tIndent: CGFloat = 0
 62 |     @State private var internalPrevSelectedIndex: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 63 |
 64 |     private let circleSize = 10.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:66:6: error: 'Environment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 64 |     private let circleSize = 10.0
 65 |
 66 |     @Environment(\.layoutDirection) private var layoutDirection
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 67 |
 68 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:137:22: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         |            `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:136:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
134 |     }
135 |
136 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
137 |     var circle: some View {
138 |         switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:171:26: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         |                `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:170:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
168 |     }
169 |
170 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
171 |     var background: some View {
172 |         if let _ = frames[safe: selectedIndex] {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:204:54: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
202 |     }
203 |
204 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          |                                           `- error: 'Path' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
205 |         var path = Path()
206 |         guard let from = from, let to = to else {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:216:35: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
214 |     // MARK: - Customization setters
215 |
216 |     public func barColor(_ color: Color) -> AnimatedTabBar {
    |                 |                 `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
217 |         var switcher = self
218 |         switcher.barColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:222:40: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
220 |     }
221 |
222 |     public func selectedColor(_ color: Color) -> AnimatedTabBar {
    |                 |                      `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
223 |         var switcher = self
224 |         switcher.selectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:228:42: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
226 |     }
227 |
228 |     public func unselectedColor(_ color: Color) -> AnimatedTabBar {
    |                 |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
229 |         var switcher = self
230 |         switcher.unselectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:234:36: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
232 |     }
233 |
234 |     public func ballColor(_ color: Color) -> AnimatedTabBar {
    |                 |                  `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
235 |         var switcher = self
236 |         switcher.ballColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:252:48: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
250 |     }
251 |
252 |     public func ballAnimation(_ ballAnimation: Animation) -> AnimatedTabBar {
    |                 |                              `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
253 |         var switcher = self
254 |         switcher.ballAnimation = ballAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:258:52: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
256 |     }
257 |
258 |     public func indentAnimation(_ indentAnimation: Animation) -> AnimatedTabBar {
    |                 |                                  `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
259 |         var switcher = self
260 |         switcher.indentAnimation = indentAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:264:54: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
262 |     }
263 |
264 |     public func buttonsAnimation(_ buttonsAnimation: Animation) -> AnimatedTabBar {
    |                 |                                    `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
265 |         var switcher = self
266 |         switcher.buttonsAnimation = buttonsAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/BezierPathLength.swift:11:11: error: 'Path' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | extension Path  {
    | |         `- error: 'Path' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
 12 |
 13 |     /// Length of path in pt
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:14:33: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 | let buttonsBarSpace = "ButtonsBarSpace"
11 |
12 | struct ButtonsBar: Layout {
   |        `- note: add '@available' attribute to enclosing struct
13 |
14 |     func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
   |          |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let idealViewSizes = subviews.map { $0.sizeThatFits(.unspecified) }
16 |         let height = idealViewSizes.reduce(0) { max($0, $1.height) }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:21:53: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 | let buttonsBarSpace = "ButtonsBarSpace"
11 |
12 | struct ButtonsBar: Layout {
   |        `- note: add '@available' attribute to enclosing struct
13 |
14 |     func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
   :
19 |     }
20 |
21 |     func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
   |          |                                          `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |          `- note: add '@available' attribute to enclosing instance method
22 |         var pt = CGPoint(x: bounds.minX, y: bounds.minY)
23 |         let widthDelta = bounds.width / CGFloat(subviews.count)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:13:21: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var t: CGFloat
13 |     var trajectory: Path
   |                     `- error: 'Path' is only available in macOS 10.15 or newer
14 |
15 |     var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var t: CGFloat
   :
18 |     }
19 |
20 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 |                            `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
21 |         if let point = trajectory.point(at: t) {
22 |             return ProjectionTransform(CGAffineTransform(translationX: point.x, y: point.y))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:51: error: 'Path' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
   |                 |                                 `- error: 'Path' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:65: error: 'View' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
   |                 |                                               `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:11: error: 'View' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
35 |
36 |     var t: CGFloat
   :
60 |     }
61 |
62 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 |                            `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
63 |         ProjectionTransform(CGAffineTransform(translationX: t < 0.5 ? from : to, y: 0)
64 |             .translatedBy(x: size.width * anchor, y: size.height * anchor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:80: error: 'View' is only available in macOS 10.15 or newer
67 | }
68 |
69 | extension View {
   | `- note: add '@available' attribute to enclosing extension
70 |     public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
   |                 |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
71 |         self.modifier(TeleportEffect(t: t, from: from, to: to))
72 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:11: error: 'View' is only available in macOS 10.15 or newer
67 | }
68 |
69 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
70 |     public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
71 |         self.modifier(TeleportEffect(t: t, from: from, to: to))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct IndentableRect: Shape {
    |        `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     var t: CGFloat
    :
 21 |     }
 22 |
 23 |     func path(in rect: CGRect) -> Path {
    |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:20: error: 'Path' is only available in macOS 10.15 or newer
 55 | }
 56 |
 57 | struct TranslatedPath {
    |        `- note: add '@available' attribute to enclosing struct
 58 |
 59 |     // svg path
    :
 71 |     }
 72 |
 73 |     func path() -> Path {
    |          |         `- error: 'Path' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 74 |
 75 |         let t1 = translate(x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:35: error: 'Path' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | struct SlidingIndentRect: Shape {
    |        `- note: add '@available' attribute to enclosing struct
 93 |
 94 |     var t: CGFloat
    :
102 |     }
103 |
104 |     func path(in rect: CGRect) -> Path {
    |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:13:30: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct DropletButton: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public var imageName: String
 13 |     public var dropletColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 14 |     public var isSelected: Bool
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:16:50: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct DropletButton: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public var imageName: String
    :
 14 |     public var isSelected: Bool
 15 |
 16 |     public init(imageName: String, dropletColor: Color, isSelected: Bool) {
    |            |                                     `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 17 |         self.imageName = imageName
 18 |         self.dropletColor = dropletColor
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct DropletButton: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public var imageName: String
    :
 20 |     }
 21 |
 22 |     @State var t: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |
 24 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:24:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct DropletButton: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public var imageName: String
    :
 22 |     @State var t: CGFloat = 0
 23 |
 24 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 25 |         DropletButtonAnimatable(imageName: imageName, dropletColor: dropletColor, t: t)
 26 |             .onChange(of: isSelected) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:46:23: error: 'Color' is only available in macOS 10.15 or newer
 41 | }
 42 |
 43 | struct DropletButtonAnimatable: View, Animatable {
    |        `- note: add '@available' attribute to enclosing struct
 44 |
 45 |     var imageName: String
 46 |     var dropletColor: Color
    |                       `- error: 'Color' is only available in macOS 10.15 or newer
 47 |     var t: CGFloat
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:49:50: error: 'Color' is only available in macOS 10.15 or newer
 41 | }
 42 |
 43 | struct DropletButtonAnimatable: View, Animatable {
    |        `- note: add '@available' attribute to enclosing struct
 44 |
 45 |     var imageName: String
    :
 47 |     var t: CGFloat
 48 |
 49 |     public init(imageName: String, dropletColor: Color, t: CGFloat) {
    |            |                                     `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 50 |         self.imageName = imageName
 51 |         self.dropletColor = dropletColor
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:60:6: error: 'State' is only available in macOS 10.15 or newer
 41 | }
 42 |
 43 | struct DropletButtonAnimatable: View, Animatable {
    |        `- note: add '@available' attribute to enclosing struct
 44 |
 45 |     var imageName: String
    :
 58 |     }
 59 |
 60 |     @State private var frame: CGRect = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 61 |
 62 |     private var scale: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:80:27: error: 'View' is only available in macOS 10.15 or newer
 41 | }
 42 |
 43 | struct DropletButtonAnimatable: View, Animatable {
    |        `- note: add '@available' attribute to enclosing struct
 44 |
 45 |     var imageName: String
    :
 78 |     }
 79 |
 80 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 81 |         ZStack {
 82 |             Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:97:35: error: 'Path' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct Droplet: Shape {
    |        `- note: add '@available' attribute to enclosing struct
 94 |
 95 |     var t: CGFloat
 96 |
 97 |     func path(in rect: CGRect) -> Path {
    |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 98 |         let param = t * 20
 99 |         let inset = min(t * 5, 1) * 15
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:12:23: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
   |                       `- error: 'Image' is only available in macOS 10.15 or newer
13 |     public var maskImage: Image
14 |     public var imageSize: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:13:27: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
13 |     public var maskImage: Image
   |                           `- error: 'Image' is only available in macOS 10.15 or newer
14 |     public var imageSize: CGFloat
15 |     public var isSelected: Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:17:24: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
   :
15 |     public var isSelected: Bool
16 |
17 |     public init(image: Image, maskImage: Image, imageSize: CGFloat? = nil, isSelected: Bool) {
   |            |           `- error: 'Image' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
18 |         self.image = image
19 |         self.maskImage = maskImage
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:17:42: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
   :
15 |     public var isSelected: Bool
16 |
17 |     public init(image: Image, maskImage: Image, imageSize: CGFloat? = nil, isSelected: Bool) {
   |            |                             `- error: 'Image' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
18 |         self.image = image
19 |         self.maskImage = maskImage
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
   :
22 |     }
23 |
24 |     @State var t: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
25 |     @State var tForBg: CGFloat = 0
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
   :
23 |
24 |     @State var t: CGFloat = 0
25 |     @State var tForBg: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
26 |
27 |     var scale: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct WiggleButton: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |
12 |     public var image: Image
   :
29 |     }
30 |
31 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
32 |         ZStack {
33 |             WiggleButtonBg(t: tForBg)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:75:35: error: 'Path' is only available in macOS 10.15 or newer
64 | }
65 |
66 | struct WiggleButtonBg: Shape {
   |        `- note: add '@available' attribute to enclosing struct
67 |
68 |     var t: CGFloat
   :
73 |     }
74 |
75 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
76 |         var t = t
77 |         if t < 0.5 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:11:20: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension TupleView {
   | `- note: add '@available' attribute to enclosing extension
11 |     var getViews: [AnyView] {
   |         |          `- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
12 |         makeArray(from: value)
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:18:22: error: 'AnyView' is only available in macOS 10.15 or newer
13 |     }
14 |
15 |     private struct GenericView {
   |                    `- note: add '@available' attribute to enclosing struct
16 |         let body: Any
17 |
18 |         var anyView: AnyView? {
   |             |        `- error: 'AnyView' is only available in macOS 10.15 or newer
   |             `- note: add '@available' attribute to enclosing property
19 |             AnyView(_fromValue: body)
20 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:58: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension TupleView {
   | `- note: add '@available' attribute to enclosing extension
11 |     var getViews: [AnyView] {
12 |         makeArray(from: value)
   :
21 |     }
22 |
23 |     private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
   |                  |                                       `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
24 |         func convert(child: Mirror.Child) -> AnyView? {
25 |             withUnsafeBytes(of: child.value) { ptr -> AnyView? in
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:11: error: 'TupleView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension TupleView {
   | |         `- error: 'TupleView' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
11 |     var getViews: [AnyView] {
12 |         makeArray(from: value)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:45:6: error: 'Binding' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct FrameGetter: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
44 |
45 |     @Binding var frame: CGRect
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
46 |
47 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:47:41: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | struct FrameGetter: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
44 |
45 |     @Binding var frame: CGRect
46 |
47 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
48 |         content
49 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:38: error: 'Binding' is only available in macOS 10.15 or newer
62 | }
63 |
64 | extension View {
   | `- note: add '@available' attribute to enclosing extension
65 |     public func frameGetter(_ frame: Binding<CGRect>) -> some View {
   |                 |                    `- error: 'Binding' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
66 |         modifier(FrameGetter(frame: frame))
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:63: error: 'View' is only available in macOS 10.15 or newer
62 | }
63 |
64 | extension View {
   | `- note: add '@available' attribute to enclosing extension
65 |     public func frameGetter(_ frame: Binding<CGRect>) -> some View {
   |                 |                                             `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
66 |         modifier(FrameGetter(frame: frame))
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:11: error: 'View' is only available in macOS 10.15 or newer
62 | }
63 |
64 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
65 |     public func frameGetter(_ frame: Binding<CGRect>) -> some View {
66 |         modifier(FrameGetter(frame: frame))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:48: error: 'View' is only available in macOS 10.15 or newer
68 | }
69 |
70 | extension Image {
   | `- note: add '@available' attribute to enclosing extension
71 |     func imageResizer(_ size: CGFloat) -> some View {
   |          |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
72 |         self
73 |             .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:11: error: 'Image' is only available in macOS 10.15 or newer
68 | }
69 |
70 | extension Image {
   | |         `- error: 'Image' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
71 |     func imageResizer(_ size: CGFloat) -> some View {
72 |         self
[8/11] Compiling AnimatedTabBar ButtonsBarLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:14:33: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 | let buttonsBarSpace = "ButtonsBarSpace"
11 |
12 | struct ButtonsBar: Layout {
   |        `- note: add '@available' attribute to enclosing struct
13 |
14 |     func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
   |          |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let idealViewSizes = subviews.map { $0.sizeThatFits(.unspecified) }
16 |         let height = idealViewSizes.reduce(0) { max($0, $1.height) }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:21:53: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 | let buttonsBarSpace = "ButtonsBarSpace"
11 |
12 | struct ButtonsBar: Layout {
   |        `- note: add '@available' attribute to enclosing struct
13 |
14 |     func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
   :
19 |     }
20 |
21 |     func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
   |          |                                          `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |          `- note: add '@available' attribute to enclosing instance method
22 |         var pt = CGPoint(x: bounds.minX, y: bounds.minY)
23 |         let widthDelta = bounds.width / CGFloat(subviews.count)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:51:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |             Rectangle()
53 |                 .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:51:24: 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
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
   |                        |- 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
52 |             Rectangle()
53 |                 .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:52:13: error: 'Rectangle' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
   |             |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
53 |                 .fill(Color.clear)
54 |                 .preference(key: ButtonPreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
53 |                 .fill(Color.clear)
   |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
54 |                 .preference(key: ButtonPreferenceKey.self,
55 |                             value: [geometry.frame(in: .named(buttonsBarSpace))])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:23: error: 'Color' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
53 |                 .fill(Color.clear)
   |                       |- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
54 |                 .preference(key: ButtonPreferenceKey.self,
55 |                             value: [geometry.frame(in: .named(buttonsBarSpace))])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:29: error: 'clear' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
53 |                 .fill(Color.clear)
   |                             |- error: 'clear' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
54 |                 .preference(key: ButtonPreferenceKey.self,
55 |                             value: [geometry.frame(in: .named(buttonsBarSpace))])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:54:18: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
53 |                 .fill(Color.clear)
54 |                 .preference(key: ButtonPreferenceKey.self,
   |                  |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
55 |                             value: [geometry.frame(in: .named(buttonsBarSpace))])
56 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:55:46: error: 'frame(in:)' is only available in macOS 10.15 or newer
46 | }
47 |
48 | struct ButtonPreferenceViewSetter: View {
   |        `- note: add '@available' attribute to enclosing struct
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         GeometryReader { geometry in
52 |             Rectangle()
53 |                 .fill(Color.clear)
54 |                 .preference(key: ButtonPreferenceKey.self,
55 |                             value: [geometry.frame(in: .named(buttonsBarSpace))])
   |                                              |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                                              `- note: add 'if #available' version check
56 |         }
57 |     }
[9/11] Compiling AnimatedTabBar GeometryEffects.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:13:21: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var t: CGFloat
13 |     var trajectory: Path
   |                     `- error: 'Path' is only available in macOS 10.15 or newer
14 |
15 |     var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var t: CGFloat
   :
18 |     }
19 |
20 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 |                            `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
21 |         if let point = trajectory.point(at: t) {
22 |             return ProjectionTransform(CGAffineTransform(translationX: point.x, y: point.y))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:51: error: 'Path' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
   |                 |                                 `- error: 'Path' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:65: error: 'View' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
   |                 |                                               `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:11: error: 'View' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
35 |
36 |     var t: CGFloat
   :
60 |     }
61 |
62 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 |                            `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
63 |         ProjectionTransform(CGAffineTransform(translationX: t < 0.5 ? from : to, y: 0)
64 |             .translatedBy(x: size.width * anchor, y: size.height * anchor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:80: error: 'View' is only available in macOS 10.15 or newer
67 | }
68 |
69 | extension View {
   | `- note: add '@available' attribute to enclosing extension
70 |     public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
   |                 |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
71 |         self.modifier(TeleportEffect(t: t, from: from, to: to))
72 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:11: error: 'View' is only available in macOS 10.15 or newer
67 | }
68 |
69 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
70 |     public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
71 |         self.modifier(TeleportEffect(t: t, from: from, to: to))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:22:20: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var t: CGFloat
   :
18 |     }
19 |
20 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 `- note: add '@available' attribute to enclosing instance method
21 |         if let point = trajectory.point(at: t) {
22 |             return ProjectionTransform(CGAffineTransform(translationX: point.x, y: point.y))
   |                    |- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
23 |         }
24 |         return ProjectionTransform()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:24:16: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var t: CGFloat
   :
18 |     }
19 |
20 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 `- note: add '@available' attribute to enclosing instance method
21 |         if let point = trajectory.point(at: t) {
22 |             return ProjectionTransform(CGAffineTransform(translationX: point.x, y: point.y))
23 |         }
24 |         return ProjectionTransform()
   |                |- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
25 |     }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:30:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | }
27 |
28 | extension View {
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
31 |     }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:30:14: error: 'modifier' is only available in macOS 10.15 or newer
26 | }
27 |
28 | extension View {
   | `- note: add '@available' attribute to enclosing extension
29 |     public func alongPath(t: CGFloat, trajectory: Path) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(AlongPath(t: t, trajectory: trajectory))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
31 |     }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:63:9: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        `- note: add '@available' attribute to enclosing struct
35 |
36 |     var t: CGFloat
   :
60 |     }
61 |
62 |     public func effectValue(size: CGSize) -> ProjectionTransform {
   |                 `- note: add '@available' attribute to enclosing instance method
63 |         ProjectionTransform(CGAffineTransform(translationX: t < 0.5 ? from : to, y: 0)
   |         |- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
64 |             .translatedBy(x: size.width * anchor, y: size.height * anchor)
65 |             .scaledBy(x: scale, y: scale))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:71:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | }
68 |
69 | extension View {
   | `- note: add '@available' attribute to enclosing extension
70 |     public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
71 |         self.modifier(TeleportEffect(t: t, from: from, to: to))
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
72 |     }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:71:14: error: 'modifier' is only available in macOS 10.15 or newer
67 | }
68 |
69 | extension View {
   | `- note: add '@available' attribute to enclosing extension
70 |     public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
71 |         self.modifier(TeleportEffect(t: t, from: from, to: to))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
72 |     }
73 | }
[10/11] Compiling AnimatedTabBar BezierPathLength.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/BezierPathLength.swift:11:11: error: 'Path' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | extension Path  {
    | |         `- error: 'Path' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
 12 |
 13 |     /// Length of path in pt
[11/11] Compiling AnimatedTabBar AnimatedTabbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:66:20: error: 'layoutDirection' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 64 |     private let circleSize = 10.0
 65 |
 66 |     @Environment(\.layoutDirection) private var layoutDirection
    |                    `- error: 'layoutDirection' is only available in macOS 10.15 or newer
 67 |
 68 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 16 |     }
 17 |
 18 |     @Binding private var selectedIndex: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 19 |     @Binding private var prevSelectedIndex: Int
 20 |     private var views: [AnyView] = []
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:19:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 17 |
 18 |     @Binding private var selectedIndex: Int
 19 |     @Binding private var prevSelectedIndex: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 20 |     private var views: [AnyView] = []
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:20:25: error: 'AnyView' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 18 |     @Binding private var selectedIndex: Int
 19 |     @Binding private var prevSelectedIndex: Int
 20 |     private var views: [AnyView] = []
    |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:39: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            |                          `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:23:43: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
    |                                           `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
 25 |         self._selectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:25: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
    |                         `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 |         self._selectedIndex = selectedIndex
 26 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:62: error: 'TupleView' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
    |                                                              `- error: 'TupleView' is only available in macOS 10.15 or newer
 25 |         self._selectedIndex = selectedIndex
 26 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:26: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            |             `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
 33 |                                views: [Content]) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:47: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            |                                  `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
 33 |                                views: [Content]) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:32:51: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
    |                                                   `- error: 'Binding' is only available in macOS 10.15 or newer
 33 |                                views: [Content]) {
 34 |         self._selectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:27: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 40 |     // MARK: - Customization
 41 |
 42 |     private var barColor: Color = .white
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:36: error: 'white' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 40 |     // MARK: - Customization
 41 |
 42 |     private var barColor: Color = .white
    |                                    `- error: 'white' is only available in macOS 10.15 or newer
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:32: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 41 |
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:41: error: 'red' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 41 |
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
    |                                         `- error: 'red' is only available in macOS 10.15 or newer
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:34: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 45 |     private var ballColor: Color = .red
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:43: error: 'black' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 42 |     private var barColor: Color = .white
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
    |                                           `- error: 'black' is only available in macOS 10.15 or newer
 45 |     private var ballColor: Color = .red
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:28: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 46 |
 47 |     private var verticalPadding: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:37: error: 'red' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 43 |     private var selectedColor: Color = .red
 44 |     private var unselectedColor: Color = .black
 45 |     private var ballColor: Color = .red
    |                                     `- error: 'red' is only available in macOS 10.15 or newer
 46 |
 47 |     private var verticalPadding: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:32: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 48 |     private var cornerRadius: CGFloat = 0
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
    |                                `- error: 'Animation' is only available in macOS 10.15 or newer
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:45: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 48 |     private var cornerRadius: CGFloat = 0
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
    |                                             `- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:34: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
    |                                  `- error: 'Animation' is only available in macOS 10.15 or newer
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:47: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 49 |
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
    |                                               `- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:35: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
    |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:48: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 50 |     private var ballAnimation: Animation = .easeOut(duration: 0.6)
 51 |     private var indentAnimation: Animation = .easeOut(duration: 0.6)
 52 |     private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
    |                                                `- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 53 |     private var ballTrajectory: BallTrajectory = .parabolic
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:59:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 57 |     // MARK: - Properties
 58 |
 59 |     @State private var frames: [CGRect] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 60 |     @State private var tBall: CGFloat = 0
 61 |     @State private var tIndent: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:60:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 58 |
 59 |     @State private var frames: [CGRect] = []
 60 |     @State private var tBall: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 61 |     @State private var tIndent: CGFloat = 0
 62 |     @State private var internalPrevSelectedIndex: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:61:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 59 |     @State private var frames: [CGRect] = []
 60 |     @State private var tBall: CGFloat = 0
 61 |     @State private var tIndent: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 62 |     @State private var internalPrevSelectedIndex: Int = 0
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:62:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 60 |     @State private var tBall: CGFloat = 0
 61 |     @State private var tIndent: CGFloat = 0
 62 |     @State private var internalPrevSelectedIndex: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 63 |
 64 |     private let circleSize = 10.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:66:6: error: 'Environment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 64 |     private let circleSize = 10.0
 65 |
 66 |     @Environment(\.layoutDirection) private var layoutDirection
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 67 |
 68 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:137:22: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         |            `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:136:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
134 |     }
135 |
136 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
137 |     var circle: some View {
138 |         switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:171:26: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         |                `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:170:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
168 |     }
169 |
170 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
171 |     var background: some View {
172 |         if let _ = frames[safe: selectedIndex] {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:204:54: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
202 |     }
203 |
204 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          |                                           `- error: 'Path' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
205 |         var path = Path()
206 |         guard let from = from, let to = to else {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:216:35: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
214 |     // MARK: - Customization setters
215 |
216 |     public func barColor(_ color: Color) -> AnimatedTabBar {
    |                 |                 `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
217 |         var switcher = self
218 |         switcher.barColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:222:40: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
220 |     }
221 |
222 |     public func selectedColor(_ color: Color) -> AnimatedTabBar {
    |                 |                      `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
223 |         var switcher = self
224 |         switcher.selectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:228:42: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
226 |     }
227 |
228 |     public func unselectedColor(_ color: Color) -> AnimatedTabBar {
    |                 |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
229 |         var switcher = self
230 |         switcher.unselectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:234:36: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
232 |     }
233 |
234 |     public func ballColor(_ color: Color) -> AnimatedTabBar {
    |                 |                  `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
235 |         var switcher = self
236 |         switcher.ballColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:252:48: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
250 |     }
251 |
252 |     public func ballAnimation(_ ballAnimation: Animation) -> AnimatedTabBar {
    |                 |                              `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
253 |         var switcher = self
254 |         switcher.ballAnimation = ballAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:258:52: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
256 |     }
257 |
258 |     public func indentAnimation(_ indentAnimation: Animation) -> AnimatedTabBar {
    |                 |                                  `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
259 |         var switcher = self
260 |         switcher.indentAnimation = indentAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:264:54: error: 'Animation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
262 |     }
263 |
264 |     public func buttonsAnimation(_ buttonsAnimation: Animation) -> AnimatedTabBar {
    |                 |                                    `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
265 |         var switcher = self
266 |         switcher.buttonsAnimation = buttonsAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:27:9: error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 20 |     private var views: [AnyView] = []
 21 |
 22 |     public init<Views>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 23 |                        prevSelectedIndex: Binding<Int>? = nil,
 24 |                        @ViewBuilder content: @escaping () -> TupleView<Views>) {
 25 |         self._selectedIndex = selectedIndex
 26 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
 27 |         self.internalPrevSelectedIndex = selectedIndex.wrappedValue
    |         |- error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 28 |         self.views = content().getViews
 29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:36:9: error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
 33 |                                views: [Content]) {
 34 |         self._selectedIndex = selectedIndex
 35 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
 36 |         self.internalPrevSelectedIndex = selectedIndex.wrappedValue
    |         |- error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 37 |         self.views = views.map { AnyView($0) }
 38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:37:34: error: 'AnyView' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 29 |     }
 30 |
 31 |     public init<Content: View>(selectedIndex: Binding<Int>,
    |            `- note: add '@available' attribute to enclosing initializer
 32 |                                prevSelectedIndex: Binding<Int>? = nil,
 33 |                                views: [Content]) {
    :
 35 |         self._prevSelectedIndex = prevSelectedIndex ?? .constant(0)
 36 |         self.internalPrevSelectedIndex = selectedIndex.wrappedValue
 37 |         self.views = views.map { AnyView($0) }
    |                                  |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 38 |     }
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:95:28: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
 93 |
 94 | #if swift(>=5.9)
 95 |                         if #available(iOS 17.0, *) {
    |                            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
 96 |                             view.animation(.linear) {
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:69:9: error: 'VStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:69:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
    |                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:69:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
    |                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:13: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    |             |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:13: error: 'HStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    |             |- error: 'HStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:13: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    |             |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:32: error: 'bottom' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    |                                |- error: 'bottom' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:72:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
    |                     |- warning: conformance of 'Spacer' 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
 73 |                     circle
 74 |                         .scaleEffect(x: layoutDirection == .rightToLeft ? -1 : 1, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:72:21: error: 'Spacer' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 73 |                     circle
 74 |                         .scaleEffect(x: layoutDirection == .rightToLeft ? -1 : 1, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:74:26: error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 72 |                     Spacer()
 73 |                     circle
 74 |                         .scaleEffect(x: layoutDirection == .rightToLeft ? -1 : 1, y: 1)
    |                          |- error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 75 |                 } else {
 76 |                     circle
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:71:52: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
    |                                                    |- warning: conformance of 'Spacer' 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
 72 |                     Spacer()
 73 |                     circle
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:71:52: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
    |                                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                    `- note: add 'if #available' version check
 72 |                     Spacer()
 73 |                     circle
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:77:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 75 |                 } else {
 76 |                     circle
 77 |                     Spacer()
    |                     |- warning: conformance of 'Spacer' 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
 78 |                 }
 79 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:77:21: error: 'Spacer' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 75 |                 } else {
 76 |                     circle
 77 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 78 |                 }
 79 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:75:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 73 |                     circle
 74 |                         .scaleEffect(x: layoutDirection == .rightToLeft ? -1 : 1, y: 1)
 75 |                 } else {
    |                        |- warning: conformance of 'Spacer' 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
 76 |                     circle
 77 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:75:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 73 |                     circle
 74 |                         .scaleEffect(x: layoutDirection == .rightToLeft ? -1 : 1, y: 1)
 75 |                 } else {
    |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 76 |                     circle
 77 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:40: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    |                                        |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 71 |                 if layoutDirection == .rightToLeft {
 72 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:81:13: error: 'ZStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 79 |             }
 80 |
 81 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 82 |                 background
 83 |                     .cornerRadius(cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:83:22: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 81 |             ZStack {
 82 |                 background
 83 |                     .cornerRadius(cornerRadius)
    |                      |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 84 |
 85 |                 ButtonsBar {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:85:28: error: 'callAsFunction' is only available in macOS 13.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 83 |                     .cornerRadius(cornerRadius)
 84 |
 85 |                 ButtonsBar {
    |                            |- error: 'callAsFunction' is only available in macOS 13.0 or newer
    |                            `- note: add 'if #available' version check
 86 |                     ForEach(0..<views.count, id: \.self) { i in
 87 |                         let view = views[i].onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:86:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 84 |
 85 |                 ButtonsBar {
 86 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     |- warning: conformance of 'ForEach<Data, ID, Content>' 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
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:86:21: error: 'ForEach' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 84 |
 85 |                 ButtonsBar {
 86 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:86:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 84 |
 85 |                 ButtonsBar {
 86 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:87:45: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 85 |                 ButtonsBar {
 86 |                     ForEach(0..<views.count, id: \.self) { i in
 87 |                         let view = views[i].onTapGesture {
    |                                             |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
 88 |                             prevSelectedIndex = selectedIndex
 89 |                             selectedIndex = i
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:88:29: error: setter for 'prevSelectedIndex' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 86 |                     ForEach(0..<views.count, id: \.self) { i in
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
    |                             |- error: setter for 'prevSelectedIndex' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 89 |                             selectedIndex = i
 90 |                             didSelectIndex?(i)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:89:29: error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
 89 |                             selectedIndex = i
    |                             |- error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 90 |                             didSelectIndex?(i)
 91 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:92:30: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 90 |                             didSelectIndex?(i)
 91 |                         }
 92 |                             .background(ButtonPreferenceViewSetter())
    |                              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 93 |
 94 | #if swift(>=5.9)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:96:34: error: 'animation(_:body:)' is only available in macOS 14.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 94 | #if swift(>=5.9)
 95 |                         if #available(iOS 17.0, *) {
 96 |                             view.animation(.linear) {
    |                                  |- error: 'animation(_:body:)' is only available in macOS 14.0 or newer
    |                                  `- note: add 'if #available' version check
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
 98 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:96:45: error: 'linear' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 94 | #if swift(>=5.9)
 95 |                         if #available(iOS 17.0, *) {
 96 |                             view.animation(.linear) {
    |                                             |- error: 'linear' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
 98 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:97:36: error: 'foregroundStyle' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 95 |                         if #available(iOS 17.0, *) {
 96 |                             view.animation(.linear) {
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
    |                                    |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |                                    `- note: add 'if #available' version check
 98 |                             }
 99 |                         } else {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:95:52: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 93 |
 94 | #if swift(>=5.9)
 95 |                         if #available(iOS 17.0, *) {
    |                                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                                    `- note: add 'if #available' version check
 96 |                             view.animation(.linear) {
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:95:52: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 93 |
 94 | #if swift(>=5.9)
 95 |                         if #available(iOS 17.0, *) {
    |                                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                    `- note: add 'if #available' version check
 96 |                             view.animation(.linear) {
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:99:32: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 97 |                                 $0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
 98 |                             }
 99 |                         } else {
    |                                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
100 |                             view
101 |                                 .foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:86:58: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 84 |
 85 |                 ButtonsBar {
 86 |                     ForEach(0..<views.count, id: \.self) { i in
    |                                                          |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:85:28: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
 83 |                     .cornerRadius(cornerRadius)
 84 |
 85 |                 ButtonsBar {
    |                            |- warning: conformance of 'ForEach<Data, ID, Content>' 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
 86 |                     ForEach(0..<views.count, id: \.self) { i in
 87 |                         let view = views[i].onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:111:18: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
109 |                     }
110 |                 }
111 |                 .coordinateSpace(name: buttonsBarSpace)
    |                  |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
112 |                 .onPreferenceChange(ButtonPreferenceKey.self) { frames in
113 |                     DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:112:18: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
110 |                 }
111 |                 .coordinateSpace(name: buttonsBarSpace)
112 |                 .onPreferenceChange(ButtonPreferenceKey.self) { frames in
    |                  |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
113 |                     DispatchQueue.main.async {
114 |                         self.frames = frames
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:114:25: error: setter for 'frames' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
112 |                 .onPreferenceChange(ButtonPreferenceKey.self) { frames in
113 |                     DispatchQueue.main.async {
114 |                         self.frames = frames
    |                         |- error: setter for 'frames' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
115 |                     }
116 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:117:18: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
115 |                     }
116 |                 }
117 |                 .padding(.vertical, verticalPadding)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
118 |             }
119 |             .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:119:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
117 |                 .padding(.vertical, verticalPadding)
118 |             }
119 |             .fixedSize(horizontal: false, vertical: true)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
120 |         }
121 |         .onChange(of: selectedIndex) { [selectedIndex] newValue in
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:69:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
    |                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
 70 |             HStack(alignment: .bottom) {
 71 |                 if layoutDirection == .rightToLeft {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:121:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
119 |             .fixedSize(horizontal: false, vertical: true)
120 |         }
121 |         .onChange(of: selectedIndex) { [selectedIndex] newValue in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
122 |             internalPrevSelectedIndex = selectedIndex
123 |             tBall = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:122:13: error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
120 |         }
121 |         .onChange(of: selectedIndex) { [selectedIndex] newValue in
122 |             internalPrevSelectedIndex = selectedIndex
    |             |- error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
123 |             tBall = 0
124 |             tIndent = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:123:13: error: setter for 'tBall' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
121 |         .onChange(of: selectedIndex) { [selectedIndex] newValue in
122 |             internalPrevSelectedIndex = selectedIndex
123 |             tBall = 0
    |             |- error: setter for 'tBall' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
124 |             tIndent = 0
125 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:124:13: error: setter for 'tIndent' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
122 |             internalPrevSelectedIndex = selectedIndex
123 |             tBall = 0
124 |             tIndent = 0
    |             |- error: setter for 'tIndent' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
125 |             DispatchQueue.main.async {
126 |                 withAnimation(ballAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:126:17: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
124 |             tIndent = 0
125 |             DispatchQueue.main.async {
126 |                 withAnimation(ballAnimation) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
127 |                     tBall = 1
128 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:127:21: error: setter for 'tBall' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
125 |             DispatchQueue.main.async {
126 |                 withAnimation(ballAnimation) {
127 |                     tBall = 1
    |                     |- error: setter for 'tBall' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
128 |                 }
129 |                 withAnimation(indentAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:129:17: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
127 |                     tBall = 1
128 |                 }
129 |                 withAnimation(indentAnimation) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
130 |                     tIndent = 1
131 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:130:21: error: setter for 'tIndent' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
 66 |     @Environment(\.layoutDirection) private var layoutDirection
 67 |
 68 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 69 |         VStack {
 70 |             HStack(alignment: .bottom) {
    :
128 |                 }
129 |                 withAnimation(indentAnimation) {
130 |                     tIndent = 1
    |                     |- error: setter for 'tIndent' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
131 |                 }
132 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:140:13: error: 'Circle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
140 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
141 |                 .frame(width: circleSize, height: circleSize)
142 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:141:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
140 |             Circle()
141 |                 .frame(width: circleSize, height: circleSize)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
142 |                 .foregroundColor(ballColor)
143 |                 .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:142:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
140 |             Circle()
141 |                 .frame(width: circleSize, height: circleSize)
142 |                 .foregroundColor(ballColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
143 |                 .fixedSize()
144 |                 .alongPath(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:143:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
141 |                 .frame(width: circleSize, height: circleSize)
142 |                 .foregroundColor(ballColor)
143 |                 .fixedSize()
    |                  |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
144 |                 .alongPath(
145 |                     t: tBall,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:140:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
140 |             Circle()
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
141 |                 .frame(width: circleSize, height: circleSize)
142 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:140:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
140 |             Circle()
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
141 |                 .frame(width: circleSize, height: circleSize)
142 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:153:13: error: 'Circle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
151 |
152 |         case .teleport:
153 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
154 |                 .frame(width: circleSize, height: circleSize)
155 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:154:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
152 |         case .teleport:
153 |             Circle()
154 |                 .frame(width: circleSize, height: circleSize)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
155 |                 .foregroundColor(ballColor)
156 |                 .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:155:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
153 |             Circle()
154 |                 .frame(width: circleSize, height: circleSize)
155 |                 .foregroundColor(ballColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
156 |                 .fixedSize()
157 |                 .teleportEffect(t: tBall, from: getBallCoord(internalPrevSelectedIndex).x, to: getBallCoord(selectedIndex).x)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:156:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
154 |                 .frame(width: circleSize, height: circleSize)
155 |                 .foregroundColor(ballColor)
156 |                 .fixedSize()
    |                  |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
157 |                 .teleportEffect(t: tBall, from: getBallCoord(internalPrevSelectedIndex).x, to: getBallCoord(selectedIndex).x)
158 |                 .offset(y: 15)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:158:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
156 |                 .fixedSize()
157 |                 .teleportEffect(t: tBall, from: getBallCoord(internalPrevSelectedIndex).x, to: getBallCoord(selectedIndex).x)
158 |                 .offset(y: 15)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
159 |
160 |         case .straight:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:153:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
151 |
152 |         case .teleport:
153 |             Circle()
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
154 |                 .frame(width: circleSize, height: circleSize)
155 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:153:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
151 |
152 |         case .teleport:
153 |             Circle()
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
154 |                 .frame(width: circleSize, height: circleSize)
155 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:161:13: error: 'Circle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
159 |
160 |         case .straight:
161 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
162 |                 .frame(width: circleSize, height: circleSize)
163 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:162:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
160 |         case .straight:
161 |             Circle()
162 |                 .frame(width: circleSize, height: circleSize)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
163 |                 .foregroundColor(ballColor)
164 |                 .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:163:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
161 |             Circle()
162 |                 .frame(width: circleSize, height: circleSize)
163 |                 .foregroundColor(ballColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
164 |                 .fixedSize()
165 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:164:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
162 |                 .frame(width: circleSize, height: circleSize)
163 |                 .foregroundColor(ballColor)
164 |                 .fixedSize()
    |                  |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
165 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
166 |                 .animation(ballAnimation, value: selectedIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:165:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
163 |                 .foregroundColor(ballColor)
164 |                 .fixedSize()
165 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
166 |                 .animation(ballAnimation, value: selectedIndex)
167 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:166:18: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
164 |                 .fixedSize()
165 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
166 |                 .animation(ballAnimation, value: selectedIndex)
    |                  |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
167 |         }
168 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:161:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
    :
159 |
160 |         case .straight:
161 |             Circle()
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
162 |                 .frame(width: circleSize, height: circleSize)
163 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:137:27: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
135 |
136 |     @ViewBuilder
137 |     var circle: some View {
    |         |                 |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
    |         `- note: add '@available' attribute to enclosing property
138 |         switch ballTrajectory {
139 |         case .parabolic:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' 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
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:17: error: 'HStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
    |                 |- error: 'HStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' 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
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:176:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
176 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     |- warning: conformance of 'ForEach<Data, ID, Content>' 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
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
178 |                             .foregroundColor(barColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:176:21: error: 'ForEach' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
176 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
178 |                             .foregroundColor(barColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:176:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
176 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
178 |                             .foregroundColor(barColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:178:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
    :
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
178 |                             .foregroundColor(barColor)
    |                              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
179 |                             .animation(indentAnimation, value: selectedIndex)
180 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:179:30: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
    :
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
178 |                             .foregroundColor(barColor)
179 |                             .animation(indentAnimation, value: selectedIndex)
    |                              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
180 |                     }
181 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:36: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
    |                                    |- warning: conformance of 'ForEach<Data, ID, Content>' 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
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' 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
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:17: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
175 |                 HStack(spacing: 0) {
    |                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
176 |                     ForEach(0..<views.count, id: \.self) { i in
177 |                         IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:185:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
    :
183 |             case .straight:
184 |                 SlidingIndentRect(t: tIndent, indentX: getCoord(selectedIndex).x, prevIndentX: getCoord(internalPrevSelectedIndex).x)
185 |                     .foregroundColor(barColor)
    |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
186 |             }
187 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:184:17: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
    :
182 |
183 |             case .straight:
184 |                 SlidingIndentRect(t: tIndent, indentX: getCoord(selectedIndex).x, prevIndentX: getCoord(internalPrevSelectedIndex).x)
    |                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
185 |                     .foregroundColor(barColor)
186 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:48: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
    |                                                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:48: error: 'buildIf' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
    |                                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
173 |             switch ballTrajectory {
174 |             case .parabolic, .teleport:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:187:9: error: 'buildIf' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
    :
185 |                     .foregroundColor(barColor)
186 |             }
187 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
188 |     }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:171:31: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
169 |
170 |     @ViewBuilder
171 |     var background: some View {
    |         |                     |- warning: conformance of 'Optional<Wrapped>' 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
    |         `- note: add '@available' attribute to enclosing property
172 |         if let _ = frames[safe: selectedIndex] {
173 |             switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:205:20: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
202 |     }
203 |
204 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
205 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
206 |         guard let from = from, let to = to else {
207 |             return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:209:14: error: 'move(to:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
202 |     }
203 |
204 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
205 |         var path = Path()
206 |         guard let from = from, let to = to else {
207 |             return path
208 |         }
209 |         path.move(to: from)
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
210 |         path.addQuadCurve(to: to, control: CGPoint(x: (from.x + to.x)/2, y: from.y - 100))
211 |         return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:210:14: error: 'addQuadCurve(to:control:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct AnimatedTabBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public enum BallTrajectory {
    :
202 |     }
203 |
204 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
205 |         var path = Path()
206 |         guard let from = from, let to = to else {
    :
208 |         }
209 |         path.move(to: from)
210 |         path.addQuadCurve(to: to, control: CGPoint(x: (from.x + to.x)/2, y: from.y - 100))
    |              |- error: 'addQuadCurve(to:control:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
211 |         return path
212 |     }
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
BUILD FAILURE 6.3 macosSpm