The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SlideDecisionControl, reference main (92fba7), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 09:53:08 UTC.

Build Command

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

Build Log

572 | 		imageAccept: .system(name: "heart"),
573 | 		textAccept: "Slide to Love",
    |               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
574 | 		imageMiddle: .system(name: "bubble"),
575 | 		imageReject: .system(name: "xmark.circle"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:576:15: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
574 | 		imageMiddle: .system(name: "bubble"),
575 | 		imageReject: .system(name: "xmark.circle"),
576 | 		textReject: "Slide to Hate"
    |               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
577 | 	) { _ in
578 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:110:4: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
    |    |- error: 'Image' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
111 | 		case .regular(let name):
112 | 			Image(name)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:110:4: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
    |    |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |    `- note: add 'if #available' version check
111 | 		case .regular(let name):
112 | 			Image(name)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:112:4: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
111 | 		case .regular(let name):
112 | 			Image(name)
    |    |- error: 'Image' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
113 | 		}
114 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:112:4: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
111 | 		case .regular(let name):
112 | 			Image(name)
    |    |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
113 | 		}
114 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:118:29: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
116 | 	let kSelectionScaleFactor: CGFloat = 1.5
117 |
118 | 	public var body: some View {
    |                             `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
119 | 		HStack(alignment: .firstTextBaseline, spacing: kGap) {
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:259:4: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
256 | 	}
257 |
258 | 	var font: Font {
    |      `- note: add @available attribute to enclosing property
259 | 		.system(size: 28, weight: .medium)
    |    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |    `- note: add 'if #available' version check
260 | 	}
261 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:264:3: error: 'Capsule' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
    |   |- error: 'Capsule' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:265:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
    |     |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |     `- note: add 'if #available' version check
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:266:5: error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
    |     |- error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
    |     `- note: add 'if #available' version check
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:267:5: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
    |     |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
269 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:267:20: error: 'black' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
    |                    |- error: 'black' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
269 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:267:26: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
    |                          |- error: 'opacity' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
269 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:268:5: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
    |     |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
269 | 	}
270 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:273:3: error: 'Capsule' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
    |   |- error: 'Capsule' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
274 | 			.fill(content)
275 | 			.frame(width: progressWidth, height: kButtonSize)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:274:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
    |     |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |     `- note: add 'if #available' version check
275 | 			.frame(width: progressWidth, height: kButtonSize)
276 | 			.padding(kBorder + pulsation)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:275:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
275 | 			.frame(width: progressWidth, height: kButtonSize)
    |     |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
276 | 			.padding(kBorder + pulsation)
277 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:276:5: error: 'padding' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
275 | 			.frame(width: progressWidth, height: kButtonSize)
276 | 			.padding(kBorder + pulsation)
    |     |- error: 'padding' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
277 | 	}
278 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:287:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
282 | 	}
283 |
284 | 	private func placeholderText(for side: Side) -> LocalizedStringKey {
    |               `- note: add @available attribute to enclosing instance method
