Build Information
Failed to build AnimatedTabBar, reference main (b91b07
), with Swift 5.9 for macOS (SPM) on 7 Aug 2024 19:02:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:97:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:93:8: note: add @available attribute to enclosing struct
struct Droplet: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:102:130: error: 'Angle' is only available in macOS 10.15 or newer
path.addArc(center: CGPoint(x: rect.midX, y: rect.minY + inset), radius: param, startAngle: Angle(radians: 0), endAngle: Angle(radians: 2 * .pi), clockwise: false)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:102:130: note: add 'if #available' version check
path.addArc(center: CGPoint(x: rect.midX, y: rect.minY + inset), radius: param, startAngle: Angle(radians: 0), endAngle: Angle(radians: 2 * .pi), clockwise: false)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:97:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:93:8: note: add @available attribute to enclosing struct
struct Droplet: Shape {
^
[3/9] Compiling AnimatedTabBar Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:11:20: error: 'AnyView' is only available in macOS 10.15 or newer
var getViews: [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:11:9: note: add @available attribute to enclosing property
var getViews: [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:18:22: error: 'AnyView' is only available in macOS 10.15 or newer
var anyView: AnyView? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:18:13: note: add @available attribute to enclosing property
var anyView: AnyView? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:15:20: note: add @available attribute to enclosing struct
private struct GenericView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:58: error: 'AnyView' is only available in macOS 10.15 or newer
private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:18: note: add @available attribute to enclosing instance method
private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:11: error: 'TupleView' is only available in macOS 10.15 or newer
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:45:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var frame: CGRect
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:43:8: note: add @available attribute to enclosing struct
struct FrameGetter: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:47:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:47:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:43:8: note: add @available attribute to enclosing struct
struct FrameGetter: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:38: error: 'Binding' is only available in macOS 10.15 or newer
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:17: note: add @available attribute to enclosing instance method
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:63: error: 'View' is only available in macOS 10.15 or newer
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:17: note: add @available attribute to enclosing instance method
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:48: error: 'View' is only available in macOS 10.15 or newer
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:10: note: add @available attribute to enclosing instance method
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:11: error: 'Image' is only available in macOS 10.15 or newer
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:19:13: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView(_fromValue: body)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:19:13: note: add 'if #available' version check
AnyView(_fromValue: body)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:18:13: note: add @available attribute to enclosing property
var anyView: AnyView? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:15:20: note: add @available attribute to enclosing struct
private struct GenericView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:24:46: error: 'AnyView' is only available in macOS 10.15 or newer
func convert(child: Mirror.Child) -> AnyView? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:18: note: add @available attribute to enclosing instance method
private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:25:55: error: 'AnyView' is only available in macOS 10.15 or newer
withUnsafeBytes(of: child.value) { ptr -> AnyView? in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:25:55: note: add 'if #available' version check
withUnsafeBytes(of: child.value) { ptr -> AnyView? in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:18: note: add @available attribute to enclosing instance method
private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:58:21: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
return AnyView(EmptyView())
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:58:21: note: remove 'return' statements to apply the result builder
return AnyView(EmptyView())
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:66:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FrameGetter(frame: frame))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:66:9: note: add 'if #available' version check
modifier(FrameGetter(frame: frame))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:17: note: add @available attribute to enclosing instance method
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:73:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:73:14: note: add 'if #available' version check
.resizable()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:10: note: add @available attribute to enclosing instance method
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:74:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
.aspectRatio(contentMode: .fit)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:74:14: note: add 'if #available' version check
.aspectRatio(contentMode: .fit)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:10: note: add @available attribute to enclosing instance method
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:75:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: size, height: size)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:75:14: note: add 'if #available' version check
.frame(width: size, height: size)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:10: note: add @available attribute to enclosing instance method
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module AnimatedTabBar
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:66:20: error: 'layoutDirection' is only available in macOS 10.15 or newer
@Environment(\.layoutDirection) private var layoutDirection
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var selectedIndex: Int
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:19:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var prevSelectedIndex: Int
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:20:25: error: 'AnyView' is only available in macOS 10.15 or newer
private var views: [AnyView] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:39: error: 'Binding' is only available in macOS 10.15 or newer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:23:43: error: 'Binding' is only available in macOS 10.15 or newer
prevSelectedIndex: Binding<Int>? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:25: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> TupleView<Views>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:62: error: 'TupleView' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> TupleView<Views>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:26: error: 'View' is only available in macOS 10.15 or newer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:47: error: 'Binding' is only available in macOS 10.15 or newer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:32:51: error: 'Binding' is only available in macOS 10.15 or newer
prevSelectedIndex: Binding<Int>? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:27: error: 'Color' is only available in macOS 10.15 or newer
private var barColor: Color = .white
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:36: error: 'white' is only available in macOS 10.15 or newer
private var barColor: Color = .white
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:32: error: 'Color' is only available in macOS 10.15 or newer
private var selectedColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:41: error: 'red' is only available in macOS 10.15 or newer
private var selectedColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:34: error: 'Color' is only available in macOS 10.15 or newer
private var unselectedColor: Color = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:43: error: 'black' is only available in macOS 10.15 or newer
private var unselectedColor: Color = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:28: error: 'Color' is only available in macOS 10.15 or newer
private var ballColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:37: error: 'red' is only available in macOS 10.15 or newer
private var ballColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:32: error: 'Animation' is only available in macOS 10.15 or newer
private var ballAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:45: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
private var ballAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:34: error: 'Animation' is only available in macOS 10.15 or newer
private var indentAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:47: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
private var indentAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:35: error: 'Animation' is only available in macOS 10.15 or newer
private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:48: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:59:6: error: 'State' is only available in macOS 10.15 or newer
@State private var frames: [CGRect] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:60:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tBall: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:61:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tIndent: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:62:6: error: 'State' is only available in macOS 10.15 or newer
@State private var internalPrevSelectedIndex: Int = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:66:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.layoutDirection) private var layoutDirection
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:22: error: 'View' is only available in macOS 10.15 or newer
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:134:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:26: error: 'View' is only available in macOS 10.15 or newer
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:168:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:54: error: 'Path' is only available in macOS 10.15 or newer
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:10: note: add @available attribute to enclosing instance method
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:212:35: error: 'Color' is only available in macOS 10.15 or newer
public func barColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:212:17: note: add @available attribute to enclosing instance method
public func barColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:218:40: error: 'Color' is only available in macOS 10.15 or newer
public func selectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:218:17: note: add @available attribute to enclosing instance method
public func selectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:224:42: error: 'Color' is only available in macOS 10.15 or newer
public func unselectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:224:17: note: add @available attribute to enclosing instance method
public func unselectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:230:36: error: 'Color' is only available in macOS 10.15 or newer
public func ballColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:230:17: note: add @available attribute to enclosing instance method
public func ballColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:248:48: error: 'Animation' is only available in macOS 10.15 or newer
public func ballAnimation(_ ballAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:248:17: note: add @available attribute to enclosing instance method
public func ballAnimation(_ ballAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:254:52: error: 'Animation' is only available in macOS 10.15 or newer
public func indentAnimation(_ indentAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:254:17: note: add @available attribute to enclosing instance method
public func indentAnimation(_ indentAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:260:54: error: 'Animation' is only available in macOS 10.15 or newer
public func buttonsAnimation(_ buttonsAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:260:17: note: add @available attribute to enclosing instance method
public func buttonsAnimation(_ buttonsAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/BezierPathLength.swift:11:11: error: 'Path' is only available in macOS 10.15 or newer
extension Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/BezierPathLength.swift:11:1: note: add @available attribute to enclosing extension
extension Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:14:33: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:14:10: note: add @available attribute to enclosing instance method
func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:12:8: note: add @available attribute to enclosing struct
struct ButtonsBar: Layout {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:21:53: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:21:10: note: add @available attribute to enclosing instance method
func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:12:8: note: add @available attribute to enclosing struct
struct ButtonsBar: Layout {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:13:21: error: 'Path' is only available in macOS 10.15 or newer
var trajectory: Path
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/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
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct AlongPath: GeometryEffect {
^
/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
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:51: error: 'Path' is only available in macOS 10.15 or newer
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:17: note: add @available attribute to enclosing instance method
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:65: error: 'View' is only available in macOS 10.15 or newer
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:17: note: add @available attribute to enclosing instance method
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/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
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct TeleportEffect: GeometryEffect {
^
/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
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:80: error: 'View' is only available in macOS 10.15 or newer
public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:17: note: add @available attribute to enclosing instance method
public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/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
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:20: error: 'Path' is only available in macOS 10.15 or newer
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:10: note: add @available attribute to enclosing instance method
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:57:8: note: add @available attribute to enclosing struct
struct TranslatedPath {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/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
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:13:30: error: 'Color' is only available in macOS 10.15 or newer
public var dropletColor: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:10:15: note: add @available attribute to enclosing struct
public struct DropletButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:16:50: error: 'Color' is only available in macOS 10.15 or newer
public init(imageName: String, dropletColor: Color, isSelected: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:16:12: note: add @available attribute to enclosing initializer
public init(imageName: String, dropletColor: Color, isSelected: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:10:15: note: add @available attribute to enclosing struct
public struct DropletButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State var t: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:10:15: note: add @available attribute to enclosing struct
public struct DropletButton: 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
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:24:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:10:15: note: add @available attribute to enclosing struct
public struct DropletButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:46:23: error: 'Color' is only available in macOS 10.15 or newer
var dropletColor: Color
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:43:8: note: add @available attribute to enclosing struct
struct DropletButtonAnimatable: View, Animatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:49:50: error: 'Color' is only available in macOS 10.15 or newer
public init(imageName: String, dropletColor: Color, t: CGFloat) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:49:12: note: add @available attribute to enclosing initializer
public init(imageName: String, dropletColor: Color, t: CGFloat) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:43:8: note: add @available attribute to enclosing struct
struct DropletButtonAnimatable: View, Animatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:60:6: error: 'State' is only available in macOS 10.15 or newer
@State private var frame: CGRect = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:43:8: note: add @available attribute to enclosing struct
struct DropletButtonAnimatable: View, Animatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:80:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:80:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:43:8: note: add @available attribute to enclosing struct
struct DropletButtonAnimatable: View, Animatable {
^
/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
struct DropletButtonAnimatable: View, Animatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:43:8: note: add @available attribute to enclosing struct
struct DropletButtonAnimatable: View, Animatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:43:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct DropletButtonAnimatable: View, Animatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:97:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:97:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:93:8: note: add @available attribute to enclosing struct
struct Droplet: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:12:23: error: 'Image' is only available in macOS 10.15 or newer
public var image: Image
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:13:27: error: 'Image' is only available in macOS 10.15 or newer
public var maskImage: Image
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:17:24: error: 'Image' is only available in macOS 10.15 or newer
public init(image: Image, maskImage: Image, imageSize: CGFloat? = nil, isSelected: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:17:12: note: add @available attribute to enclosing initializer
public init(image: Image, maskImage: Image, imageSize: CGFloat? = nil, isSelected: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:17:42: error: 'Image' is only available in macOS 10.15 or newer
public init(image: Image, maskImage: Image, imageSize: CGFloat? = nil, isSelected: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:17:12: note: add @available attribute to enclosing initializer
public init(image: Image, maskImage: Image, imageSize: CGFloat? = nil, isSelected: Bool) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
@State var t: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
@State var tForBg: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:31:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:10:15: note: add @available attribute to enclosing struct
public struct WiggleButton: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:75:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:75:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:66:8: note: add @available attribute to enclosing struct
struct WiggleButtonBg: Shape {
^
/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
struct WiggleButtonBg: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:66:8: note: add @available attribute to enclosing struct
struct WiggleButtonBg: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:66:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct WiggleButtonBg: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:11:20: error: 'AnyView' is only available in macOS 10.15 or newer
var getViews: [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:11:9: note: add @available attribute to enclosing property
var getViews: [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:18:22: error: 'AnyView' is only available in macOS 10.15 or newer
var anyView: AnyView? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:18:13: note: add @available attribute to enclosing property
var anyView: AnyView? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:15:20: note: add @available attribute to enclosing struct
private struct GenericView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:58: error: 'AnyView' is only available in macOS 10.15 or newer
private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:23:18: note: add @available attribute to enclosing instance method
private func makeArray<Tuple>(from tuple: Tuple) -> [AnyView] {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:11: error: 'TupleView' is only available in macOS 10.15 or newer
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:10:1: note: add @available attribute to enclosing extension
extension TupleView {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:45:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var frame: CGRect
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:43:8: note: add @available attribute to enclosing struct
struct FrameGetter: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:47:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:47:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:43:8: note: add @available attribute to enclosing struct
struct FrameGetter: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:38: error: 'Binding' is only available in macOS 10.15 or newer
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:17: note: add @available attribute to enclosing instance method
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:63: error: 'View' is only available in macOS 10.15 or newer
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:65:17: note: add @available attribute to enclosing instance method
public func frameGetter(_ frame: Binding<CGRect>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:64:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:48: error: 'View' is only available in macOS 10.15 or newer
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:71:10: note: add @available attribute to enclosing instance method
func imageResizer(_ size: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:11: error: 'Image' is only available in macOS 10.15 or newer
extension Image {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/Utils.swift:70:1: note: add @available attribute to enclosing extension
extension Image {
^
[5/9] 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
@Environment(\.layoutDirection) private var layoutDirection
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var selectedIndex: Int
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:19:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var prevSelectedIndex: Int
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:20:25: error: 'AnyView' is only available in macOS 10.15 or newer
private var views: [AnyView] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:39: error: 'Binding' is only available in macOS 10.15 or newer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:23:43: error: 'Binding' is only available in macOS 10.15 or newer
prevSelectedIndex: Binding<Int>? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:25: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> TupleView<Views>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:24:62: error: 'TupleView' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> TupleView<Views>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:26: error: 'View' is only available in macOS 10.15 or newer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:47: error: 'Binding' is only available in macOS 10.15 or newer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:32:51: error: 'Binding' is only available in macOS 10.15 or newer
prevSelectedIndex: Binding<Int>? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:27: error: 'Color' is only available in macOS 10.15 or newer
private var barColor: Color = .white
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:42:36: error: 'white' is only available in macOS 10.15 or newer
private var barColor: Color = .white
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:32: error: 'Color' is only available in macOS 10.15 or newer
private var selectedColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:43:41: error: 'red' is only available in macOS 10.15 or newer
private var selectedColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:34: error: 'Color' is only available in macOS 10.15 or newer
private var unselectedColor: Color = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:44:43: error: 'black' is only available in macOS 10.15 or newer
private var unselectedColor: Color = .black
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:28: error: 'Color' is only available in macOS 10.15 or newer
private var ballColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:45:37: error: 'red' is only available in macOS 10.15 or newer
private var ballColor: Color = .red
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:32: error: 'Animation' is only available in macOS 10.15 or newer
private var ballAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:50:45: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
private var ballAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:34: error: 'Animation' is only available in macOS 10.15 or newer
private var indentAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:51:47: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
private var indentAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:35: error: 'Animation' is only available in macOS 10.15 or newer
private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:52:48: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
private var buttonsAnimation: Animation = .easeOut(duration: 0.6)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:59:6: error: 'State' is only available in macOS 10.15 or newer
@State private var frames: [CGRect] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:60:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tBall: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:61:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tIndent: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:62:6: error: 'State' is only available in macOS 10.15 or newer
@State private var internalPrevSelectedIndex: Int = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:66:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.layoutDirection) private var layoutDirection
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:22: error: 'View' is only available in macOS 10.15 or newer
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:134:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:26: error: 'View' is only available in macOS 10.15 or newer
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:168:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:54: error: 'Path' is only available in macOS 10.15 or newer
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:10: note: add @available attribute to enclosing instance method
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:212:35: error: 'Color' is only available in macOS 10.15 or newer
public func barColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:212:17: note: add @available attribute to enclosing instance method
public func barColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:218:40: error: 'Color' is only available in macOS 10.15 or newer
public func selectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:218:17: note: add @available attribute to enclosing instance method
public func selectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:224:42: error: 'Color' is only available in macOS 10.15 or newer
public func unselectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:224:17: note: add @available attribute to enclosing instance method
public func unselectedColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:230:36: error: 'Color' is only available in macOS 10.15 or newer
public func ballColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:230:17: note: add @available attribute to enclosing instance method
public func ballColor(_ color: Color) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:248:48: error: 'Animation' is only available in macOS 10.15 or newer
public func ballAnimation(_ ballAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:248:17: note: add @available attribute to enclosing instance method
public func ballAnimation(_ ballAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:254:52: error: 'Animation' is only available in macOS 10.15 or newer
public func indentAnimation(_ indentAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:254:17: note: add @available attribute to enclosing instance method
public func indentAnimation(_ indentAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:260:54: error: 'Animation' is only available in macOS 10.15 or newer
public func buttonsAnimation(_ buttonsAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:260:17: note: add @available attribute to enclosing instance method
public func buttonsAnimation(_ buttonsAnimation: Animation) -> AnimatedTabBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
self.internalPrevSelectedIndex = selectedIndex.wrappedValue
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:27:9: note: add 'if #available' version check
self.internalPrevSelectedIndex = selectedIndex.wrappedValue
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:22:12: note: add @available attribute to enclosing initializer
public init<Views>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
self.internalPrevSelectedIndex = selectedIndex.wrappedValue
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:36:9: note: add 'if #available' version check
self.internalPrevSelectedIndex = selectedIndex.wrappedValue
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:37:34: error: 'AnyView' is only available in macOS 10.15 or newer
self.views = views.map { AnyView($0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:37:34: note: add 'if #available' version check
self.views = views.map { AnyView($0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:31:12: note: add @available attribute to enclosing initializer
public init<Content: View>(selectedIndex: Binding<Int>,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
if #available(iOS 17.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
internalPrevSelectedIndex = selectedIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:120:13: note: add 'if #available' version check
internalPrevSelectedIndex = selectedIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tBall = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:121:13: note: add 'if #available' version check
tBall = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tIndent = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:122:13: note: add 'if #available' version check
tIndent = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:124:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(ballAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:124:17: note: add 'if #available' version check
withAnimation(ballAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tBall = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:125:21: note: add 'if #available' version check
tBall = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:127:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(indentAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:127:17: note: add 'if #available' version check
withAnimation(indentAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tIndent = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:128:21: note: add 'if #available' version check
tIndent = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
prevSelectedIndex = selectedIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
selectedIndex = i
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:69:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:69:9: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(alignment: .bottom) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack(alignment: .bottom) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(alignment: .bottom) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:70:32: error: 'bottom' is only available in macOS 10.15 or newer
HStack(alignment: .bottom) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:72:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.scaleEffect(x: layoutDirection == .rightToLeft ? -1 : 1, y: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:71:52: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if layoutDirection == .rightToLeft {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
if layoutDirection == .rightToLeft {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:77:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:75:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(alignment: .bottom) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:81:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:83:22: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(cornerRadius)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:85:28: error: 'callAsFunction' is only available in macOS 13.0 or newer
ButtonsBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:86:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:86:21: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
let view = views[i].onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
prevSelectedIndex = selectedIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
selectedIndex = i
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:92:30: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
.background(ButtonPreferenceViewSetter())
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:96:34: error: 'animation(_:body:)' is only available in macOS 14.0 or newer
view.animation(.linear) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:96:45: error: 'linear' is only available in macOS 10.15 or newer
view.animation(.linear) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:97:36: error: 'foregroundStyle' is only available in macOS 12.0 or newer
$0.foregroundStyle(selectedIndex == i ? selectedColor : unselectedColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:95:52: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 17.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:95:52: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 17.0, *) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:99:32: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:85:28: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ButtonsBar {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:111:18: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
.coordinateSpace(name: buttonsBarSpace)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:112:18: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(ButtonPreferenceKey.self) { frames in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
self.frames = frames
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:115:18: error: 'padding' is only available in macOS 10.15 or newer
.padding(.vertical, verticalPadding)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.fixedSize(horizontal: false, vertical: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.onChange(of: selectedIndex) { [selectedIndex] newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:119:10: note: add 'if #available' version check
.onChange(of: selectedIndex) { [selectedIndex] newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
internalPrevSelectedIndex = selectedIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:120:13: note: add 'if #available' version check
internalPrevSelectedIndex = selectedIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tBall = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:121:13: note: add 'if #available' version check
tBall = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tIndent = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:122:13: note: add 'if #available' version check
tIndent = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:124:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(ballAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:124:17: note: add 'if #available' version check
withAnimation(ballAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tBall = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:125:21: note: add 'if #available' version check
tBall = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:127:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(indentAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:127:17: note: add 'if #available' version check
withAnimation(indentAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
tIndent = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:128:21: note: add 'if #available' version check
tIndent = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:68:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138:13: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.frame(width: circleSize, height: circleSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:139:18: note: add 'if #available' version check
.frame(width: circleSize, height: circleSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:140:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(ballColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:140:18: note: add 'if #available' version check
.foregroundColor(ballColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:141:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
.fixedSize()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:141:18: note: add 'if #available' version check
.fixedSize()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:138:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151:13: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.frame(width: circleSize, height: circleSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:152:18: note: add 'if #available' version check
.frame(width: circleSize, height: circleSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:153:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(ballColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:153:18: note: add 'if #available' version check
.foregroundColor(ballColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:154:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
.fixedSize()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:154:18: note: add 'if #available' version check
.fixedSize()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.offset(y: 15)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:156:18: note: add 'if #available' version check
.offset(y: 15)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:151:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:159:13: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:159:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.frame(width: circleSize, height: circleSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:160:18: note: add 'if #available' version check
.frame(width: circleSize, height: circleSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:161:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(ballColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:161:18: note: add 'if #available' version check
.foregroundColor(ballColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:162:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
.fixedSize()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:162:18: note: add 'if #available' version check
.fixedSize()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
.offset(x: getBallCoord(selectedIndex).x, y: 15)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:163:18: note: add 'if #available' version check
.offset(x: getBallCoord(selectedIndex).x, y: 15)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:164:18: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(ballAnimation, value: selectedIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:164:18: note: add 'if #available' version check
.animation(ballAnimation, value: selectedIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:159:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:159:13: note: add 'if #available' version check
Circle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:27: note: add 'if #available' version check
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:135:9: note: add @available attribute to enclosing property
var circle: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: note: add 'if #available' version check
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: error: 'HStack' is only available in macOS 10.15 or newer
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: note: add 'if #available' version check
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: note: add 'if #available' version check
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173:17: note: add 'if #available' version check
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173:17: note: add 'if #available' version check
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:173:17: note: add 'if #available' version check
ForEach(0..<views.count, id: \.self) { i in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(barColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:175:26: note: add 'if #available' version check
.foregroundColor(barColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:176:26: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(indentAnimation, value: selectedIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:176:26: note: add 'if #available' version check
.animation(indentAnimation, value: selectedIndex)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:32: note: add 'if #available' version check
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: note: add 'if #available' version check
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:172:13: note: add 'if #available' version check
HStack(spacing: 0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:182:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(barColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:182:18: note: add 'if #available' version check
.foregroundColor(barColor)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:181:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
SlidingIndentRect(t: tIndent, indentX: getCoord(selectedIndex).x, prevIndentX: getCoord(internalPrevSelectedIndex).x)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:181:13: note: add 'if #available' version check
SlidingIndentRect(t: tIndent, indentX: getCoord(selectedIndex).x, prevIndentX: getCoord(internalPrevSelectedIndex).x)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:31: note: add 'if #available' version check
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:169:9: note: add @available attribute to enclosing property
var background: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:201:20: error: 'Path' is only available in macOS 10.15 or newer
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:201:20: note: add 'if #available' version check
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:10: note: add @available attribute to enclosing instance method
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:205:14: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: from)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:205:14: note: add 'if #available' version check
path.move(to: from)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:10: note: add @available attribute to enclosing instance method
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
/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
path.addQuadCurve(to: to, control: CGPoint(x: (from.x + to.x)/2, y: from.y - 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:206:14: note: add 'if #available' version check
path.addQuadCurve(to: to, control: CGPoint(x: (from.x + to.x)/2, y: from.y - 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:200:10: note: add @available attribute to enclosing instance method
func trajectory(from: CGPoint?, to: CGPoint?) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/AnimatedTabbar.swift:10:15: note: add @available attribute to enclosing struct
public struct AnimatedTabBar: View {
^
[6/9] 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
var trajectory: Path
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/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
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct AlongPath: GeometryEffect {
^
/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
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:51: error: 'Path' is only available in macOS 10.15 or newer
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:17: note: add @available attribute to enclosing instance method
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:65: error: 'View' is only available in macOS 10.15 or newer
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:17: note: add @available attribute to enclosing instance method
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:46: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/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
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct TeleportEffect: GeometryEffect {
^
/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
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: in associated type 'Self.Body' (inferred as 'Never')
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:80: error: 'View' is only available in macOS 10.15 or newer
public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:17: note: add @available attribute to enclosing instance method
public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:22:20: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
return ProjectionTransform(CGAffineTransform(translationX: point.x, y: point.y))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:22:20: note: add 'if #available' version check
return ProjectionTransform(CGAffineTransform(translationX: point.x, y: point.y))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:24:16: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
return ProjectionTransform()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:24:16: note: add 'if #available' version check
return ProjectionTransform()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:20:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:10:8: note: add @available attribute to enclosing struct
struct AlongPath: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:30:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(AlongPath(t: t, trajectory: trajectory))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:30:14: note: add 'if #available' version check
self.modifier(AlongPath(t: t, trajectory: trajectory))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:29:17: note: add @available attribute to enclosing instance method
public func alongPath(t: CGFloat, trajectory: Path) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:28:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:63:9: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
ProjectionTransform(CGAffineTransform(translationX: t < 0.5 ? from : to, y: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:63:9: note: add 'if #available' version check
ProjectionTransform(CGAffineTransform(translationX: t < 0.5 ? from : to, y: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:62:17: note: add @available attribute to enclosing instance method
public func effectValue(size: CGSize) -> ProjectionTransform {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:34:8: note: add @available attribute to enclosing struct
struct TeleportEffect: GeometryEffect {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:71:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(TeleportEffect(t: t, from: from, to: to))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:71:14: note: add 'if #available' version check
self.modifier(TeleportEffect(t: t, from: from, to: to))
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:70:17: note: add @available attribute to enclosing instance method
public func teleportEffect(t: CGFloat, from: CGFloat, to: CGFloat) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/GeometryEffects.swift:69:1: note: add @available attribute to enclosing extension
extension View {
^
[7/9] 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
extension Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/BezierPathLength.swift:11:1: note: add @available attribute to enclosing extension
extension Path {
^
[8/9] 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
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/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
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:20: error: 'Path' is only available in macOS 10.15 or newer
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:10: note: add @available attribute to enclosing instance method
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:57:8: note: add @available attribute to enclosing struct
struct TranslatedPath {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/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
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: in associated type 'Self.AnimatableData' (inferred as 'CGFloat')
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:46:20: error: 'Path' is only available in macOS 10.15 or newer
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:46:20: note: add 'if #available' version check
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:47:14: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:47:14: note: add 'if #available' version check
path.move(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:48:14: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
path.addPath(indentPath)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:48:14: note: add 'if #available' version check
path.addPath(indentPath)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:49:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: tr)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:49:14: note: add 'if #available' version check
path.addLine(to: tr)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:50:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: br)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:50:14: note: add 'if #available' version check
path.addLine(to: br)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:51:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: bl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:51:14: note: add 'if #available' version check
path.addLine(to: bl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:52:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:52:14: note: add 'if #available' version check
path.addLine(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:10:8: note: add @available attribute to enclosing struct
struct IndentableRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:84:20: error: 'Path' is only available in macOS 10.15 or newer
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:84:20: note: add 'if #available' version check
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:10: note: add @available attribute to enclosing instance method
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:57:8: note: add @available attribute to enclosing struct
struct TranslatedPath {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:85:14: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: t1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:85:14: note: add 'if #available' version check
path.move(to: t1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:10: note: add @available attribute to enclosing instance method
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:57:8: note: add @available attribute to enclosing struct
struct TranslatedPath {
^
/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
path.addCurve(to: t2, control1: c1, control2: c2)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:86:14: note: add 'if #available' version check
path.addCurve(to: t2, control1: c1, control2: c2)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:10: note: add @available attribute to enclosing instance method
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:57:8: note: add @available attribute to enclosing struct
struct TranslatedPath {
^
/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
path.addCurve(to: t3, control1: c3, control2: c4)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:87:14: note: add 'if #available' version check
path.addCurve(to: t3, control1: c3, control2: c4)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:73:10: note: add @available attribute to enclosing instance method
func path() -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:57:8: note: add @available attribute to enclosing struct
struct TranslatedPath {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:119:20: error: 'Path' is only available in macOS 10.15 or newer
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:119:20: note: add 'if #available' version check
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:120:14: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:120:14: note: add 'if #available' version check
path.move(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:121:14: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
path.addPath(indentPath)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:121:14: note: add 'if #available' version check
path.addPath(indentPath)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:122:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: tr)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:122:14: note: add 'if #available' version check
path.addLine(to: tr)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:123:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: br)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:123:14: note: add 'if #available' version check
path.addLine(to: br)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:124:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: bl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:124:14: note: add 'if #available' version check
path.addLine(to: bl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:125:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:125:14: note: add 'if #available' version check
path.addLine(to: tl)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:104:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/IndentableRect.swift:92:8: note: add @available attribute to enclosing struct
struct SlidingIndentRect: Shape {
^
[9/9] 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
func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:14:10: note: add @available attribute to enclosing instance method
func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:12:8: note: add @available attribute to enclosing struct
struct ButtonsBar: Layout {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:21:53: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:21:10: note: add @available attribute to enclosing instance method
func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:12:8: note: add @available attribute to enclosing struct
struct ButtonsBar: Layout {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:51:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:51:9: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/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
GeometryReader { geometry in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:51:24: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:52:13: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:52:13: note: add 'if #available' version check
Rectangle()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(Color.clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:18: note: add 'if #available' version check
.fill(Color.clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:23: error: 'Color' is only available in macOS 10.15 or newer
.fill(Color.clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:23: note: add 'if #available' version check
.fill(Color.clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:29: error: 'clear' is only available in macOS 10.15 or newer
.fill(Color.clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:53:29: note: add 'if #available' version check
.fill(Color.clear)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/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
.preference(key: ButtonPreferenceKey.self,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:54:18: note: add 'if #available' version check
.preference(key: ButtonPreferenceKey.self,
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:55:46: error: 'frame(in:)' is only available in macOS 10.15 or newer
value: [geometry.frame(in: .named(buttonsBarSpace))])
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:55:46: note: add 'if #available' version check
value: [geometry.frame(in: .named(buttonsBarSpace))])
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:50:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/ButtonsBarLayout.swift:48:8: note: add @available attribute to enclosing struct
struct ButtonPreferenceViewSetter: View {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm