The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AnimatedTabBar, reference 0.1.4 (b91b07), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 16:45:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:168: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 {
    :
166 |     }
167 |
168 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
169 |     var background: some View {
170 |         switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200: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 {
    :
198 |     }
199 |
200 |     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
201 |         var path = Path()
202 |         guard let from = from, let to = to else {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:212: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 {
    :
210 |     // MARK: - Customization setters
211 |
212 |     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
213 |         var switcher = self
214 |         switcher.barColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:218: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 {
    :
216 |     }
217 |
218 |     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
219 |         var switcher = self
220 |         switcher.selectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:224: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 {
    :
222 |     }
223 |
224 |     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
225 |         var switcher = self
226 |         switcher.unselectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:230: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 {
    :
228 |     }
229 |
230 |     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
231 |         var switcher = self
232 |         switcher.ballColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:248: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 {
    :
246 |     }
247 |
248 |     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
249 |         var switcher = self
250 |         switcher.ballAnimation = ballAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:254: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 {
    :
252 |     }
253 |
254 |     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
255 |         var switcher = self
256 |         switcher.indentAnimation = indentAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:260: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 {
    :
258 |     }
259 |
260 |     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
261 |         var switcher = self
262 |         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:41:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |     typealias Value = [CGRect]
40 |
41 |     static var defaultValue: Value = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |     static func reduce(value: inout Value, nextValue: () -> Value) {
/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:10:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
11 |
12 |     var t: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: warning: conformance of 'Never' 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 | struct AlongPath: GeometryEffect {
   |        |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.Body' (inferred as 'Never')
11 |
12 |     var t: CGFloat
/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:34:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
35 |
36 |     var t: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.Body' (inferred as 'Never')
35 |
36 |     var t: CGFloat
/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:10:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | struct IndentableRect: Shape {
    |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |        |- note: add @available attribute to enclosing struct
    |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
 11 |
 12 |     var t: CGFloat
/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/IndentableRect.swift:92:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 90 | }
 91 |
 92 | struct SlidingIndentRect: Shape {
    |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |        |- note: add @available attribute to enclosing struct
    |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
 93 |
 94 |     var t: CGFloat
/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:43:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 41 | }
 42 |
 43 | struct DropletButtonAnimatable: View, Animatable {
    |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |        |- note: add @available attribute to enclosing struct
    |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
 44 |
 45 |     var imageName: String
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:55:16: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 41 | }
 42 |
 43 | struct DropletButtonAnimatable: View, Animatable {
    |                                       `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
 44 |
 45 |     var imageName: String
    :
 53 |     }
 54 |
 55 |     public var animatableData: CGFloat {
    |                `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 56 |         get { t }
 57 |         set { t = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/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/TabBarButtons/WiggleButton.swift:66:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
64 | }
65 |
66 | struct WiggleButtonBg: Shape {
   |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
67 |
68 |     var t: CGFloat
/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
[7/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
[8/11] Compiling AnimatedTabBar IndentableRect.swift
/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:10:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | struct IndentableRect: Shape {
    |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |        |- note: add @available attribute to enclosing struct
    |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
 11 |
 12 |     var t: CGFloat
/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/IndentableRect.swift:92:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 90 | }
 91 |
 92 | struct SlidingIndentRect: Shape {
    |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |        |- note: add @available attribute to enclosing struct
    |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
 93 |
 94 |     var t: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:46:20: 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 44 |         ).path()
 45 |
 46 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 47 |         path.move(to: tl)
 48 |         path.addPath(indentPath)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:47:14: error: 'move(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 45 |
 46 |         var path = Path()
 47 |         path.move(to: tl)
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 48 |         path.addPath(indentPath)
 49 |         path.addLine(to: tr)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:48:14: error: 'addPath(_:transform:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 46 |         var path = Path()
 47 |         path.move(to: tl)
 48 |         path.addPath(indentPath)
    |              |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 49 |         path.addLine(to: tr)
 50 |         path.addLine(to: br)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:49:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 47 |         path.move(to: tl)
 48 |         path.addPath(indentPath)
 49 |         path.addLine(to: tr)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 50 |         path.addLine(to: br)
 51 |         path.addLine(to: bl)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:50:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 48 |         path.addPath(indentPath)
 49 |         path.addLine(to: tr)
 50 |         path.addLine(to: br)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 51 |         path.addLine(to: bl)
 52 |         path.addLine(to: tl)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:51:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 49 |         path.addLine(to: tr)
 50 |         path.addLine(to: br)
 51 |         path.addLine(to: bl)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 52 |         path.addLine(to: tl)
 53 |         return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:52:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 24 |         var t = t
 25 |         if t < delay {
    :
 50 |         path.addLine(to: br)
 51 |         path.addLine(to: bl)
 52 |         path.addLine(to: tl)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 53 |         return path
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:84: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 {
    |          `- note: add @available attribute to enclosing instance method
 74 |
 75 |         let t1 = translate(x: 0, y: 0)
    :
 82 |         let c4 = translate(x: 43.5, y: 0)
 83 |
 84 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 85 |         path.move(to: t1)
 86 |         path.addCurve(to: t2, control1: c1, control2: c2)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:85:14: error: 'move(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 74 |
 75 |         let t1 = translate(x: 0, y: 0)
    :
 83 |
 84 |         var path = Path()
 85 |         path.move(to: t1)
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 86 |         path.addCurve(to: t2, control1: c1, control2: c2)
 87 |         path.addCurve(to: t3, control1: c3, control2: c4)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:86:14: error: 'addCurve(to:control1:control2:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 74 |
 75 |         let t1 = translate(x: 0, y: 0)
    :
 84 |         var path = Path()
 85 |         path.move(to: t1)
 86 |         path.addCurve(to: t2, control1: c1, control2: c2)
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 87 |         path.addCurve(to: t3, control1: c3, control2: c4)
 88 |         return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:87:14: error: 'addCurve(to:control1:control2:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
 74 |
 75 |         let t1 = translate(x: 0, y: 0)
    :
 85 |         path.move(to: t1)
 86 |         path.addCurve(to: t2, control1: c1, control2: c2)
 87 |         path.addCurve(to: t3, control1: c3, control2: c4)
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 88 |         return path
 89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:119:20: 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
117 |         ).path()
118 |
119 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
120 |         path.move(to: tl)
121 |         path.addPath(indentPath)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:120:14: error: 'move(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
118 |
119 |         var path = Path()
120 |         path.move(to: tl)
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
121 |         path.addPath(indentPath)
122 |         path.addLine(to: tr)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:121:14: error: 'addPath(_:transform:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
119 |         var path = Path()
120 |         path.move(to: tl)
121 |         path.addPath(indentPath)
    |              |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
122 |         path.addLine(to: tr)
123 |         path.addLine(to: br)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:122:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
120 |         path.move(to: tl)
121 |         path.addPath(indentPath)
122 |         path.addLine(to: tr)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
123 |         path.addLine(to: br)
124 |         path.addLine(to: bl)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:123:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
121 |         path.addPath(indentPath)
122 |         path.addLine(to: tr)
123 |         path.addLine(to: br)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
124 |         path.addLine(to: bl)
125 |         path.addLine(to: tl)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:124:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
122 |         path.addLine(to: tr)
123 |         path.addLine(to: br)
124 |         path.addLine(to: bl)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
125 |         path.addLine(to: tl)
126 |         return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:125:14: error: 'addLine(to:)' 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 {
    |          `- note: add @available attribute to enclosing instance method
105 |         let tl = rect.origin
106 |         let tr = CGPoint(x: rect.maxX, y: rect.minY)
    :
123 |         path.addLine(to: br)
124 |         path.addLine(to: bl)
125 |         path.addLine(to: tl)
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
126 |         return path
127 |     }
[9/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:135: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         |            `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:134: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 {
    :
132 |     }
133 |
134 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
135 |     var circle: some View {
136 |         switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169: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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         |                `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:168: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 {
    :
166 |     }
167 |
168 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
169 |     var background: some View {
170 |         switch ballTrajectory {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200: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 {
    :
198 |     }
199 |
200 |     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
201 |         var path = Path()
202 |         guard let from = from, let to = to else {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:212: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 {
    :
210 |     // MARK: - Customization setters
211 |
212 |     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
213 |         var switcher = self
214 |         switcher.barColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:218: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 {
    :
216 |     }
217 |
218 |     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
219 |         var switcher = self
220 |         switcher.selectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:224: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 {
    :
222 |     }
223 |
224 |     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
225 |         var switcher = self
226 |         switcher.unselectedColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:230: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 {
    :
228 |     }
229 |
230 |     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
231 |         var switcher = self
232 |         switcher.ballColor = color
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:248: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 {
    :
246 |     }
247 |
248 |     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
249 |         var switcher = self
250 |         switcher.ballAnimation = ballAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:254: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 {
    :
252 |     }
253 |
254 |     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
255 |         var switcher = self
256 |         switcher.indentAnimation = indentAnimation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:260: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 {
    :
258 |     }
259 |
260 |     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
261 |         var switcher = self
262 |         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
 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
 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: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: 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: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: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: 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: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: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: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 84 |
 85 |                 ButtonsBar {
 86 |                     ForEach(0..<views.count, id: \.self) { i in
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 87 |                         let view = views[i].onTapGesture {
 88 |                             prevSelectedIndex = selectedIndex
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
 3 |     public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
 4 |     @available(*, unavailable, message: "this expression does not conform to 'View'")
 5 |     public static func buildExpression(_ invalid: Any) -> some View
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
 6 |
 7 |     public static func buildBlock() -> EmptyView
/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: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 |                     self.frames = frames
/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 |                     self.frames = frames
114 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:113:21: 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) {
    :
111 |                 .coordinateSpace(name: buttonsBarSpace)
112 |                 .onPreferenceChange(ButtonPreferenceKey.self) { frames in
113 |                     self.frames = frames
    |                     |- error: setter for 'frames' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
114 |                 }
115 |                 .padding(.vertical, verticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:115: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) {
    :
113 |                     self.frames = frames
114 |                 }
115 |                 .padding(.vertical, verticalPadding)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
116 |             }
117 |             .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:117: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) {
    :
115 |                 .padding(.vertical, verticalPadding)
116 |             }
117 |             .fixedSize(horizontal: false, vertical: true)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
118 |         }
119 |         .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:119: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) {
    :
117 |             .fixedSize(horizontal: false, vertical: true)
118 |         }
119 |         .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
120 |             internalPrevSelectedIndex = selectedIndex
121 |             tBall = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:120: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) {
    :
118 |         }
119 |         .onChange(of: selectedIndex) { [selectedIndex] newValue in
120 |             internalPrevSelectedIndex = selectedIndex
    |             |- error: setter for 'internalPrevSelectedIndex' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
121 |             tBall = 0
122 |             tIndent = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:121: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) {
    :
119 |         .onChange(of: selectedIndex) { [selectedIndex] newValue in
120 |             internalPrevSelectedIndex = selectedIndex
121 |             tBall = 0
    |             |- error: setter for 'tBall' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
122 |             tIndent = 0
123 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:122: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) {
    :
120 |             internalPrevSelectedIndex = selectedIndex
121 |             tBall = 0
122 |             tIndent = 0
    |             |- error: setter for 'tIndent' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
123 |             DispatchQueue.main.async {
124 |                 withAnimation(ballAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:124: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) {
    :
122 |             tIndent = 0
123 |             DispatchQueue.main.async {
124 |                 withAnimation(ballAnimation) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
125 |                     tBall = 1
126 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:125: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) {
    :
123 |             DispatchQueue.main.async {
124 |                 withAnimation(ballAnimation) {
125 |                     tBall = 1
    |                     |- error: setter for 'tBall' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
126 |                 }
127 |                 withAnimation(indentAnimation) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:127: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) {
    :
125 |                     tBall = 1
126 |                 }
127 |                 withAnimation(indentAnimation) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
128 |                     tIndent = 1
129 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:128: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) {
    :
126 |                 }
127 |                 withAnimation(indentAnimation) {
128 |                     tIndent = 1
    |                     |- error: setter for 'tIndent' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
129 |                 }
130 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
138 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
139 |                 .frame(width: circleSize, height: circleSize)
140 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:139: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
138 |             Circle()
139 |                 .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
140 |                 .foregroundColor(ballColor)
141 |                 .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:140: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
138 |             Circle()
139 |                 .frame(width: circleSize, height: circleSize)
140 |                 .foregroundColor(ballColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
141 |                 .fixedSize()
142 |                 .alongPath(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:141: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
139 |                 .frame(width: circleSize, height: circleSize)
140 |                 .foregroundColor(ballColor)
141 |                 .fixedSize()
    |                  |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
142 |                 .alongPath(
143 |                     t: tBall,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
138 |             Circle()
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
139 |                 .frame(width: circleSize, height: circleSize)
140 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
138 |             Circle()
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
139 |                 .frame(width: circleSize, height: circleSize)
140 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
149 |
150 |         case .teleport:
151 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
152 |                 .frame(width: circleSize, height: circleSize)
153 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:152: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
150 |         case .teleport:
151 |             Circle()
152 |                 .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
153 |                 .foregroundColor(ballColor)
154 |                 .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:153: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
151 |             Circle()
152 |                 .frame(width: circleSize, height: circleSize)
153 |                 .foregroundColor(ballColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
154 |                 .fixedSize()
155 |                 .teleportEffect(t: tBall, from: getBallCoord(internalPrevSelectedIndex).x, to: getBallCoord(selectedIndex).x)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:154: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
152 |                 .frame(width: circleSize, height: circleSize)
153 |                 .foregroundColor(ballColor)
154 |                 .fixedSize()
    |                  |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
155 |                 .teleportEffect(t: tBall, from: getBallCoord(internalPrevSelectedIndex).x, to: getBallCoord(selectedIndex).x)
156 |                 .offset(y: 15)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:156: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
154 |                 .fixedSize()
155 |                 .teleportEffect(t: tBall, from: getBallCoord(internalPrevSelectedIndex).x, to: getBallCoord(selectedIndex).x)
156 |                 .offset(y: 15)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
157 |
158 |         case .straight:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
149 |
150 |         case .teleport:
151 |             Circle()
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
152 |                 .frame(width: circleSize, height: circleSize)
153 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
149 |
150 |         case .teleport:
151 |             Circle()
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
152 |                 .frame(width: circleSize, height: circleSize)
153 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:159: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
157 |
158 |         case .straight:
159 |             Circle()
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
160 |                 .frame(width: circleSize, height: circleSize)
161 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:160: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
158 |         case .straight:
159 |             Circle()
160 |                 .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
161 |                 .foregroundColor(ballColor)
162 |                 .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:161: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
159 |             Circle()
160 |                 .frame(width: circleSize, height: circleSize)
161 |                 .foregroundColor(ballColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
162 |                 .fixedSize()
163 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:162: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
160 |                 .frame(width: circleSize, height: circleSize)
161 |                 .foregroundColor(ballColor)
162 |                 .fixedSize()
    |                  |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
163 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
164 |                 .animation(ballAnimation, value: selectedIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:163: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
161 |                 .foregroundColor(ballColor)
162 |                 .fixedSize()
163 |                 .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
164 |                 .animation(ballAnimation, value: selectedIndex)
165 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:164: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
162 |                 .fixedSize()
163 |                 .offset(x: getBallCoord(selectedIndex).x, y: 15)
164 |                 .animation(ballAnimation, value: selectedIndex)
    |                  |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
165 |         }
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:159: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 {
    :
133 |
134 |     @ViewBuilder
135 |     var circle: some View {
    |         `- note: add @available attribute to enclosing property
136 |         switch ballTrajectory {
137 |         case .parabolic:
    :
157 |
158 |         case .straight:
159 |             Circle()
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
160 |                 .frame(width: circleSize, height: circleSize)
161 |                 .foregroundColor(ballColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135: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 {
    :
133 |
134 |     @ViewBuilder
135 |     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
136 |         switch ballTrajectory {
137 |         case .parabolic:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             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
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172: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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             HStack(spacing: 0) {
    |             |- error: 'HStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             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
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173: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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             HStack(spacing: 0) {
173 |                 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
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
175 |                         .foregroundColor(barColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173:17: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             HStack(spacing: 0) {
173 |                 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
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
175 |                         .foregroundColor(barColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173:17: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             HStack(spacing: 0) {
173 |                 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
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
175 |                         .foregroundColor(barColor)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:26: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
    :
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
175 |                         .foregroundColor(barColor)
    |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
176 |                         .animation(indentAnimation, value: selectedIndex)
177 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:176:26: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
    :
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
175 |                         .foregroundColor(barColor)
176 |                         .animation(indentAnimation, value: selectedIndex)
    |                          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
177 |                 }
178 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:32: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             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
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172: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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             HStack(spacing: 0) {
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
172 |             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
173 |                 ForEach(0..<views.count, id: \.self) { i in
174 |                     IndentableRect(t: selectedIndex == i ? 1 : 0, delay: 0.7)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:182: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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
    :
180 |         case .straight:
181 |             SlidingIndentRect(t: tIndent, indentX: getCoord(selectedIndex).x, prevIndentX: getCoord(internalPrevSelectedIndex).x)
182 |                 .foregroundColor(barColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
183 |         }
184 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:181: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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: some View {
    |         `- note: add @available attribute to enclosing property
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
    :
179 |
180 |         case .straight:
181 |             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
182 |                 .foregroundColor(barColor)
183 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:31: 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 {
    :
167 |
168 |     @ViewBuilder
169 |     var background: 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
170 |         switch ballTrajectory {
171 |         case .parabolic, .teleport:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:201: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 {
    :
198 |     }
199 |
200 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          `- note: add @available attribute to enclosing instance method
201 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |         guard let from = from, let to = to else {
203 |             return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:205: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 {
    :
198 |     }
199 |
200 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          `- note: add @available attribute to enclosing instance method
201 |         var path = Path()
202 |         guard let from = from, let to = to else {
203 |             return path
204 |         }
205 |         path.move(to: from)
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
206 |         path.addQuadCurve(to: to, control: CGPoint(x: (from.x + to.x)/2, y: from.y - 100))
207 |         return path
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:206: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 {
    :
198 |     }
199 |
200 |     func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
    |          `- note: add @available attribute to enclosing instance method
201 |         var path = Path()
202 |         guard let from = from, let to = to else {
    :
204 |         }
205 |         path.move(to: from)
206 |         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
207 |         return path
208 |     }
[10/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:10:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct AlongPath: GeometryEffect {
   |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
11 |
12 |     var t: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: warning: conformance of 'Never' 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 | struct AlongPath: GeometryEffect {
   |        |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.Body' (inferred as 'Never')
11 |
12 |     var t: CGFloat
/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:34:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
35 |
36 |     var t: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
32 | }
33 |
34 | struct TeleportEffect: GeometryEffect {
   |        |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        |- note: add @available attribute to enclosing struct
   |        `- note: in associated type 'Self.Body' (inferred as 'Never')
35 |
36 |     var t: CGFloat
/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 | }
[11/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:41:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |     typealias Value = [CGRect]
40 |
41 |     static var defaultValue: Value = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |     static func reduce(value: inout Value, nextValue: () -> Value) {
/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 |     }
BUILD FAILURE 6.0 macosSpm