285 | 		switch side {
286 | 		case .leading:
287 | 			textAccept ?? "Slide to accept"
    |                  |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
288 | 		case .trailing:
289 | 			textReject ?? "Slide to reject"
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:289:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
282 | 	}
283 |
284 | 	private func placeholderText(for side: Side) -> LocalizedStringKey {
    |               `- note: add @available attribute to enclosing instance method
285 | 		switch side {
286 | 		case .leading:
287 | 			textAccept ?? "Slide to accept"
288 | 		case .trailing:
289 | 			textReject ?? "Slide to reject"
    |                  |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
290 | 		}
291 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:295:3: error: 'Text' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
    |   |- error: 'Text' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:295:3: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
    |   |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:296:5: error: 'font' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    |     |- error: 'font' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:296:11: error: 'body' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    |           |- error: 'body' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:296:16: error: 'weight' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    |                |- error: 'weight' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:297:5: error: 'fontDesign' is only available in macOS 13.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
    |     |- error: 'fontDesign' is only available in macOS 13.0 or newer
    |     `- note: add 'if #available' version check
298 | 			.textCase(.uppercase)
299 | 			.padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:298:5: error: 'textCase' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
    |     |- error: 'textCase' is only available in macOS 11.0 or newer
    |     `- note: add 'if #available' version check
299 | 			.padding(.horizontal)
300 | 			.foregroundStyle(textGradient(side))
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:299:5: error: 'padding' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
299 | 			.padding(.horizontal)
    |     |- error: 'padding' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
300 | 			.foregroundStyle(textGradient(side))
301 | 			.opacity(textOpacity)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:300:5: error: 'foregroundStyle' is only available in macOS 12.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
298 | 			.textCase(.uppercase)
299 | 			.padding(.horizontal)
300 | 			.foregroundStyle(textGradient(side))
    |     |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |     `- note: add 'if #available' version check
301 | 			.opacity(textOpacity)
302 | 			.onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:301:5: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
299 | 			.padding(.horizontal)
300 | 			.foregroundStyle(textGradient(side))
301 | 			.opacity(textOpacity)
    |     |- error: 'opacity' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
302 | 			.onAppear {
303 | 				moveGradient = true
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:302:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
300 | 			.foregroundStyle(textGradient(side))
301 | 			.opacity(textOpacity)
302 | 			.onAppear {
    |     |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
303 | 				moveGradient = true
304 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:303:5: error: setter for 'moveGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
301 | 			.opacity(textOpacity)
302 | 			.onAppear {
303 | 				moveGradient = true
    |     |- error: setter for 'moveGradient' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
304 | 			}
305 | 			.onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:305:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
303 | 				moveGradient = true
304 | 			}
305 | 			.onDisappear {
    |     |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
306 | 				moveGradient = false
307 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:306:5: error: setter for 'moveGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
304 | 			}
305 | 			.onDisappear {
306 | 				moveGradient = false
    |     |- error: setter for 'moveGradient' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
307 | 			}
308 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:439:4: error: 'smooth(duration:extraBounce:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
436 | 	}
437 |
438 | 	private var interactionAnimation: Animation {
    |              `- note: add @available attribute to enclosing property
439 | 		.smooth(duration: 0.35 * kAnimationMultiplier/*, extraBounce: 0.25*/)
    |    |- error: 'smooth(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
440 | 	}
441 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:443:42: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
440 | 	}
441 |
442 | 	private var pulsationAnimation: Animation? {
    |              `- note: add @available attribute to enclosing property
443 | 		shouldPulsate(in: interactionState) ? .easeInOut(duration: 0.5).repeatForever(autoreverses: true) : .none
    |                                          |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
444 | 	}
445 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:443:67: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
440 | 	}
441 |
442 | 	private var pulsationAnimation: Animation? {
    |              `- note: add @available attribute to enclosing property
443 | 		shouldPulsate(in: interactionState) ? .easeInOut(duration: 0.5).repeatForever(autoreverses: true) : .none
    |                                                                   |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
444 | 	}
445 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:447:18: error: 'Color' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
    |                  |- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
448 | 			case .trailing:
449 | 				Color("slide.destructive.dark", bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:449:46: error: type 'Bundle?' has no member 'module'
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
449 | 				Color("slide.destructive.dark", bundle: .module)
    |                                              `- error: type 'Bundle?' has no member 'module'
450 | 			case .leading:
451 | 				Color("slide.accept.dark", bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:458:21: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
456 | 		switch interactionState {
457 | 		case .startingDrag, .dragging, .allIn:
458 | 			return baseColor.opacity(0.4)
    |                     |- error: 'opacity' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
459 | 		case .demo:
460 | 			return baseColor.opacity(0.25)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:460:21: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
458 | 			return baseColor.opacity(0.4)
459 | 		case .demo:
460 | 			return baseColor.opacity(0.25)
    |                     |- error: 'opacity' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
461 | 		default:
462 | 			return .black.opacity(0.12)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:462:12: error: 'black' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
460 | 			return baseColor.opacity(0.25)
461 | 		default:
462 | 			return .black.opacity(0.12)
    |            |- error: 'black' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
463 | 		}
464 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:462:18: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
460 | 			return baseColor.opacity(0.25)
461 | 		default:
462 | 			return .black.opacity(0.12)
    |                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
463 | 		}
464 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:16: error: 'Color' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                |- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:27: error: 'white' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                           |- error: 'white' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:33: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                 |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:49: error: 'white' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                                 |- error: 'white' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:57: error: 'white' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                                         |- error: 'white' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:63: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                                               |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                               `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:488:11: error: 'LinearGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
486 | 		switch side {
487 | 		case .leading:
488 | 			return LinearGradient(
    |           |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
489 | 				colors: colors,
490 | 				startPoint: .init(x: moveGradient ?  1 : -1, y: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:494:11: error: 'LinearGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
486 | 		switch side {
    :
492 | 			)
493 | 		case .trailing:
494 | 			return LinearGradient(
    |           |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
495 | 				colors: colors,
496 | 				startPoint: .init(x: moveGradient ?  -1 : 1, y: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:503:3: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
504 | 			interactionState = .demo(side: side)
505 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:503:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
    |                  |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
504 | 			interactionState = .demo(side: side)
505 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:504:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
505 | 		}
506 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:508:4: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    :
506 |
507 | 		DispatchQueue.main.asyncAfter(deadline: .now() + kDemoAnimationDuration + kDemoAnimationStallDuration) {
508 | 			withAnimation(.spring(response: 0.4 * kAnimationMultiplier, dampingFraction: 0.5, blendDuration: 0.5)) {
    |    |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
509 | 				interactionState = .idle
510 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:508:19: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    :
506 |
507 | 		DispatchQueue.main.asyncAfter(deadline: .now() + kDemoAnimationDuration + kDemoAnimationStallDuration) {
508 | 			withAnimation(.spring(response: 0.4 * kAnimationMultiplier, dampingFraction: 0.5, blendDuration: 0.5)) {
    |                   |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
509 | 				interactionState = .idle
510 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:509:5: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    :
507 | 		DispatchQueue.main.asyncAfter(deadline: .now() + kDemoAnimationDuration + kDemoAnimationStallDuration) {
508 | 			withAnimation(.spring(response: 0.4 * kAnimationMultiplier, dampingFraction: 0.5, blendDuration: 0.5)) {
509 | 				interactionState = .idle
    |     |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
510 | 			}
511 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:516:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
512 | 	}
513 |
514 | 	private func handleGestureChange(for side: Side, with newOffset: CGFloat) {
    |               `- note: add @available attribute to enclosing instance method
515 | 		if newOffset >= maxOffset {
516 | 			interactionState = .allIn(side: side)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
517 | 		} else {
518 | 			interactionState = .dragging(side: side, offset: newOffset)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:518:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
512 | 	}
513 |
514 | 	private func handleGestureChange(for side: Side, with newOffset: CGFloat) {
    |               `- note: add @available attribute to enclosing instance method
515 | 		if newOffset >= maxOffset {
516 | 			interactionState = .allIn(side: side)
517 | 		} else {
518 | 			interactionState = .dragging(side: side, offset: newOffset)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
519 | 		}
520 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:524:4: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    |    |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
525 | 				interactionState = .selection(side: side)
526 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:525:5: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
525 | 				interactionState = .selection(side: side)
    |     |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
526 | 			}
527 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:530:5: error: cannot pass as inout because setter for 'symbolEffect' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
528 | 			DispatchQueue.main
529 | 				.asyncAfter(deadline: .now() + 0.35 * kAnimationMultiplier) {
530 | 				symbolEffect.toggle()
    |     |- error: cannot pass as inout because setter for 'symbolEffect' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
531 | 			}
532 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:543:5: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
541 | 				}
542 |
543 | 				withAnimation(.spring(response: 0.4, dampingFraction: 0.5, blendDuration: 0.5)) {
    |     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
544 | 					interactionState = .idle
545 | 				}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:543:20: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
541 | 				}
542 |
543 | 				withAnimation(.spring(response: 0.4, dampingFraction: 0.5, blendDuration: 0.5)) {
    |                    |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
544 | 					interactionState = .idle
545 | 				}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:544:6: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
542 |
543 | 				withAnimation(.spring(response: 0.4, dampingFraction: 0.5, blendDuration: 0.5)) {
544 | 					interactionState = .idle
    |      |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
545 | 				}
546 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:553:3: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
550 | 	}
551 |
552 | 	private func startDrag(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
553 | 		withAnimation(interactionAnimation) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
554 | 			interactionState = .startingDrag(side: side)
555 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:554:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
550 | 	}
551 |
552 | 	private func startDrag(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
553 | 		withAnimation(interactionAnimation) {
554 | 			interactionState = .startingDrag(side: side)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
555 | 		}
556 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:559:3: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
556 | 	}
557 |
558 | 	private func switchToIdle() {
    |               `- note: add @available attribute to enclosing instance method
559 | 		withAnimation(interactionAnimation) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
560 | 			interactionState = .idle
561 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:560:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
556 | 	}
557 |
558 | 	private func switchToIdle() {
    |               `- note: add @available attribute to enclosing instance method
559 | 		withAnimation(interactionAnimation) {
560 | 			interactionState = .idle
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
561 | 		}
562 | 	}
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/Media.xcassets
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SlideDecisionControl
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:49:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 45 | 	///   - textReject: An optional localized string for the 'reject' button label.
 46 | 	///   - action: A closure that is triggered when an action is selected, returning the chosen `Action`.
 47 | 	public init(
    |         `- note: add @available attribute to enclosing initializer
 48 | 			imageAccept: ImageName = .system(name: "hand.thumbsup"),
 49 | 			textAccept inTextAccept: LocalizedStringKey? = nil,
    |                             `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 50 | 			imageMiddle: ImageName = .system(name: "bookmark"),
 51 | 			imageReject: ImageName = .system(name: "hand.thumbsdown"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:52:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 45 | 	///   - textReject: An optional localized string for the 'reject' button label.
 46 | 	///   - action: A closure that is triggered when an action is selected, returning the chosen `Action`.
 47 | 	public init(
    |         `- note: add @available attribute to enclosing initializer
 48 | 			imageAccept: ImageName = .system(name: "hand.thumbsup"),
 49 | 			textAccept inTextAccept: LocalizedStringKey? = nil,
 50 | 			imageMiddle: ImageName = .system(name: "bookmark"),
 51 | 			imageReject: ImageName = .system(name: "hand.thumbsdown"),
 52 | 			textReject inTextReject: LocalizedStringKey? = nil,
    |                             `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 53 | 			action inAction: @escaping @Sendable (Action) -> Void
 54 | 		) {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:69:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 67 | 	let imageNameReject: ImageName
 68 |
 69 | 	let textAccept: LocalizedStringKey?
    |                  `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 70 | 	let textReject: LocalizedStringKey?
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:70:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 68 |
 69 | 	let textAccept: LocalizedStringKey?
 70 | 	let textReject: LocalizedStringKey?
    |                  `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 71 |
 72 | 	private enum Side: Hashable, Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:85:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 83 | 		case selection(side: Side)
 84 | 	}
 85 | 	@State private var interactionState: InteractionState = .idle
    |   `- error: 'State' is only available in macOS 10.15 or newer
 86 |
 87 | 	@State private var moveGradient: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:87:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 85 | 	@State private var interactionState: InteractionState = .idle
 86 |
 87 | 	@State private var moveGradient: Bool = false
    |   `- error: 'State' is only available in macOS 10.15 or newer
 88 | 	@State private var pulsation: CGFloat = 0
 89 | 	@State private var symbolEffect: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:88:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 86 |
 87 | 	@State private var moveGradient: Bool = false
 88 | 	@State private var pulsation: CGFloat = 0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 89 | 	@State private var symbolEffect: Bool = false
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:89:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 87 | 	@State private var moveGradient: Bool = false
 88 | 	@State private var pulsation: CGFloat = 0
 89 | 	@State private var symbolEffect: Bool = false
    |   `- error: 'State' is only available in macOS 10.15 or newer
 90 |
 91 | 	@Namespace var animation
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:91:3: error: 'Namespace' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 89 | 	@State private var symbolEffect: Bool = false
 90 |
 91 | 	@Namespace var animation
    |   `- error: 'Namespace' is only available in macOS 11.0 or newer
 92 |
 93 | 	let action: @Sendable (Action) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:95:28: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 93 | 	let action: @Sendable (Action) -> Void
 94 |
 95 | 	private var imageLeading: Image {
    |              |             `- error: 'Image' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
 96 | 		image(for: imageNameAccept)
 97 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:99:27: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 97 | 	}
 98 |
 99 | 	private var imageMiddle: Image {
    |              |            `- error: 'Image' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
100 | 		image(for: imageNameMiddle)
101 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:103:29: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
101 | 	}
102 |
103 | 	private var imageTrailing: Image {
    |              |              `- error: 'Image' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
104 | 		image(for: imageNameReject)
105 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:107:45: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               |                             `- error: 'Image' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:118:24: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
116 | 	let kSelectionScaleFactor: CGFloat = 1.5
117 |
118 | 	public var body: some View {
    |             |          `- error: 'View' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
119 | 		HStack(alignment: .firstTextBaseline, spacing: kGap) {
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:258:12: error: 'Font' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
256 | 	}
257 |
258 | 	var font: Font {
    |      |     `- error: 'Font' is only available in macOS 10.15 or newer
    |      `- note: add @available attribute to enclosing property
259 | 		.system(size: 28, weight: .medium)
260 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:263:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:263:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:263:61: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:262:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
260 | 	}
261 |
262 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:272:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:272:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:272:61: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:271:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
269 | 	}
270 |
271 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:284:50: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
282 | 	}
283 |
284 | 	private func placeholderText(for side: Side) -> LocalizedStringKey {
    |               |                                  `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
285 | 		switch side {
286 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:294:44: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               |                            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:293:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
291 | 	}
292 |
293 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:310:93: error: 'SensoryFeedback' is only available in macOS 14.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
308 | 	}
309 |
310 | 	private func hapticFeedback(_ oldValue: InteractionState, _ newValue: InteractionState) -> SensoryFeedback? {
    |               |                                                                             `- error: 'SensoryFeedback' is only available in macOS 14.0 or newer
    |               `- note: add @available attribute to enclosing instance method
311 | 		if oldValue == .idle {
312 | 			.impact(flexibility: .rigid)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:438:36: error: 'Animation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
436 | 	}
437 |
438 | 	private var interactionAnimation: Animation {
    |              |                     `- error: 'Animation' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
439 | 		.smooth(duration: 0.35 * kAnimationMultiplier/*, extraBounce: 0.25*/)
440 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:442:34: error: 'Animation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
440 | 	}
441 |
442 | 	private var pulsationAnimation: Animation? {
    |              |                   `- error: 'Animation' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
443 | 		shouldPulsate(in: interactionState) ? .easeInOut(duration: 0.5).repeatForever(autoreverses: true) : .none
444 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:446:27: error: 'Color' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              |            `- error: 'Color' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:484:45: error: 'LinearGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               |                             `- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
486 | 		switch side {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:565:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
563 | }
564 |
565 | #Preview("Default") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
566 | 	SlideDecisionControl { _ in
567 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:570:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | #Preview("Customized") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
571 | 	SlideDecisionControl(
572 | 		imageAccept: .system(name: "heart"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:573:15: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
571 | 	SlideDecisionControl(
572 | 		imageAccept: .system(name: "heart"),
573 | 		textAccept: "Slide to Love",
    |               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
574 | 		imageMiddle: .system(name: "bubble"),
575 | 		imageReject: .system(name: "xmark.circle"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:576:15: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
574 | 		imageMiddle: .system(name: "bubble"),
575 | 		imageReject: .system(name: "xmark.circle"),
576 | 		textReject: "Slide to Hate"
    |               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
577 | 	) { _ in
578 | 	}
[3/3] Compiling SlideDecisionControl SlideDecisionControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:49:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 45 | 	///   - textReject: An optional localized string for the 'reject' button label.
 46 | 	///   - action: A closure that is triggered when an action is selected, returning the chosen `Action`.
 47 | 	public init(
    |         `- note: add @available attribute to enclosing initializer
 48 | 			imageAccept: ImageName = .system(name: "hand.thumbsup"),
 49 | 			textAccept inTextAccept: LocalizedStringKey? = nil,
    |                             `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 50 | 			imageMiddle: ImageName = .system(name: "bookmark"),
 51 | 			imageReject: ImageName = .system(name: "hand.thumbsdown"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:52:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 45 | 	///   - textReject: An optional localized string for the 'reject' button label.
 46 | 	///   - action: A closure that is triggered when an action is selected, returning the chosen `Action`.
 47 | 	public init(
    |         `- note: add @available attribute to enclosing initializer
 48 | 			imageAccept: ImageName = .system(name: "hand.thumbsup"),
 49 | 			textAccept inTextAccept: LocalizedStringKey? = nil,
 50 | 			imageMiddle: ImageName = .system(name: "bookmark"),
 51 | 			imageReject: ImageName = .system(name: "hand.thumbsdown"),
 52 | 			textReject inTextReject: LocalizedStringKey? = nil,
    |                             `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 53 | 			action inAction: @escaping @Sendable (Action) -> Void
 54 | 		) {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:69:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 67 | 	let imageNameReject: ImageName
 68 |
 69 | 	let textAccept: LocalizedStringKey?
    |                  `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 70 | 	let textReject: LocalizedStringKey?
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:70:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 68 |
 69 | 	let textAccept: LocalizedStringKey?
 70 | 	let textReject: LocalizedStringKey?
    |                  `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 71 |
 72 | 	private enum Side: Hashable, Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:85:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 83 | 		case selection(side: Side)
 84 | 	}
 85 | 	@State private var interactionState: InteractionState = .idle
    |   `- error: 'State' is only available in macOS 10.15 or newer
 86 |
 87 | 	@State private var moveGradient: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:87:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 85 | 	@State private var interactionState: InteractionState = .idle
 86 |
 87 | 	@State private var moveGradient: Bool = false
    |   `- error: 'State' is only available in macOS 10.15 or newer
 88 | 	@State private var pulsation: CGFloat = 0
 89 | 	@State private var symbolEffect: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:88:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 86 |
 87 | 	@State private var moveGradient: Bool = false
 88 | 	@State private var pulsation: CGFloat = 0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 89 | 	@State private var symbolEffect: Bool = false
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:89:3: error: 'State' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 87 | 	@State private var moveGradient: Bool = false
 88 | 	@State private var pulsation: CGFloat = 0
 89 | 	@State private var symbolEffect: Bool = false
    |   `- error: 'State' is only available in macOS 10.15 or newer
 90 |
 91 | 	@Namespace var animation
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:91:3: error: 'Namespace' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 89 | 	@State private var symbolEffect: Bool = false
 90 |
 91 | 	@Namespace var animation
    |   `- error: 'Namespace' is only available in macOS 11.0 or newer
 92 |
 93 | 	let action: @Sendable (Action) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:95:28: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 93 | 	let action: @Sendable (Action) -> Void
 94 |
 95 | 	private var imageLeading: Image {
    |              |             `- error: 'Image' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
 96 | 		image(for: imageNameAccept)
 97 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:99:27: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
 97 | 	}
 98 |
 99 | 	private var imageMiddle: Image {
    |              |            `- error: 'Image' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
100 | 		image(for: imageNameMiddle)
101 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:103:29: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
101 | 	}
102 |
103 | 	private var imageTrailing: Image {
    |              |              `- error: 'Image' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
104 | 		image(for: imageNameReject)
105 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:107:45: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               |                             `- error: 'Image' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:118:24: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
116 | 	let kSelectionScaleFactor: CGFloat = 1.5
117 |
118 | 	public var body: some View {
    |             |          `- error: 'View' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
119 | 		HStack(alignment: .firstTextBaseline, spacing: kGap) {
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:258:12: error: 'Font' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
256 | 	}
257 |
258 | 	var font: Font {
    |      |     `- error: 'Font' is only available in macOS 10.15 or newer
    |      `- note: add @available attribute to enclosing property
259 | 		.system(size: 28, weight: .medium)
260 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:263:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:263:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:263:61: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:262:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
260 | 	}
261 |
262 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:272:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:272:41: error: 'ShapeStyle' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                 `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:272:61: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:271:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
269 | 	}
270 |
271 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:284:50: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
282 | 	}
283 |
284 | 	private func placeholderText(for side: Side) -> LocalizedStringKey {
    |               |                                  `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
285 | 		switch side {
286 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:294:44: error: 'View' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               |                            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:293:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
291 | 	}
292 |
293 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:310:93: error: 'SensoryFeedback' is only available in macOS 14.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
308 | 	}
309 |
310 | 	private func hapticFeedback(_ oldValue: InteractionState, _ newValue: InteractionState) -> SensoryFeedback? {
    |               |                                                                             `- error: 'SensoryFeedback' is only available in macOS 14.0 or newer
    |               `- note: add @available attribute to enclosing instance method
311 | 		if oldValue == .idle {
312 | 			.impact(flexibility: .rigid)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:438:36: error: 'Animation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
436 | 	}
437 |
438 | 	private var interactionAnimation: Animation {
    |              |                     `- error: 'Animation' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
439 | 		.smooth(duration: 0.35 * kAnimationMultiplier/*, extraBounce: 0.25*/)
440 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:442:34: error: 'Animation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
440 | 	}
441 |
442 | 	private var pulsationAnimation: Animation? {
    |              |                   `- error: 'Animation' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
443 | 		shouldPulsate(in: interactionState) ? .easeInOut(duration: 0.5).repeatForever(autoreverses: true) : .none
444 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:446:27: error: 'Color' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              |            `- error: 'Color' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:484:45: error: 'LinearGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               |                             `- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
486 | 		switch side {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:565:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
563 | }
564 |
565 | #Preview("Default") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
566 | 	SlideDecisionControl { _ in
567 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:570:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | #Preview("Customized") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
571 | 	SlideDecisionControl(
572 | 		imageAccept: .system(name: "heart"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:573:15: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
571 | 	SlideDecisionControl(
572 | 		imageAccept: .system(name: "heart"),
573 | 		textAccept: "Slide to Love",
    |               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
574 | 		imageMiddle: .system(name: "bubble"),
575 | 		imageReject: .system(name: "xmark.circle"),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:576:15: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
574 | 		imageMiddle: .system(name: "bubble"),
575 | 		imageReject: .system(name: "xmark.circle"),
576 | 		textReject: "Slide to Hate"
    |               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
577 | 	) { _ in
578 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:110:4: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
    |    |- error: 'Image' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
111 | 		case .regular(let name):
112 | 			Image(name)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:110:4: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
    |    |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |    `- note: add 'if #available' version check
111 | 		case .regular(let name):
112 | 			Image(name)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:112:4: error: 'Image' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
111 | 		case .regular(let name):
112 | 			Image(name)
    |    |- error: 'Image' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
113 | 		}
114 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:112:4: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
105 | 	}
106 |
107 | 	private func image(for name: ImageName) -> Image {
    |               `- note: add @available attribute to enclosing instance method
108 | 		switch name {
109 | 		case .system(let name):
110 | 			Image(systemName: name)
111 | 		case .regular(let name):
112 | 			Image(name)
    |    |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
113 | 		}
114 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:118:29: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
116 | 	let kSelectionScaleFactor: CGFloat = 1.5
117 |
118 | 	public var body: some View {
    |                             `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
119 | 		HStack(alignment: .firstTextBaseline, spacing: kGap) {
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:259:4: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
256 | 	}
257 |
258 | 	var font: Font {
    |      `- note: add @available attribute to enclosing property
259 | 		.system(size: 28, weight: .medium)
    |    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |    `- note: add 'if #available' version check
260 | 	}
261 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:264:3: error: 'Capsule' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
    |   |- error: 'Capsule' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:265:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
    |     |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |     `- note: add 'if #available' version check
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:266:5: error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
    |     |- error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
    |     `- note: add 'if #available' version check
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:267:5: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
    |     |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
269 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:267:20: error: 'black' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
    |                    |- error: 'black' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
269 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:267:26: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
    |                          |- error: 'opacity' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
269 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:268:5: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
261 |
262 | 	@ViewBuilder
263 | 	func backgroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
264 | 		Capsule(style: .circular)
265 | 			.fill(content)
266 | 			.matchedGeometryEffect(id: "background", in: animation)
267 | 			.shadow(color: .black.opacity(0.65), radius: 1)
268 | 			.shadow(color: shadowColor, radius: shadowRadius, y: shadowOffset)
    |     |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
269 | 	}
270 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:273:3: error: 'Capsule' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
    |   |- error: 'Capsule' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
274 | 			.fill(content)
275 | 			.frame(width: progressWidth, height: kButtonSize)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:274:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
    |     |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |     `- note: add 'if #available' version check
275 | 			.frame(width: progressWidth, height: kButtonSize)
276 | 			.padding(kBorder + pulsation)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:275:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
275 | 			.frame(width: progressWidth, height: kButtonSize)
    |     |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
276 | 			.padding(kBorder + pulsation)
277 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:276:5: error: 'padding' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
270 |
271 | 	@ViewBuilder
272 | 	func foregroundCapsule(_ content: some ShapeStyle) -> some View {
    |       `- note: add @available attribute to enclosing instance method
273 | 		Capsule(style: .circular)
274 | 			.fill(content)
275 | 			.frame(width: progressWidth, height: kButtonSize)
276 | 			.padding(kBorder + pulsation)
    |     |- error: 'padding' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
277 | 	}
278 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:287:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
282 | 	}
283 |
284 | 	private func placeholderText(for side: Side) -> LocalizedStringKey {
    |               `- note: add @available attribute to enclosing instance method
285 | 		switch side {
286 | 		case .leading:
287 | 			textAccept ?? "Slide to accept"
    |                  |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
288 | 		case .trailing:
289 | 			textReject ?? "Slide to reject"
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:289:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
282 | 	}
283 |
284 | 	private func placeholderText(for side: Side) -> LocalizedStringKey {
    |               `- note: add @available attribute to enclosing instance method
285 | 		switch side {
286 | 		case .leading:
287 | 			textAccept ?? "Slide to accept"
288 | 		case .trailing:
289 | 			textReject ?? "Slide to reject"
    |                  |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
290 | 		}
291 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:295:3: error: 'Text' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
    |   |- error: 'Text' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:295:3: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
    |   |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:296:5: error: 'font' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    |     |- error: 'font' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:296:11: error: 'body' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    |           |- error: 'body' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:296:16: error: 'weight' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    |                |- error: 'weight' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:297:5: error: 'fontDesign' is only available in macOS 13.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
    |     |- error: 'fontDesign' is only available in macOS 13.0 or newer
    |     `- note: add 'if #available' version check
298 | 			.textCase(.uppercase)
299 | 			.padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:298:5: error: 'textCase' is only available in macOS 11.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
    |     |- error: 'textCase' is only available in macOS 11.0 or newer
    |     `- note: add 'if #available' version check
299 | 			.padding(.horizontal)
300 | 			.foregroundStyle(textGradient(side))
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:299:5: error: 'padding' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
297 | 			.fontDesign(.rounded)
298 | 			.textCase(.uppercase)
299 | 			.padding(.horizontal)
    |     |- error: 'padding' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
300 | 			.foregroundStyle(textGradient(side))
301 | 			.opacity(textOpacity)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:300:5: error: 'foregroundStyle' is only available in macOS 12.0 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
298 | 			.textCase(.uppercase)
299 | 			.padding(.horizontal)
300 | 			.foregroundStyle(textGradient(side))
    |     |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |     `- note: add 'if #available' version check
301 | 			.opacity(textOpacity)
302 | 			.onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:301:5: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
299 | 			.padding(.horizontal)
300 | 			.foregroundStyle(textGradient(side))
301 | 			.opacity(textOpacity)
    |     |- error: 'opacity' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
302 | 			.onAppear {
303 | 				moveGradient = true
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:302:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
300 | 			.foregroundStyle(textGradient(side))
301 | 			.opacity(textOpacity)
302 | 			.onAppear {
    |     |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
303 | 				moveGradient = true
304 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:303:5: error: setter for 'moveGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
301 | 			.opacity(textOpacity)
302 | 			.onAppear {
303 | 				moveGradient = true
    |     |- error: setter for 'moveGradient' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
304 | 			}
305 | 			.onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:305:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
303 | 				moveGradient = true
304 | 			}
305 | 			.onDisappear {
    |     |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
306 | 				moveGradient = false
307 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:306:5: error: setter for 'moveGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
292 |
293 | 	@ViewBuilder
294 | 	private func text(for side: Side) -> some View {
    |               `- note: add @available attribute to enclosing instance method
295 | 		Text(placeholderText(for: side))
296 | 			.font(.body.weight(.heavy))
    :
304 | 			}
305 | 			.onDisappear {
306 | 				moveGradient = false
    |     |- error: setter for 'moveGradient' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
307 | 			}
308 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:439:4: error: 'smooth(duration:extraBounce:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
436 | 	}
437 |
438 | 	private var interactionAnimation: Animation {
    |              `- note: add @available attribute to enclosing property
439 | 		.smooth(duration: 0.35 * kAnimationMultiplier/*, extraBounce: 0.25*/)
    |    |- error: 'smooth(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
440 | 	}
441 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:443:42: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
440 | 	}
441 |
442 | 	private var pulsationAnimation: Animation? {
    |              `- note: add @available attribute to enclosing property
443 | 		shouldPulsate(in: interactionState) ? .easeInOut(duration: 0.5).repeatForever(autoreverses: true) : .none
    |                                          |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
444 | 	}
445 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:443:67: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
440 | 	}
441 |
442 | 	private var pulsationAnimation: Animation? {
    |              `- note: add @available attribute to enclosing property
443 | 		shouldPulsate(in: interactionState) ? .easeInOut(duration: 0.5).repeatForever(autoreverses: true) : .none
    |                                                                   |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
444 | 	}
445 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:447:18: error: 'Color' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
    |                  |- error: 'Color' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
448 | 			case .trailing:
449 | 				Color("slide.destructive.dark", bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:449:46: error: type 'Bundle?' has no member 'module'
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
449 | 				Color("slide.destructive.dark", bundle: .module)
    |                                              `- error: type 'Bundle?' has no member 'module'
450 | 			case .leading:
451 | 				Color("slide.accept.dark", bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:458:21: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
456 | 		switch interactionState {
457 | 		case .startingDrag, .dragging, .allIn:
458 | 			return baseColor.opacity(0.4)
    |                     |- error: 'opacity' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
459 | 		case .demo:
460 | 			return baseColor.opacity(0.25)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:460:21: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
458 | 			return baseColor.opacity(0.4)
459 | 		case .demo:
460 | 			return baseColor.opacity(0.25)
    |                     |- error: 'opacity' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
461 | 		default:
462 | 			return .black.opacity(0.12)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:462:12: error: 'black' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
460 | 			return baseColor.opacity(0.25)
461 | 		default:
462 | 			return .black.opacity(0.12)
    |            |- error: 'black' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
463 | 		}
464 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:462:18: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
444 | 	}
445 |
446 | 	private var shadowColor: Color {
    |              `- note: add @available attribute to enclosing property
447 | 		let baseColor: Color = switch interactionSide {
448 | 			case .trailing:
    :
460 | 			return baseColor.opacity(0.25)
461 | 		default:
462 | 			return .black.opacity(0.12)
    |                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
463 | 		}
464 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:16: error: 'Color' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                |- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:27: error: 'white' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                           |- error: 'white' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:33: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                 |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:49: error: 'white' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                                 |- error: 'white' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:57: error: 'white' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                                         |- error: 'white' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:485:63: error: 'opacity' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
    |                                                               |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                               `- note: add 'if #available' version check
486 | 		switch side {
487 | 		case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:488:11: error: 'LinearGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
486 | 		switch side {
487 | 		case .leading:
488 | 			return LinearGradient(
    |           |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
489 | 				colors: colors,
490 | 				startPoint: .init(x: moveGradient ?  1 : -1, y: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:494:11: error: 'LinearGradient' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
482 | 	}
483 |
484 | 	private func textGradient(_ side: Side) -> LinearGradient {
    |               `- note: add @available attribute to enclosing instance method
485 | 		let colors: [Color] = [.white.opacity(0.25), .white, .white.opacity(0.25)]
486 | 		switch side {
    :
492 | 			)
493 | 		case .trailing:
494 | 			return LinearGradient(
    |           |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
495 | 				colors: colors,
496 | 				startPoint: .init(x: moveGradient ?  -1 : 1, y: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:503:3: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
504 | 			interactionState = .demo(side: side)
505 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:503:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
    |                  |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
504 | 			interactionState = .demo(side: side)
505 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:504:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
505 | 		}
506 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:508:4: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    :
506 |
507 | 		DispatchQueue.main.asyncAfter(deadline: .now() + kDemoAnimationDuration + kDemoAnimationStallDuration) {
508 | 			withAnimation(.spring(response: 0.4 * kAnimationMultiplier, dampingFraction: 0.5, blendDuration: 0.5)) {
    |    |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
509 | 				interactionState = .idle
510 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:508:19: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    :
506 |
507 | 		DispatchQueue.main.asyncAfter(deadline: .now() + kDemoAnimationDuration + kDemoAnimationStallDuration) {
508 | 			withAnimation(.spring(response: 0.4 * kAnimationMultiplier, dampingFraction: 0.5, blendDuration: 0.5)) {
    |                   |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
509 | 				interactionState = .idle
510 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:509:5: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
500 | 	}
501 |
502 | 	private func handleTap(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
503 | 		withAnimation(.easeOut(duration: kDemoAnimationDuration)) {
504 | 			interactionState = .demo(side: side)
    :
507 | 		DispatchQueue.main.asyncAfter(deadline: .now() + kDemoAnimationDuration + kDemoAnimationStallDuration) {
508 | 			withAnimation(.spring(response: 0.4 * kAnimationMultiplier, dampingFraction: 0.5, blendDuration: 0.5)) {
509 | 				interactionState = .idle
    |     |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
510 | 			}
511 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:516:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
512 | 	}
513 |
514 | 	private func handleGestureChange(for side: Side, with newOffset: CGFloat) {
    |               `- note: add @available attribute to enclosing instance method
515 | 		if newOffset >= maxOffset {
516 | 			interactionState = .allIn(side: side)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
517 | 		} else {
518 | 			interactionState = .dragging(side: side, offset: newOffset)
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:518:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
512 | 	}
513 |
514 | 	private func handleGestureChange(for side: Side, with newOffset: CGFloat) {
    |               `- note: add @available attribute to enclosing instance method
515 | 		if newOffset >= maxOffset {
516 | 			interactionState = .allIn(side: side)
517 | 		} else {
518 | 			interactionState = .dragging(side: side, offset: newOffset)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
519 | 		}
520 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:524:4: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    |    |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
525 | 				interactionState = .selection(side: side)
526 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:525:5: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
525 | 				interactionState = .selection(side: side)
    |     |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
526 | 			}
527 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:530:5: error: cannot pass as inout because setter for 'symbolEffect' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
528 | 			DispatchQueue.main
529 | 				.asyncAfter(deadline: .now() + 0.35 * kAnimationMultiplier) {
530 | 				symbolEffect.toggle()
    |     |- error: cannot pass as inout because setter for 'symbolEffect' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
531 | 			}
532 |
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:543:5: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
541 | 				}
542 |
543 | 				withAnimation(.spring(response: 0.4, dampingFraction: 0.5, blendDuration: 0.5)) {
    |     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
544 | 					interactionState = .idle
545 | 				}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:543:20: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
541 | 				}
542 |
543 | 				withAnimation(.spring(response: 0.4, dampingFraction: 0.5, blendDuration: 0.5)) {
    |                    |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
544 | 					interactionState = .idle
545 | 				}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:544:6: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
520 | 	}
521 |
522 | 	private func handleEndGesture() {
    |               `- note: add @available attribute to enclosing instance method
523 | 		if case .allIn(let side) = interactionState {
524 | 			withAnimation(interactionAnimation) {
    :
542 |
543 | 				withAnimation(.spring(response: 0.4, dampingFraction: 0.5, blendDuration: 0.5)) {
544 | 					interactionState = .idle
    |      |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
545 | 				}
546 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:553:3: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
550 | 	}
551 |
552 | 	private func startDrag(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
553 | 		withAnimation(interactionAnimation) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
554 | 			interactionState = .startingDrag(side: side)
555 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:554:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
550 | 	}
551 |
552 | 	private func startDrag(on side: Side) {
    |               `- note: add @available attribute to enclosing instance method
553 | 		withAnimation(interactionAnimation) {
554 | 			interactionState = .startingDrag(side: side)
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
555 | 		}
556 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:559:3: error: 'withAnimation' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
556 | 	}
557 |
558 | 	private func switchToIdle() {
    |               `- note: add @available attribute to enclosing instance method
559 | 		withAnimation(interactionAnimation) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
560 | 			interactionState = .idle
561 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/SlideDecisionControl.swift:560:4: error: setter for 'interactionState' is only available in macOS 10.15 or newer
 13 | /// A SwiftUI control that allows explicit decision-making through sliding gestures.
 14 | /// Designed to prevent accidental actions and ensure deliberate user interactions.
 15 | public struct SlideDecisionControl: View {
    |               `- note: add @available attribute to enclosing struct
 16 |
 17 | 	/// Represents the possible actions within the control.
    :
556 | 	}
557 |
558 | 	private func switchToIdle() {
    |               `- note: add @available attribute to enclosing instance method
559 | 		withAnimation(interactionAnimation) {
560 | 			interactionState = .idle
    |    |- error: setter for 'interactionState' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
561 | 		}
562 | 	}
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SlideDecisionControl/Media.xcassets
BUILD FAILURE 6.1 macosSpm