Build Information
Failed to build AnimatedTabBar, reference 0.1.4 (b91b07
), with Swift 5.8 for macOS (SPM) on 7 Aug 2024 19:09:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
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/DropletButton.swift:28:21: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.linear(duration: 0.9)) {
^
/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:28:36: error: 'linear(duration:)' is only available in macOS 10.15 or newer
withAnimation(.linear(duration: 0.9)) {
^
/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:26:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: isSelected) { newValue in
^
/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:28:21: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.linear(duration: 0.9)) {
^
/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:28:36: error: 'linear(duration:)' is only available in macOS 10.15 or newer
withAnimation(.linear(duration: 0.9)) {
^
/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:35:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:35:14: note: add 'if #available' version check
.onAppear {
^
/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:81:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:81:9: note: add 'if #available' version check
ZStack {
^
/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:82:13: error: 'Image' is only available in macOS 10.15 or newer
Image(imageName)
^
/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:82:13: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
Image(imageName)
^
/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:83:18: error: 'padding' is only available in macOS 10.15 or newer
.padding(.vertical, 10)
^
/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:85:18: error: 'mask' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:33: error: 'AnyView' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:33: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:41: error: 'Image' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:41: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:61: error: 'AnyView' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:69: error: 'Rectangle' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:85:81: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.mask(t > 0.5 ? AnyView(Image(imageName)) : AnyView(Rectangle().frame(width: frame.width, height: frame.height)))
^
/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:86:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(dropletColor)
^
/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:81:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/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:88:10: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(scale)
^
/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:101:20: error: 'Path' is only available in macOS 10.15 or newer
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:101:20: note: add 'if #available' version check
var path = 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/DropletButton.swift:102:14: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' 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:14: 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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/DropletButton.swift:102:101: 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:101: 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 {
^
/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 {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling AnimatedTabBar WiggleButton.swift
/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/TabBarButtons/WiggleButton.swift:45:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 5)) {
^
/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:45:32: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 5)) {
^
/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:48:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/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:53:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/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:32:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:32:9: note: add 'if #available' version check
ZStack {
^
/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:34:18: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(0.4)
^
/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:35:18: error: 'mask' is only available in macOS 10.15 or newer
.mask(
^
/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:32:16: error: 'buildBlock' is only available in macOS 10.15 or newer
ZStack {
^
/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:42:10: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(scale)
^
/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:43:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: isSelected) { newValue in
^
/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:45:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 5)) {
^
/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:45:32: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 5)) {
^
/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:48:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/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:53:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/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:58:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:58:10: note: add 'if #available' version check
.onAppear {
^
/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:84:20: error: 'Path' is only available in macOS 10.15 or newer
var path = Path()
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:84:20: note: add 'if #available' version check
var path = 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:85:14: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
path.addArc(center: CGPoint(x: rect.midX, y: rect.maxY), radius: 10 + param, startAngle: Angle(radians: 0), endAngle: Angle(radians: .pi), clockwise: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:85:14: note: add 'if #available' version check
path.addArc(center: CGPoint(x: rect.midX, y: rect.maxY), radius: 10 + param, startAngle: Angle(radians: 0), endAngle: Angle(radians: .pi), clockwise: true)
^
/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:85:98: error: 'Angle' is only available in macOS 10.15 or newer
path.addArc(center: CGPoint(x: rect.midX, y: rect.maxY), radius: 10 + param, startAngle: Angle(radians: 0), endAngle: Angle(radians: .pi), clockwise: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:85:98: note: add 'if #available' version check
path.addArc(center: CGPoint(x: rect.midX, y: rect.maxY), radius: 10 + param, startAngle: Angle(radians: 0), endAngle: Angle(radians: .pi), clockwise: true)
^
/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:85:127: error: 'Angle' is only available in macOS 10.15 or newer
path.addArc(center: CGPoint(x: rect.midX, y: rect.maxY), radius: 10 + param, startAngle: Angle(radians: 0), endAngle: Angle(radians: .pi), clockwise: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedTabBar/TabBarButtons/WiggleButton.swift:85:127: note: add 'if #available' version check
path.addArc(center: CGPoint(x: rect.midX, y: rect.maxY), radius: 10 + param, startAngle: Angle(radians: 0), endAngle: Angle(radians: .pi), clockwise: true)
^
/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 {
^
[5/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 {
^
[6/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 {
^
[7/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: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: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: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: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: error: 'buildBlock' 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: error: 'buildBlock' 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: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:106:30: error: 'foregroundStyle' is only available in macOS 12.0 or newer
.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:107:30: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(buttonsAnimation, value: 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: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: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:81:20: error: 'buildBlock' 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: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: error: 'buildBlock' 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: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: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: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 {
^
[8/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: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 10.15 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 {
^
[9/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 {
^
BUILD FAILURE 5.8 macosSpm