Build Information
Failed to build swift-awesome-button, reference main (3b4fc9), with Swift 6.3 for macOS (SPM) on 2 Sep 2026 19:54:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
489 | clockwise: false
490 | )
491 | path.addLine(to: CGPoint(x: insetRect.maxX, y: insetRect.maxY - bottomRight))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
492 | path.addArc(
493 | center: CGPoint(x: insetRect.maxX - bottomRight, y: insetRect.maxY - bottomRight),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/ColorHelpers.swift:492:10: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | internal struct AwesomeRoundedRectangle: InsettableShape {
| `- note: add '@available' attribute to enclosing struct
462 | var radii: ResolvedCornerRadii
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
490 | )
491 | path.addLine(to: CGPoint(x: insetRect.maxX, y: insetRect.maxY - bottomRight))
492 | path.addArc(
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
493 | center: CGPoint(x: insetRect.maxX - bottomRight, y: insetRect.maxY - bottomRight),
494 | radius: bottomRight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/ColorHelpers.swift:499:10: error: 'addLine(to:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | internal struct AwesomeRoundedRectangle: InsettableShape {
| `- note: add '@available' attribute to enclosing struct
462 | var radii: ResolvedCornerRadii
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
497 | clockwise: false
498 | )
499 | path.addLine(to: CGPoint(x: insetRect.minX + bottomLeft, y: insetRect.maxY))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
500 | path.addArc(
501 | center: CGPoint(x: insetRect.minX + bottomLeft, y: insetRect.maxY - bottomLeft),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/ColorHelpers.swift:500:10: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | internal struct AwesomeRoundedRectangle: InsettableShape {
| `- note: add '@available' attribute to enclosing struct
462 | var radii: ResolvedCornerRadii
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
498 | )
499 | path.addLine(to: CGPoint(x: insetRect.minX + bottomLeft, y: insetRect.maxY))
500 | path.addArc(
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
501 | center: CGPoint(x: insetRect.minX + bottomLeft, y: insetRect.maxY - bottomLeft),
502 | radius: bottomLeft,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/ColorHelpers.swift:507:10: error: 'addLine(to:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | internal struct AwesomeRoundedRectangle: InsettableShape {
| `- note: add '@available' attribute to enclosing struct
462 | var radii: ResolvedCornerRadii
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
505 | clockwise: false
506 | )
507 | path.addLine(to: CGPoint(x: insetRect.minX, y: insetRect.minY + topLeft))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
508 | path.addArc(
509 | center: CGPoint(x: insetRect.minX + topLeft, y: insetRect.minY + topLeft),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/ColorHelpers.swift:508:10: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | internal struct AwesomeRoundedRectangle: InsettableShape {
| `- note: add '@available' attribute to enclosing struct
462 | var radii: ResolvedCornerRadii
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
506 | )
507 | path.addLine(to: CGPoint(x: insetRect.minX, y: insetRect.minY + topLeft))
508 | path.addArc(
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
509 | center: CGPoint(x: insetRect.minX + topLeft, y: insetRect.minY + topLeft),
510 | radius: topLeft,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/ColorHelpers.swift:515:10: error: 'closeSubpath()' is only available in macOS 10.15 or newer
459 | }
460 |
461 | internal struct AwesomeRoundedRectangle: InsettableShape {
| `- note: add '@available' attribute to enclosing struct
462 | var radii: ResolvedCornerRadii
463 | var insetAmount: CGFloat = 0
:
469 | var layoutDirectionBehavior: LayoutDirectionBehavior { .fixed }
470 |
471 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
472 | let insetRect = rect.insetBy(dx: insetAmount, dy: insetAmount)
473 | let radii = radii.clamped
:
513 | clockwise: false
514 | )
515 | path.closeSubpath()
| |- error: 'closeSubpath()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
516 | return path
517 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:15:27: error: 'Animation' is only available in macOS 10.15 or newer
5 |
6 | /// Curves available for press-down and direct style transitions.
7 | public enum AwesomeButtonAnimationCurve: String, CaseIterable, Sendable {
| `- note: add '@available' attribute to enclosing enum
8 | /// A cubic ease-out curve with a fast response and soft arrival.
9 | case easeOutCubic
:
13 | case linear
14 |
15 | internal var animation: Animation {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
16 | switch self {
17 | case .easeOutCubic:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:44:31: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
45 | /// The face color while pressed.
46 | public var backgroundActive: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:46:32: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
45 | /// The face color while pressed.
46 | public var backgroundActive: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
47 | /// The face color used for placeholder content.
48 | public var backgroundPlaceholder: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:48:37: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
46 | public var backgroundActive: Color?
47 | /// The face color used for placeholder content.
48 | public var backgroundPlaceholder: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
49 | /// The face color used while progress is active.
50 | public var backgroundProgress: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:50:34: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
48 | public var backgroundPlaceholder: Color?
49 | /// The face color used while progress is active.
50 | public var backgroundProgress: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
51 | /// The lower depth-layer color.
52 | public var depthColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:52:26: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
50 | public var backgroundProgress: Color?
51 | /// The lower depth-layer color.
52 | public var depthColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
53 | /// The ambient shadow color.
54 | public var shadowColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:54:27: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
52 | public var depthColor: Color?
53 | /// The ambient shadow color.
54 | public var shadowColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
55 | /// The spinner and progress-indicator color.
56 | public var activityColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:56:29: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
54 | public var shadowColor: Color?
55 | /// The spinner and progress-indicator color.
56 | public var activityColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
57 | /// The overlay color blended over the face while pressed.
58 | public var pressedOverlayColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:58:35: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
56 | public var activityColor: Color?
57 | /// The overlay color blended over the face while pressed.
58 | public var pressedOverlayColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
59 | /// The label and icon color.
60 | public var foregroundColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:60:31: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
58 | public var pressedOverlayColor: Color?
59 | /// The label and icon color.
60 | public var foregroundColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
61 | /// The label font size in points.
62 | public var textSize: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:80:27: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
78 | public var borderWidth: CGFloat?
79 | /// The inset border color.
80 | public var borderColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
81 | /// The resting separation between the face and depth layers.
82 | public var raiseAmount: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:94:39: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
92 | public var pressInAnimationDuration: TimeInterval?
93 | /// The disabled face color.
94 | public var disabledBackgroundColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
95 | /// The disabled depth-layer color.
96 | public var disabledDepthColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:96:34: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
94 | public var disabledBackgroundColor: Color?
95 | /// The disabled depth-layer color.
96 | public var disabledDepthColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
97 | /// The disabled shadow color.
98 | public var disabledShadowColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:98:35: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
96 | public var disabledDepthColor: Color?
97 | /// The disabled shadow color.
98 | public var disabledShadowColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
99 | /// The disabled label and icon color.
100 | public var disabledForegroundColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:100:39: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
98 | public var disabledShadowColor: Color?
99 | /// The disabled label and icon color.
100 | public var disabledForegroundColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
101 | /// The disabled border color.
102 | public var disabledBorderColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:102:35: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
100 | public var disabledForegroundColor: Color?
101 | /// The disabled border color.
102 | public var disabledBorderColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:106:22: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
107 | backgroundActive: Color? = nil,
108 | backgroundPlaceholder: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:107:23: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
108 | backgroundPlaceholder: Color? = nil,
109 | backgroundProgress: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:108:28: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
108 | backgroundPlaceholder: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
109 | backgroundProgress: Color? = nil,
110 | depthColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:109:25: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
108 | backgroundPlaceholder: Color? = nil,
109 | backgroundProgress: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
110 | depthColor: Color? = nil,
111 | shadowColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:110:17: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
108 | backgroundPlaceholder: Color? = nil,
109 | backgroundProgress: Color? = nil,
110 | depthColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
111 | shadowColor: Color? = nil,
112 | activityColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:111:18: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
109 | backgroundProgress: Color? = nil,
110 | depthColor: Color? = nil,
111 | shadowColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
112 | activityColor: Color? = nil,
113 | pressedOverlayColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:112:20: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
110 | depthColor: Color? = nil,
111 | shadowColor: Color? = nil,
112 | activityColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
113 | pressedOverlayColor: Color? = nil,
114 | foregroundColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:113:26: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
111 | shadowColor: Color? = nil,
112 | activityColor: Color? = nil,
113 | pressedOverlayColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
114 | foregroundColor: Color? = nil,
115 | textSize: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:114:22: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
112 | activityColor: Color? = nil,
113 | pressedOverlayColor: Color? = nil,
114 | foregroundColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
115 | textSize: CGFloat? = nil,
116 | textLineHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:124:18: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
122 | borderTopRightRadius: CGFloat? = nil,
123 | borderWidth: CGFloat? = nil,
124 | borderColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
125 | raiseAmount: CGFloat? = nil,
126 | contentGap: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:130:30: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
128 | animationCurve: AwesomeButtonAnimationCurve? = nil,
129 | pressInAnimationDuration: TimeInterval? = nil,
130 | disabledBackgroundColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
131 | disabledDepthColor: Color? = nil,
132 | disabledShadowColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:131:25: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
129 | pressInAnimationDuration: TimeInterval? = nil,
130 | disabledBackgroundColor: Color? = nil,
131 | disabledDepthColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
132 | disabledShadowColor: Color? = nil,
133 | disabledForegroundColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:132:26: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
130 | disabledBackgroundColor: Color? = nil,
131 | disabledDepthColor: Color? = nil,
132 | disabledShadowColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
133 | disabledForegroundColor: Color? = nil,
134 | disabledBorderColor: Color? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:133:30: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
131 | disabledDepthColor: Color? = nil,
132 | disabledShadowColor: Color? = nil,
133 | disabledForegroundColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
134 | disabledBorderColor: Color? = nil
135 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:134:26: error: 'Color' is only available in macOS 10.15 or newer
40 |
41 | /// Optional visual overrides for a direct or resolved themed button.
42 | public struct AwesomeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 | /// The resting face color.
44 | public var backgroundColor: Color?
:
103 |
104 | /// Creates a sparse style whose non-`nil` values override lower-precedence sources.
105 | public init(
| `- note: add '@available' attribute to enclosing initializer
106 | backgroundColor: Color? = nil,
107 | backgroundActive: Color? = nil,
:
132 | disabledShadowColor: Color? = nil,
133 | disabledForegroundColor: Color? = nil,
134 | disabledBorderColor: Color? = nil
| `- error: 'Color' is only available in macOS 10.15 or newer
135 | ) {
136 | self.backgroundColor = backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:256:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
254 | }
255 |
256 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
257 | public var awesomeButtonThemeData: AwesomeButtonThemeData {
258 | get { self[AwesomeButtonThemeDataKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:265:79: error: 'View' is only available in macOS 10.15 or newer
261 | }
262 |
263 | extension View {
| `- note: add '@available' attribute to enclosing extension
264 | /// Supplies direct-button style defaults to this view hierarchy.
265 | public func awesomeButtonTheme(_ themeData: AwesomeButtonThemeData) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
266 | environment(\.awesomeButtonThemeData, themeData)
267 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:263:11: error: 'View' is only available in macOS 10.15 or newer
261 | }
262 |
263 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
264 | /// Supplies direct-button style defaults to this view hierarchy.
265 | public func awesomeButtonTheme(_ themeData: AwesomeButtonThemeData) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:339:29: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
340 | /// The face color while pressed.
341 | public var backgroundActive: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:341:32: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
340 | /// The face color while pressed.
341 | public var backgroundActive: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
342 | /// The resting face color.
343 | public var backgroundColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:343:31: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
341 | public var backgroundActive: Color?
342 | /// The resting face color.
343 | public var backgroundColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
344 | /// The lower depth-layer color.
345 | public var backgroundDarker: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:345:32: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
343 | public var backgroundColor: Color?
344 | /// The lower depth-layer color.
345 | public var backgroundDarker: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
346 | /// The placeholder face color.
347 | public var backgroundPlaceholder: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:347:37: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
345 | public var backgroundDarker: Color?
346 | /// The placeholder face color.
347 | public var backgroundPlaceholder: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
348 | /// The progress face color.
349 | public var backgroundProgress: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:349:34: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
347 | public var backgroundPlaceholder: Color?
348 | /// The progress face color.
349 | public var backgroundProgress: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
350 | /// The ambient shadow color.
351 | public var backgroundShadow: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:351:32: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
349 | public var backgroundProgress: Color?
350 | /// The ambient shadow color.
351 | public var backgroundShadow: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
352 | /// The inset border color.
353 | public var borderColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:353:27: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
351 | public var backgroundShadow: Color?
352 | /// The inset border color.
353 | public var borderColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
354 | /// The fallback radius for corners without a physical override.
355 | public var borderRadius: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:377:25: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
375 | public var raiseLevel: CGFloat?
376 | /// The label and icon color.
377 | public var textColor: Color?
| `- error: 'Color' is only available in macOS 10.15 or newer
378 | /// The PostScript name of an optional custom label font.
379 | public var textFontFamily: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:399:23: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
397 | paddingTop: CGFloat? = nil,
398 | raiseLevel: CGFloat? = nil,
399 | backgroundActive: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
400 | backgroundColor: Color? = nil,
401 | backgroundDarker: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:400:22: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
398 | raiseLevel: CGFloat? = nil,
399 | backgroundActive: Color? = nil,
400 | backgroundColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
401 | backgroundDarker: Color? = nil,
402 | backgroundPlaceholder: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:401:23: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
399 | backgroundActive: Color? = nil,
400 | backgroundColor: Color? = nil,
401 | backgroundDarker: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
402 | backgroundPlaceholder: Color? = nil,
403 | backgroundProgress: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:402:28: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
400 | backgroundColor: Color? = nil,
401 | backgroundDarker: Color? = nil,
402 | backgroundPlaceholder: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
403 | backgroundProgress: Color? = nil,
404 | backgroundShadow: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:403:25: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
401 | backgroundDarker: Color? = nil,
402 | backgroundPlaceholder: Color? = nil,
403 | backgroundProgress: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
404 | backgroundShadow: Color? = nil,
405 | textColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:404:23: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
402 | backgroundPlaceholder: Color? = nil,
403 | backgroundProgress: Color? = nil,
404 | backgroundShadow: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
405 | textColor: Color? = nil,
406 | borderWidth: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:405:16: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
403 | backgroundProgress: Color? = nil,
404 | backgroundShadow: Color? = nil,
405 | textColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
406 | borderWidth: CGFloat? = nil,
407 | borderColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:407:18: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
405 | textColor: Color? = nil,
406 | borderWidth: CGFloat? = nil,
407 | borderColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
408 | activityColor: Color? = nil,
409 | textFontFamily: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:408:20: error: 'Color' is only available in macOS 10.15 or newer
335 |
336 | /// Sparse visual and geometry values stored by a theme variant.
337 | public struct ThemeButtonStyle: Sendable {
| `- note: add '@available' attribute to enclosing struct
338 | /// The spinner and progress-indicator color.
339 | public var activityColor: Color?
:
386 |
387 | /// Creates sparse theme values that participate in precedence resolution.
388 | public init(
| `- note: add '@available' attribute to enclosing initializer
389 | borderRadius: CGFloat? = nil,
390 | borderBottomLeftRadius: CGFloat? = nil,
:
406 | borderWidth: CGFloat? = nil,
407 | borderColor: Color? = nil,
408 | activityColor: Color? = nil,
| `- error: 'Color' is only available in macOS 10.15 or newer
409 | textFontFamily: String? = nil,
410 | textLineHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:502:26: error: 'Color' is only available in macOS 10.15 or newer
496 |
497 | /// A complete theme family containing variant and size records.
498 | public struct ThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
499 | /// The user-facing theme title.
500 | public var title: String
501 | /// The recommended showcase background color.
502 | public var background: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
503 | /// The recommended showcase foreground color.
504 | public var color: Color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:504:21: error: 'Color' is only available in macOS 10.15 or newer
496 |
497 | /// A complete theme family containing variant and size records.
498 | public struct ThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
499 | /// The user-facing theme title.
500 | public var title: String
:
502 | public var background: Color
503 | /// The recommended showcase foreground color.
504 | public var color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
505 | /// Variant-specific values keyed by semantic variant.
506 | public var buttons: [ButtonVariant: ThemeButtonStyle]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:513:17: error: 'Color' is only available in macOS 10.15 or newer
496 |
497 | /// A complete theme family containing variant and size records.
498 | public struct ThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
499 | /// The user-facing theme title.
500 | public var title: String
:
509 |
510 | /// Creates a complete theme family.
511 | public init(
| `- note: add '@available' attribute to enclosing initializer
512 | title: String,
513 | background: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
514 | color: Color,
515 | buttons: [ButtonVariant: ThemeButtonStyle],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:514:12: error: 'Color' is only available in macOS 10.15 or newer
496 |
497 | /// A complete theme family containing variant and size records.
498 | public struct ThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
499 | /// The user-facing theme title.
500 | public var title: String
:
509 |
510 | /// Creates a complete theme family.
511 | public init(
| `- note: add '@available' attribute to enclosing initializer
512 | title: String,
513 | background: Color,
514 | color: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
515 | buttons: [ButtonVariant: ThemeButtonStyle],
516 | size: [ButtonSize: ThemeSizeStyle]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:531:26: error: 'Color' is only available in macOS 10.15 or newer
525 |
526 | /// A theme family enriched with registry navigation metadata.
527 | public struct RegisteredThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
528 | /// The user-facing theme title.
529 | public var title: String
530 | /// The recommended showcase background color.
531 | public var background: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
532 | /// The recommended showcase foreground color.
533 | public var color: Color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:533:21: error: 'Color' is only available in macOS 10.15 or newer
525 |
526 | /// A theme family enriched with registry navigation metadata.
527 | public struct RegisteredThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
528 | /// The user-facing theme title.
529 | public var title: String
:
531 | public var background: Color
532 | /// The recommended showcase foreground color.
533 | public var color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
534 | /// Variant-specific theme values.
535 | public var buttons: [ButtonVariant: ThemeButtonStyle]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:548:17: error: 'Color' is only available in macOS 10.15 or newer
525 |
526 | /// A theme family enriched with registry navigation metadata.
527 | public struct RegisteredThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
528 | /// The user-facing theme title.
529 | public var title: String
:
544 |
545 | /// Creates a registry result with deterministic navigation metadata.
546 | public init(
| `- note: add '@available' attribute to enclosing initializer
547 | title: String,
548 | background: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
549 | color: Color,
550 | buttons: [ButtonVariant: ThemeButtonStyle],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:549:12: error: 'Color' is only available in macOS 10.15 or newer
525 |
526 | /// A theme family enriched with registry navigation metadata.
527 | public struct RegisteredThemeDefinition: Sendable {
| `- note: add '@available' attribute to enclosing struct
528 | /// The user-facing theme title.
529 | public var title: String
:
544 |
545 | /// Creates a registry result with deterministic navigation metadata.
546 | public init(
| `- note: add '@available' attribute to enclosing initializer
547 | title: String,
548 | background: Color,
549 | color: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
550 | buttons: [ButtonVariant: ThemeButtonStyle],
551 | size: [ButtonSize: ThemeSizeStyle],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:18:15: error: 'timingCurve(_:_:_:_:duration:)' is only available in macOS 10.15 or newer
5 |
6 | /// Curves available for press-down and direct style transitions.
7 | public enum AwesomeButtonAnimationCurve: String, CaseIterable, Sendable {
| `- note: add '@available' attribute to enclosing enum
8 | /// A cubic ease-out curve with a fast response and soft arrival.
9 | case easeOutCubic
:
13 | case linear
14 |
15 | internal var animation: Animation {
| `- note: add '@available' attribute to enclosing property
16 | switch self {
17 | case .easeOutCubic:
18 | return .timingCurve(0.33, 1, 0.68, 1, duration: 0.14)
| |- error: 'timingCurve(_:_:_:_:duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | case .easeOut:
20 | return .easeOut(duration: 0.14)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:20:15: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
5 |
6 | /// Curves available for press-down and direct style transitions.
7 | public enum AwesomeButtonAnimationCurve: String, CaseIterable, Sendable {
| `- note: add '@available' attribute to enclosing enum
8 | /// A cubic ease-out curve with a fast response and soft arrival.
9 | case easeOutCubic
:
13 | case linear
14 |
15 | internal var animation: Animation {
| `- note: add '@available' attribute to enclosing property
16 | switch self {
17 | case .easeOutCubic:
18 | return .timingCurve(0.33, 1, 0.68, 1, duration: 0.14)
19 | case .easeOut:
20 | return .easeOut(duration: 0.14)
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | case .linear:
22 | return .linear(duration: 0.14)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:22:15: error: 'linear(duration:)' is only available in macOS 10.15 or newer
5 |
6 | /// Curves available for press-down and direct style transitions.
7 | public enum AwesomeButtonAnimationCurve: String, CaseIterable, Sendable {
| `- note: add '@available' attribute to enclosing enum
8 | /// A cubic ease-out curve with a fast response and soft arrival.
9 | case easeOutCubic
:
13 | case linear
14 |
15 | internal var animation: Animation {
| `- note: add '@available' attribute to enclosing property
16 | switch self {
17 | case .easeOutCubic:
:
20 | return .easeOut(duration: 0.14)
21 | case .linear:
22 | return .linear(duration: 0.14)
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/Models.swift:266:5: error: 'environment' is only available in macOS 10.15 or newer
261 | }
262 |
263 | extension View {
| `- note: add '@available' attribute to enclosing extension
264 | /// Supplies direct-button style defaults to this view hierarchy.
265 | public func awesomeButtonTheme(_ themeData: AwesomeButtonThemeData) -> some View {
| `- note: add '@available' attribute to enclosing instance method
266 | environment(\.awesomeButtonThemeData, themeData)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
[32/34] Compiling SwiftAwesomeButton PlaceholderShimmer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:114:13: error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
115 | let height: CGFloat
116 | let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:118:18: error: 'View' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:5: error: 'GeometryReader' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:7: error: 'ZStack' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:128:9: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
126 |
127 | ZStack {
128 | Rectangle()
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
129 | .fill(tint)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:128:9: error: 'Rectangle' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
126 |
127 | ZStack {
128 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | .fill(tint)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:129:12: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
127 | ZStack {
128 | Rectangle()
129 | .fill(tint)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
130 |
131 | if canAnimate {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:11: error: 'TimelineView' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'TimelineView' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:11: error: 'init(_:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'init(_:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:25: error: 'animation' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'animation' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:36: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:36: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:13: error: 'ZStack' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:13: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:32: error: 'leading' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:145:17: error: 'Rectangle' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
143 | ZStack(alignment: .leading) {
144 | if segment.width > 0 {
145 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:20: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:25: error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:31: error: 'black' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:37: error: 'opacity' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:147:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | .offset(x: segment.leadingX)
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:148:20: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | }
150 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:144:36: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
142 |
143 | ZStack(alignment: .leading) {
144 | if segment.width > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:149:15: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
149 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | }
151 | .frame(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:41: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:151:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
149 | }
150 | }
151 | .frame(
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | width: placeholderWidth,
153 | height: placeholderHeight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:154:27: error: 'leading' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
152 | width: placeholderWidth,
153 | height: placeholderHeight,
154 | alignment: .leading
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | )
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:157:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
155 | )
156 | }
157 | .frame(width: placeholderWidth, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:131:23: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
129 | .fill(tint)
130 |
131 | if canAnimate {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
132 | TimelineView(.animation) { context in
133 | let phase = placeholderLoopPhase(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:158:9: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
156 | }
157 | .frame(width: placeholderWidth, height: placeholderHeight)
158 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:160:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
158 | }
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | .frame(maxWidth: .infinity, maxHeight: .infinity)
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:161:8: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
161 | .frame(maxWidth: .infinity, maxHeight: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:309:28: error: 'CADisplayLink' is only available in macOS 14.0 or newer
300 | }
301 |
302 | internal final class FrameTextTransitionController: TextTransitionControlling {
| `- note: add '@available' attribute to enclosing class
303 | private let timeline: TextTransitionTimeline
304 | private let fromText: String
:
307 | private let onComplete: (() -> Void)?
308 | private let random: () -> Double
309 | private var displayLink: CADisplayLink?
| `- error: 'CADisplayLink' is only available in macOS 14.0 or newer
310 | private var startTimestamp: CFTimeInterval?
311 | private var lastPublishedValue: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:382:40: error: 'CADisplayLink' is only available in macOS 14.0 or newer
377 | }
378 |
379 | private final class DisplayLinkProxy: NSObject {
| `- note: add '@available' attribute to enclosing class
380 | weak var controller: FrameTextTransitionController?
381 |
382 | @objc func handleTick(_ displayLink: CADisplayLink) {
| | `- error: 'CADisplayLink' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing instance method
383 | controller?.tick(timestamp: displayLink.timestamp)
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:338:23: error: 'CADisplayLink' is only available in macOS 14.0 or newer
300 | }
301 |
302 | internal final class FrameTextTransitionController: TextTransitionControlling {
| `- note: add '@available' attribute to enclosing class
303 | private let timeline: TextTransitionTimeline
304 | private let fromText: String
:
332 | }
333 |
334 | func start() {
| `- note: add '@available' attribute to enclosing instance method
335 | stop()
336 | startTimestamp = nil
337 | lastPublishedValue = nil
338 | let displayLink = CADisplayLink(
| |- error: 'CADisplayLink' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
339 | target: proxy, selector: #selector(DisplayLinkProxy.handleTick(_:)))
340 | displayLink.add(to: .main, forMode: .common)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:338:23: error: 'init(target:selector:)' is unavailable in macOS
336 | startTimestamp = nil
337 | lastPublishedValue = nil
338 | let displayLink = CADisplayLink(
| `- error: 'init(target:selector:)' is unavailable in macOS
339 | target: proxy, selector: #selector(DisplayLinkProxy.handleTick(_:)))
340 | displayLink.add(to: .main, forMode: .common)
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:32:1: note: 'init(target:selector:)' has been explicitly marked unavailable here
30 | * For macOS, see NSView/NSWindow/NSScreen.displayLink(withTarget:selector:). */
31 |
32 | + (CADisplayLink *)displayLinkWithTarget:(id)target selector:(SEL)sel
| `- note: 'init(target:selector:)' has been explicitly marked unavailable here
33 | API_UNAVAILABLE(macos);
34 |
[33/34] Compiling SwiftAwesomeButton ProgressTransition.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:114:13: error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
115 | let height: CGFloat
116 | let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:118:18: error: 'View' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:5: error: 'GeometryReader' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:7: error: 'ZStack' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:128:9: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
126 |
127 | ZStack {
128 | Rectangle()
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
129 | .fill(tint)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:128:9: error: 'Rectangle' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
126 |
127 | ZStack {
128 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | .fill(tint)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:129:12: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
127 | ZStack {
128 | Rectangle()
129 | .fill(tint)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
130 |
131 | if canAnimate {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:11: error: 'TimelineView' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'TimelineView' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:11: error: 'init(_:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'init(_:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:25: error: 'animation' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'animation' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:36: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:36: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:13: error: 'ZStack' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:13: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:32: error: 'leading' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:145:17: error: 'Rectangle' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
143 | ZStack(alignment: .leading) {
144 | if segment.width > 0 {
145 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:20: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:25: error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:31: error: 'black' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:37: error: 'opacity' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:147:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | .offset(x: segment.leadingX)
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:148:20: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | }
150 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:144:36: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
142 |
143 | ZStack(alignment: .leading) {
144 | if segment.width > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:149:15: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
149 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | }
151 | .frame(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:41: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:151:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
149 | }
150 | }
151 | .frame(
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | width: placeholderWidth,
153 | height: placeholderHeight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:154:27: error: 'leading' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
152 | width: placeholderWidth,
153 | height: placeholderHeight,
154 | alignment: .leading
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | )
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:157:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
155 | )
156 | }
157 | .frame(width: placeholderWidth, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:131:23: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
129 | .fill(tint)
130 |
131 | if canAnimate {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
132 | TimelineView(.animation) { context in
133 | let phase = placeholderLoopPhase(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:158:9: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
156 | }
157 | .frame(width: placeholderWidth, height: placeholderHeight)
158 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:160:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
158 | }
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | .frame(maxWidth: .infinity, maxHeight: .infinity)
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:161:8: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
161 | .frame(maxWidth: .infinity, maxHeight: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:309:28: error: 'CADisplayLink' is only available in macOS 14.0 or newer
300 | }
301 |
302 | internal final class FrameTextTransitionController: TextTransitionControlling {
| `- note: add '@available' attribute to enclosing class
303 | private let timeline: TextTransitionTimeline
304 | private let fromText: String
:
307 | private let onComplete: (() -> Void)?
308 | private let random: () -> Double
309 | private var displayLink: CADisplayLink?
| `- error: 'CADisplayLink' is only available in macOS 14.0 or newer
310 | private var startTimestamp: CFTimeInterval?
311 | private var lastPublishedValue: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:382:40: error: 'CADisplayLink' is only available in macOS 14.0 or newer
377 | }
378 |
379 | private final class DisplayLinkProxy: NSObject {
| `- note: add '@available' attribute to enclosing class
380 | weak var controller: FrameTextTransitionController?
381 |
382 | @objc func handleTick(_ displayLink: CADisplayLink) {
| | `- error: 'CADisplayLink' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing instance method
383 | controller?.tick(timestamp: displayLink.timestamp)
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:338:23: error: 'CADisplayLink' is only available in macOS 14.0 or newer
300 | }
301 |
302 | internal final class FrameTextTransitionController: TextTransitionControlling {
| `- note: add '@available' attribute to enclosing class
303 | private let timeline: TextTransitionTimeline
304 | private let fromText: String
:
332 | }
333 |
334 | func start() {
| `- note: add '@available' attribute to enclosing instance method
335 | stop()
336 | startTimestamp = nil
337 | lastPublishedValue = nil
338 | let displayLink = CADisplayLink(
| |- error: 'CADisplayLink' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
339 | target: proxy, selector: #selector(DisplayLinkProxy.handleTick(_:)))
340 | displayLink.add(to: .main, forMode: .common)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:338:23: error: 'init(target:selector:)' is unavailable in macOS
336 | startTimestamp = nil
337 | lastPublishedValue = nil
338 | let displayLink = CADisplayLink(
| `- error: 'init(target:selector:)' is unavailable in macOS
339 | target: proxy, selector: #selector(DisplayLinkProxy.handleTick(_:)))
340 | displayLink.add(to: .main, forMode: .common)
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:32:1: note: 'init(target:selector:)' has been explicitly marked unavailable here
30 | * For macOS, see NSView/NSWindow/NSScreen.displayLink(withTarget:selector:). */
31 |
32 | + (CADisplayLink *)displayLinkWithTarget:(id)target selector:(SEL)sel
| `- note: 'init(target:selector:)' has been explicitly marked unavailable here
33 | API_UNAVAILABLE(macos);
34 |
[34/34] Compiling SwiftAwesomeButton TextTransition.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:114:13: error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
115 | let height: CGFloat
116 | let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:118:18: error: 'View' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:5: error: 'GeometryReader' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:119:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
121 | let placeholderHeight = min(height, proxy.size.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:7: error: 'ZStack' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:128:9: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
126 |
127 | ZStack {
128 | Rectangle()
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
129 | .fill(tint)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:128:9: error: 'Rectangle' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
126 |
127 | ZStack {
128 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | .fill(tint)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:129:12: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
127 | ZStack {
128 | Rectangle()
129 | .fill(tint)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
130 |
131 | if canAnimate {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:11: error: 'TimelineView' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'TimelineView' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:11: error: 'init(_:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'init(_:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:25: error: 'animation' is only available in macOS 12.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- error: 'animation' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:36: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:132:36: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
130 |
131 | if canAnimate {
132 | TimelineView(.animation) { context in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
133 | let phase = placeholderLoopPhase(
134 | elapsed: context.date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:13: error: 'ZStack' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:13: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:32: error: 'leading' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:145:17: error: 'Rectangle' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
143 | ZStack(alignment: .leading) {
144 | if segment.width > 0 {
145 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:20: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:25: error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:31: error: 'black' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:146:37: error: 'opacity' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
144 | if segment.width > 0 {
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:147:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | .offset(x: segment.leadingX)
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:148:20: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
146 | .fill(Color.black.opacity(0.2))
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | }
150 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:144:36: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
142 |
143 | ZStack(alignment: .leading) {
144 | if segment.width > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | Rectangle()
146 | .fill(Color.black.opacity(0.2))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:149:15: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
147 | .frame(width: segment.width, height: placeholderHeight)
148 | .offset(x: segment.leadingX)
149 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | }
151 | .frame(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:143:41: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
141 | )
142 |
143 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
144 | if segment.width > 0 {
145 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:151:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
149 | }
150 | }
151 | .frame(
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | width: placeholderWidth,
153 | height: placeholderHeight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:154:27: error: 'leading' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
152 | width: placeholderWidth,
153 | height: placeholderHeight,
154 | alignment: .leading
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | )
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:157:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
155 | )
156 | }
157 | .frame(width: placeholderWidth, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:131:23: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
129 | .fill(tint)
130 |
131 | if canAnimate {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
132 | TimelineView(.animation) { context in
133 | let phase = placeholderLoopPhase(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:158:9: error: 'buildIf' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
156 | }
157 | .frame(width: placeholderWidth, height: placeholderHeight)
158 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:127:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
125 | )
126 |
127 | ZStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
128 | Rectangle()
129 | .fill(tint)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:160:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
158 | }
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | .frame(maxWidth: .infinity, maxHeight: .infinity)
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/PlaceholderShimmer.swift:161:8: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
111 | }
112 |
113 | internal struct PlaceholderFace: View {
| `- note: add '@available' attribute to enclosing struct
114 | let tint: Color
115 | let height: CGFloat
116 | let animated: Bool
117 |
118 | var body: some View {
| `- note: add '@available' attribute to enclosing property
119 | GeometryReader { proxy in
120 | let placeholderWidth = snappedPlaceholderMeasurementWidth(proxy.size.width * 0.55)
:
159 | }
160 | .frame(width: placeholderWidth, height: placeholderHeight)
161 | .frame(maxWidth: .infinity, maxHeight: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:309:28: error: 'CADisplayLink' is only available in macOS 14.0 or newer
300 | }
301 |
302 | internal final class FrameTextTransitionController: TextTransitionControlling {
| `- note: add '@available' attribute to enclosing class
303 | private let timeline: TextTransitionTimeline
304 | private let fromText: String
:
307 | private let onComplete: (() -> Void)?
308 | private let random: () -> Double
309 | private var displayLink: CADisplayLink?
| `- error: 'CADisplayLink' is only available in macOS 14.0 or newer
310 | private var startTimestamp: CFTimeInterval?
311 | private var lastPublishedValue: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:382:40: error: 'CADisplayLink' is only available in macOS 14.0 or newer
377 | }
378 |
379 | private final class DisplayLinkProxy: NSObject {
| `- note: add '@available' attribute to enclosing class
380 | weak var controller: FrameTextTransitionController?
381 |
382 | @objc func handleTick(_ displayLink: CADisplayLink) {
| | `- error: 'CADisplayLink' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing instance method
383 | controller?.tick(timestamp: displayLink.timestamp)
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:338:23: error: 'CADisplayLink' is only available in macOS 14.0 or newer
300 | }
301 |
302 | internal final class FrameTextTransitionController: TextTransitionControlling {
| `- note: add '@available' attribute to enclosing class
303 | private let timeline: TextTransitionTimeline
304 | private let fromText: String
:
332 | }
333 |
334 | func start() {
| `- note: add '@available' attribute to enclosing instance method
335 | stop()
336 | startTimestamp = nil
337 | lastPublishedValue = nil
338 | let displayLink = CADisplayLink(
| |- error: 'CADisplayLink' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
339 | target: proxy, selector: #selector(DisplayLinkProxy.handleTick(_:)))
340 | displayLink.add(to: .main, forMode: .common)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAwesomeButton/TextTransition.swift:338:23: error: 'init(target:selector:)' is unavailable in macOS
336 | startTimestamp = nil
337 | lastPublishedValue = nil
338 | let displayLink = CADisplayLink(
| `- error: 'init(target:selector:)' is unavailable in macOS
339 | target: proxy, selector: #selector(DisplayLinkProxy.handleTick(_:)))
340 | displayLink.add(to: .main, forMode: .common)
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:32:1: note: 'init(target:selector:)' has been explicitly marked unavailable here
30 | * For macOS, see NSView/NSWindow/NSScreen.displayLink(withTarget:selector:). */
31 |
32 | + (CADisplayLink *)displayLinkWithTarget:(id)target selector:(SEL)sel
| `- note: 'init(target:selector:)' has been explicitly marked unavailable here
33 | API_UNAVAILABLE(macos);
34 |
BUILD FAILURE 6.3 macosSpm