Build Information
Failed to build SwiftUI-VPSwitch with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:6:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FrameSize())
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:6:9: note: add 'if #available' version check
modifier(FrameSize())
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:5:10: note: add @available attribute to enclosing instance method
func debugFrameSize() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:9: note: add 'if #available' version check
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:10: note: add @available attribute to enclosing instance method
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:36: error: 'red' is only available in macOS 10.15 or newer
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:36: note: add 'if #available' version check
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:10: note: add @available attribute to enclosing instance method
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:18: note: add 'if #available' version check
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:26: error: 'GeometryReader' is only available in macOS 10.15 or newer
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:26: note: add 'if #available' version check
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:20:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if false && true {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:20:26: note: add 'if #available' version check
if false && true {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:23:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:23:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:29:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:29:9: note: add 'if #available' version check
ZStack(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:24: error: 'Alignment' is only available in macOS 10.15 or newer
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:24: note: add 'if #available' version check
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:47: error: 'trailing' is only available in macOS 10.15 or newer
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:47: note: add 'if #available' version check
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:68: error: 'top' is only available in macOS 10.15 or newer
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:68: note: add 'if #available' version check
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:31:11: warning: conformance of 'Rectangle' to 'InsettableShape' is only available in macOS 10.15 or newer
) {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:31:11: note: add 'if #available' version check
) {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:32:13: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:32:13: note: add 'if #available' version check
Rectangle()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:33:18: error: 'strokeBorder(_:style:antialiased:)' is only available in macOS 14.0 or newer
.strokeBorder(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:33:18: note: add 'if #available' version check
.strokeBorder(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:34:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
style: StrokeStyle(lineWidth: lineWidth, dash: [5])
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:34:28: note: add 'if #available' version check
style: StrokeStyle(lineWidth: lineWidth, dash: [5])
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:36:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:36:18: note: add 'if #available' version check
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:37:13: error: 'Text' is only available in macOS 10.15 or newer
Text("\(Int(geometry.size.width))x\(Int(geometry.size.height))")
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:37:13: note: add 'if #available' version check
Text("\(Int(geometry.size.width))x\(Int(geometry.size.height))")
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:18: error: 'font' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:18: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:31: error: 'caption' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:31: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:39: error: 'bold()' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:39: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:49: error: 'caption' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:49: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:39:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:39:18: note: add 'if #available' version check
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:40:18: error: 'padding' is only available in macOS 10.15 or newer
.padding(2)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:40:18: note: add 'if #available' version check
.padding(2)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:41:18: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(1000)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:41:18: note: add 'if #available' version check
.zIndex(1000)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:43:10: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
.allowsHitTesting(false)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:43:10: note: add 'if #available' version check
.allowsHitTesting(false)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/4] Compiling SwiftUI_VPSwitch View+DebugFrameSize.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:5:35: error: 'View' is only available in macOS 10.15 or newer
func debugFrameSize() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:5:10: note: add @available attribute to enclosing instance method
func debugFrameSize() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:46: error: 'View' is only available in macOS 10.15 or newer
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:10: note: add @available attribute to enclosing instance method
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:15:16: error: 'Color' is only available in macOS 10.15 or newer
var color: Color = .blue
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:15:25: error: 'blue' is only available in macOS 10.15 or newer
var color: Color = .blue
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:32: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:55: error: 'View' is only available in macOS 10.15 or newer
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:6:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FrameSize())
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:6:9: note: add 'if #available' version check
modifier(FrameSize())
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:5:10: note: add @available attribute to enclosing instance method
func debugFrameSize() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:9: note: add 'if #available' version check
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:10: note: add @available attribute to enclosing instance method
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:36: error: 'red' is only available in macOS 10.15 or newer
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:9:36: note: add 'if #available' version check
modifier(FrameSize(color: .red, bold: true, lineWidth: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:10: note: add @available attribute to enclosing instance method
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:18: note: add 'if #available' version check
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:26: error: 'GeometryReader' is only available in macOS 10.15 or newer
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:22:26: note: add 'if #available' version check
.overlay(GeometryReader(content: overlay(for:)))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:20:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if false && true {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:20:26: note: add 'if #available' version check
if false && true {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:23:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:23:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:46: note: add 'if #available' version check
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:29:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:29:9: note: add 'if #available' version check
ZStack(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:24: error: 'Alignment' is only available in macOS 10.15 or newer
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:24: note: add 'if #available' version check
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:47: error: 'trailing' is only available in macOS 10.15 or newer
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:47: note: add 'if #available' version check
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:68: error: 'top' is only available in macOS 10.15 or newer
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:30:68: note: add 'if #available' version check
alignment: Alignment(horizontal: .trailing, vertical: .top)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:31:11: warning: conformance of 'Rectangle' to 'InsettableShape' is only available in macOS 10.15 or newer
) {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:31:11: note: add 'if #available' version check
) {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:32:13: error: 'Rectangle' is only available in macOS 10.15 or newer
Rectangle()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:32:13: note: add 'if #available' version check
Rectangle()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:33:18: error: 'strokeBorder(_:style:antialiased:)' is only available in macOS 14.0 or newer
.strokeBorder(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:33:18: note: add 'if #available' version check
.strokeBorder(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:34:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
style: StrokeStyle(lineWidth: lineWidth, dash: [5])
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:34:28: note: add 'if #available' version check
style: StrokeStyle(lineWidth: lineWidth, dash: [5])
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:36:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:36:18: note: add 'if #available' version check
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:37:13: error: 'Text' is only available in macOS 10.15 or newer
Text("\(Int(geometry.size.width))x\(Int(geometry.size.height))")
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:37:13: note: add 'if #available' version check
Text("\(Int(geometry.size.width))x\(Int(geometry.size.height))")
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:18: error: 'font' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:18: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:31: error: 'caption' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:31: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:39: error: 'bold()' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:39: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:49: error: 'caption' is only available in macOS 10.15 or newer
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:38:49: note: add 'if #available' version check
.font(bold ? .caption.bold() : .caption)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:39:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:39:18: note: add 'if #available' version check
.foregroundColor(color)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:40:18: error: 'padding' is only available in macOS 10.15 or newer
.padding(2)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:40:18: note: add 'if #available' version check
.padding(2)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:41:18: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(1000)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:41:18: note: add 'if #available' version check
.zIndex(1000)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:43:10: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
.allowsHitTesting(false)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:43:10: note: add 'if #available' version check
.allowsHitTesting(false)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftUI_VPSwitch
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:17:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isOn: Bool
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:29:30: error: 'Image' is only available in macOS 10.15 or newer
var backgroundImage: Image? = nil
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:30:30: error: 'Color' is only available in macOS 10.15 or newer
var backgroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:30:40: error: 'gray' is only available in macOS 10.15 or newer
var backgroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:31:30: error: 'Image' is only available in macOS 10.15 or newer
var foregroundImage: Image? = nil
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:32:30: error: 'Color' is only available in macOS 10.15 or newer
var foregroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:32:40: error: 'gray' is only available in macOS 10.15 or newer
var foregroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:35:30: error: 'Image' is only available in macOS 10.15 or newer
backgroundImage: Image?,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:36:30: error: 'Color' is only available in macOS 10.15 or newer
backgroundColor: Color?,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:37:30: error: 'Image' is only available in macOS 10.15 or newer
foregroundImage: Image?,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:38:30: error: 'Color' is only available in macOS 10.15 or newer
foregroundColor: Color?
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:54:26: error: 'Color' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.7, green: 0.7, blue: 0.7),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:54:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.7, green: 0.7, blue: 0.7),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:56:26: error: 'Color' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.4, green: 1.0, blue: 0.4)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:56:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.4, green: 1.0, blue: 0.4)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:61:26: error: 'Color' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.75, green: 0.75, blue: 0.75),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:61:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.75, green: 0.75, blue: 0.75),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:63:26: error: 'Color' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.9, green: 0.9, blue: 0.9)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:63:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.9, green: 0.9, blue: 0.9)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:71:31: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:71:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:69:19: note: add @available attribute to enclosing struct
public struct Background: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:81:31: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:81:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:79:19: note: add @available attribute to enclosing struct
public struct Button: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:93:15: error: 'Binding' is only available in macOS 10.15 or newer
isOn: Binding<Bool>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:92:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:99:15: error: 'Binding' is only available in macOS 10.15 or newer
isOn: Binding<Bool>,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:98:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:109:15: error: 'Binding' is only available in macOS 10.15 or newer
isOn: Binding<Bool>,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:108:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:338:29: error: cannot find type 'UIImage' in scope
@State var imgGlow: UIImage?
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:338:10: error: 'State' is only available in macOS 10.15 or newer
@State var imgGlow: UIImage?
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:329:12: note: add @available attribute to enclosing struct
struct ForegroundIconView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:329:12: note: add @available attribute to enclosing struct
struct ForegroundIconView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:340:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:340:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:329:12: note: add @available attribute to enclosing struct
struct ForegroundIconView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:441:6: error: 'GestureState' is only available in macOS 10.15 or newer
@GestureState private var dragOffset: CGSize = .zero
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:442:6: error: 'State' is only available in macOS 10.15 or newer
@State private var position: CGFloat = 0
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:443:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isDragging = false
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:445:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isOn: Bool
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:453:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:453:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:564:6: error: 'State' is only available in macOS 10.15 or newer
@State var isOn: Bool = false
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:581:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:581:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:580:8: note: add @available attribute to enclosing struct
struct ContentView_Previews: PreviewProvider {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:27: error: 'Color' is only available in macOS 10.15 or newer
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:43: error: 'Color' is only available in macOS 10.15 or newer
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:70: error: 'Color' is only available in macOS 10.15 or newer
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:602:11: error: 'Color' is only available in macOS 10.15 or newer
extension Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:602:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:5:35: error: 'View' is only available in macOS 10.15 or newer
func debugFrameSize() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:5:10: note: add @available attribute to enclosing instance method
func debugFrameSize() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:46: error: 'View' is only available in macOS 10.15 or newer
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:8:10: note: add @available attribute to enclosing instance method
func debugFrameSizeHighlighted() -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:4:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:15:16: error: 'Color' is only available in macOS 10.15 or newer
var color: Color = .blue
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:15:25: error: 'blue' is only available in macOS 10.15 or newer
var color: Color = .blue
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:19:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:32: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:55: error: 'View' is only available in macOS 10.15 or newer
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:28:10: note: add @available attribute to enclosing instance method
func overlay(for geometry: GeometryProxy) -> some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/View+DebugFrameSize.swift:14:16: note: add @available attribute to enclosing struct
private struct FrameSize: ViewModifier {
^
[4/4] Compiling SwiftUI_VPSwitch SwiftUI_VPSwitch.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:17:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isOn: Bool
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:29:30: error: 'Image' is only available in macOS 10.15 or newer
var backgroundImage: Image? = nil
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:30:30: error: 'Color' is only available in macOS 10.15 or newer
var backgroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:30:40: error: 'gray' is only available in macOS 10.15 or newer
var backgroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:31:30: error: 'Image' is only available in macOS 10.15 or newer
var foregroundImage: Image? = nil
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:32:30: error: 'Color' is only available in macOS 10.15 or newer
var foregroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:32:40: error: 'gray' is only available in macOS 10.15 or newer
var foregroundColor: Color? = .gray
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:35:30: error: 'Image' is only available in macOS 10.15 or newer
backgroundImage: Image?,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:36:30: error: 'Color' is only available in macOS 10.15 or newer
backgroundColor: Color?,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:37:30: error: 'Image' is only available in macOS 10.15 or newer
foregroundImage: Image?,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:38:30: error: 'Color' is only available in macOS 10.15 or newer
foregroundColor: Color?
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:34:16: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:28:18: note: add @available attribute to enclosing class
public class SUIVPSwitchState {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:54:26: error: 'Color' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.7, green: 0.7, blue: 0.7),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:54:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.7, green: 0.7, blue: 0.7),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:56:26: error: 'Color' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.4, green: 1.0, blue: 0.4)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:56:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.4, green: 1.0, blue: 0.4)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:61:26: error: 'Color' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.75, green: 0.75, blue: 0.75),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:61:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
backgroundColor: Color(red: 0.75, green: 0.75, blue: 0.75),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:63:26: error: 'Color' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.9, green: 0.9, blue: 0.9)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:63:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
foregroundColor: Color(red: 0.9, green: 0.9, blue: 0.9)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:71:31: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:71:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:69:19: note: add @available attribute to enclosing struct
public struct Background: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:81:31: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:81:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:79:19: note: add @available attribute to enclosing struct
public struct Button: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:93:15: error: 'Binding' is only available in macOS 10.15 or newer
isOn: Binding<Bool>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:92:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:99:15: error: 'Binding' is only available in macOS 10.15 or newer
isOn: Binding<Bool>,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:98:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:109:15: error: 'Binding' is only available in macOS 10.15 or newer
isOn: Binding<Bool>,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:108:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:338:29: error: cannot find type 'UIImage' in scope
@State var imgGlow: UIImage?
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:338:10: error: 'State' is only available in macOS 10.15 or newer
@State var imgGlow: UIImage?
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:329:12: note: add @available attribute to enclosing struct
struct ForegroundIconView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:329:12: note: add @available attribute to enclosing struct
struct ForegroundIconView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:340:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:340:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:329:12: note: add @available attribute to enclosing struct
struct ForegroundIconView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:441:6: error: 'GestureState' is only available in macOS 10.15 or newer
@GestureState private var dragOffset: CGSize = .zero
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:442:6: error: 'State' is only available in macOS 10.15 or newer
@State private var position: CGFloat = 0
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:443:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isDragging = false
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:445:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isOn: Bool
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:453:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:453:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:156:8: note: add @available attribute to enclosing struct
struct SliderView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:564:6: error: 'State' is only available in macOS 10.15 or newer
@State var isOn: Bool = false
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:581:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:581:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:580:8: note: add @available attribute to enclosing struct
struct ContentView_Previews: PreviewProvider {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:27: error: 'Color' is only available in macOS 10.15 or newer
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:43: error: 'Color' is only available in macOS 10.15 or newer
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:70: error: 'Color' is only available in macOS 10.15 or newer
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:602:11: error: 'Color' is only available in macOS 10.15 or newer
extension Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:602:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:72:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:72:13: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:71:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:69:19: note: add @available attribute to enclosing struct
public struct Background: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:82:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:82:13: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:81:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:79:19: note: add @available attribute to enclosing struct
public struct Button: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:128:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:128:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:129:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 0) {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:141:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:144:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
.onDisappear {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:144:10: note: add 'if #available' version check
.onDisappear {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:127:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:15:15: note: add @available attribute to enclosing struct
public struct SUIVPSwitch: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:226:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:226:13: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:226:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:226:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:227:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:228:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(.white.opacity(0.8))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:228:28: error: 'white' is only available in macOS 10.15 or newer
.fill(.white.opacity(0.8))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:228:34: error: 'opacity' is only available in macOS 12.0 or newer
.fill(.white.opacity(0.8))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:229:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:231:22: error: 'offset' is only available in macOS 10.15 or newer
.offset(.init(width: 0, height: 2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:233:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:234:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(.black.opacity(0.2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:234:28: error: 'black' is only available in macOS 10.15 or newer
.fill(.black.opacity(0.2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:234:34: error: 'opacity' is only available in macOS 12.0 or newer
.fill(.black.opacity(0.2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:235:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:237:22: error: 'offset' is only available in macOS 10.15 or newer
.offset(.init(width: 0, height: -2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:239:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:240:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(lerpColor(fromColor: state_off.backgroundColor ?? .gray, toColor: state_on.backgroundColor ?? .gray, weight: position))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:240:78: error: 'gray' is only available in macOS 10.15 or newer
.fill(lerpColor(fromColor: state_off.backgroundColor ?? .gray, toColor: state_on.backgroundColor ?? .gray, weight: position))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:240:122: error: 'gray' is only available in macOS 10.15 or newer
.fill(lerpColor(fromColor: state_off.backgroundColor ?? .gray, toColor: state_on.backgroundColor ?? .gray, weight: position))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:241:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:243:22: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:244:25: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:245:30: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
.stroke(.black.opacity(0.2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:245:38: error: 'black' is only available in macOS 10.15 or newer
.stroke(.black.opacity(0.2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:245:44: error: 'opacity' is only available in macOS 12.0 or newer
.stroke(.black.opacity(0.2))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:247:30: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
.shadow(color: Color(red: 0/255, green: 0/255, blue: 0/255),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:247:44: error: 'Color' is only available in macOS 10.15 or newer
.shadow(color: Color(red: 0/255, green: 0/255, blue: 0/255),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:247:44: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
.shadow(color: Color(red: 0/255, green: 0/255, blue: 0/255),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:249:30: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
.shadow(color: Color(red: 0/255, green: 0/255, blue: 0/255),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:249:44: error: 'Color' is only available in macOS 10.15 or newer
.shadow(color: Color(red: 0/255, green: 0/255, blue: 0/255),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:249:44: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
.shadow(color: Color(red: 0/255, green: 0/255, blue: 0/255),
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:253:30: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:254:33: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:258:17: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:258:17: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:263:33: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
img.resizable(resizingMode: .stretch)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:264:34: error: 'scaledToFill()' is only available in macOS 10.15 or newer
.scaledToFill()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:265:34: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(Double(1.0 - position))
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:266:34: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:267:34: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:269:34: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:270:37: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:262:64: error: 'buildIf' is only available in macOS 10.15 or newer
if let img = state_off.backgroundImage {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:273:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:276:33: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
img.resizable(resizingMode: .stretch)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:277:34: error: 'scaledToFill()' is only available in macOS 10.15 or newer
.scaledToFill()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:278:34: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(position)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:279:34: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:280:34: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:282:34: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:283:37: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:275:63: error: 'buildIf' is only available in macOS 10.15 or newer
if let img = state_on.backgroundImage {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:285:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:260:54: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if backgroundImageOrder == .fade {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:260:54: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
if backgroundImageOrder == .fade {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:260:54: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
if backgroundImageOrder == .fade {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:290:33: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
img.resizable(resizingMode: .stretch)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:291:34: error: 'offset' is only available in macOS 10.15 or newer
.offset(getBgOffsetForOff())
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:292:34: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:293:34: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:294:37: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:296:34: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:289:64: error: 'buildIf' is only available in macOS 10.15 or newer
if let img = state_off.backgroundImage {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:298:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:301:33: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
img.resizable(resizingMode: .stretch)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:302:34: error: 'offset' is only available in macOS 10.15 or newer
.offset(getBgOffsetForOn())
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:303:34: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:304:34: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:305:37: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:307:34: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(minWidth: 0, maxWidth: .infinity,
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:300:63: error: 'buildIf' is only available in macOS 10.15 or newer
if let img = state_on.backgroundImage {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:309:25: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:287:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:287:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:287:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:258:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:314:18: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:315:18: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
.clipShape(
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:316:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: width)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:318:18: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
.allowsHitTesting(false)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:323:14: error: 'animation' is only available in macOS 10.15 or newer
.animation(.easeInOut)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:323:14: note: add 'if #available' version check
.animation(.easeInOut)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:323:25: error: 'easeInOut' is only available in macOS 10.15 or newer
.animation(.easeInOut)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:323:25: note: add 'if #available' version check
.animation(.easeInOut)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:225:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:158:12: note: add @available attribute to enclosing struct
struct BackgroundView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:430:33: error: cannot find 'UIImage' in scope
let image = UIImage(contentsOfFile: path)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:567:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:567:9: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:568:13: error: 'Text' is only available in macOS 10.15 or newer
Text("Drag the slider")
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:568:13: note: add 'if #available' version check
Text("Drag the slider")
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:569:18: error: 'font' is only available in macOS 10.15 or newer
.font(.title)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:569:18: note: add 'if #available' version check
.font(.title)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:569:24: error: 'title' is only available in macOS 10.15 or newer
.font(.title)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:569:24: note: add 'if #available' version check
.font(.title)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:570:18: error: 'padding' is only available in macOS 10.15 or newer
.padding()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:570:18: note: add 'if #available' version check
.padding()
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:566:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:562:8: note: add @available attribute to enclosing struct
struct ContentView: View {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:598:12: error: 'Color' is only available in macOS 10.15 or newer
return Color(red: lerpedRed, green: lerpedGreen, blue: lerpedBlue, opacity: lerpedAlpha)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:598:12: note: add 'if #available' version check
return Color(red: lerpedRed, green: lerpedGreen, blue: lerpedBlue, opacity: lerpedAlpha)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:598:12: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
return Color(red: lerpedRed, green: lerpedGreen, blue: lerpedBlue, opacity: lerpedAlpha)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:598:12: note: add 'if #available' version check
return Color(red: lerpedRed, green: lerpedGreen, blue: lerpedBlue, opacity: lerpedAlpha)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:589:6: note: add @available attribute to enclosing global function
func lerpColor(fromColor: Color, toColor: Color, weight: CGFloat) -> Color {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI-VPSwitch/SwiftUI_VPSwitch.swift:604:23: error: cannot find 'UIColor' in scope
let uiColor = UIColor(self)
^~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm