Build Information
Failed to build ProgressHUD, reference 15.0.1 (44e04c), with Swift 6.2 for macOS (SPM) on 10 Dec 2025 21:09:04 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
93 | #Preview {
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:36: error: cannot find 'UIColor' in scope
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
| `- error: cannot find 'UIColor' in scope
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:36:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
34 | ZStack {
35 | Circle()
36 | .stroke(hud.colorAnimation, lineWidth: lineWidth)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
37 | .frame(width: radius * 2 - lineWidth, height: radius * 2 - lineWidth)
38 | .offset(x: -moveDistance / 2 + hollowOffset)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:59:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:59:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:59:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:60:4: error: setter for 'hollowOffset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
| |- error: setter for 'hollowOffset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | filledOffset = -moveDistance
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:61:4: error: setter for 'filledOffset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
| |- error: setter for 'filledOffset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:64:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
62 | }
63 |
64 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:64:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
62 | }
63 |
64 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:64:19: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
62 | }
63 |
64 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:65:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
63 |
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:65:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
63 |
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:66:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:66:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:66:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:67:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | hollowOnTop.toggle()
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:67:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | hollowOnTop.toggle()
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:68:5: error: cannot pass as inout because setter for 'hollowOnTop' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
| |- error: cannot pass as inout because setter for 'hollowOnTop' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalBarScalingView
15 | struct HorizontalBarScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let barCount = 5
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalBarScalingView
15 | struct HorizontalBarScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | GeometryReader { geometry in
26 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:48:13: error: 'Color' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
47 | let duration: Double
48 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
49 |
50 | @State private var scaleY: CGFloat = 0.9
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:50:3: error: 'State' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
48 | let color: Color
49 |
50 | @State private var scaleY: CGFloat = 0.9
| `- error: 'State' is only available in macOS 10.15 or newer
51 |
52 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:57:17: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:34:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
32 | index: i,
33 | duration: duration,
34 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
35 | )
36 | .frame(width: barWidth, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:58:3: error: 'Capsule' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
| |- error: 'Capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:59:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 | .scaleEffect(y: scaleY)
61 | .task {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:60:5: error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
| |- error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:61:5: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
| |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:63:5: error: 'withAnimation' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scaleY = 0.4
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:63:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scaleY = 0.4
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:63:54: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scaleY = 0.4
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:64:6: error: setter for 'scaleY' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
| |- error: setter for 'scaleY' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalDotScalingView
15 | struct HorizontalDotScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let dotCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalDotScalingView
15 | struct HorizontalDotScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | GeometryReader { geometry in
26 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:49:13: error: 'Color' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
48 | let duration: Double
49 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
50 |
51 | @State private var scale: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:51:3: error: 'State' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
49 | let color: Color
50 |
51 | @State private var scale: CGFloat = 1
| `- error: 'State' is only available in macOS 10.15 or newer
52 |
53 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:58:17: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:35:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
33 | index: i,
34 | duration: duration,
35 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
36 | )
37 | .frame(width: dotSize, height: dotSize)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:59:3: error: 'Circle' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .fill(color)
61 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:60:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
61 | .scaleEffect(scale)
62 | .task {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:61:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:62:5: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
| |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:63:16: error: 'Task' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:63:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:63:33: error: 'seconds' is only available in macOS 13.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:64:5: error: 'withAnimation' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | scale = 0.3
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:64:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | scale = 0.3
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:64:54: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | scale = 0.3
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:65:6: error: setter for 'scale' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
[31/33] Compiling ProgressHUD HorizontalDotScalingView.swift
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:24:2: error: 'Observable()' is only available in macOS 14.0 or newer
22 |
23 | // MARK: - ProgressHUD
24 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
25 | public class ProgressHUD {
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 | @State private var hollowOffset: CGFloat = 0
20 | @State private var filledOffset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var hollowOffset: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var filledOffset: CGFloat = 0
21 | @State private var hollowOnTop = false
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var hollowOffset: CGFloat = 0
20 | @State private var filledOffset: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var hollowOnTop = false
22 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var hollowOffset: CGFloat = 0
20 | @State private var filledOffset: CGFloat = 0
21 | @State private var hollowOnTop = false
| `- error: 'State' is only available in macOS 10.15 or newer
22 | @State private var animationTask: Task<Void, Never>?
23 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:22:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var filledOffset: CGFloat = 0
21 | @State private var hollowOnTop = false
22 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
23 |
24 | private let duration: Double = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var filledOffset: CGFloat = 0
21 | @State private var hollowOnTop = false
22 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
23 |
24 | private let duration: Double = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:27:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
28 | GeometryReader { geometry in
29 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/ActivityIndicatorView.swift:29:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
27 | }
28 |
29 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
30 | ActivityIndicatorView()
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:127:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | }
126 |
127 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:129:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
127 | #Preview {
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:126:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
124 | #Preview {
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:78:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
76 | #Preview {
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:77:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | }
76 |
77 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:79:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
77 | #Preview {
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:79:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:81:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
79 | #Preview {
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:93:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
91 | }
92 |
93 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:95:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
93 | #Preview {
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:36: error: cannot find 'UIColor' in scope
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
| `- error: cannot find 'UIColor' in scope
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:36:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
34 | ZStack {
35 | Circle()
36 | .stroke(hud.colorAnimation, lineWidth: lineWidth)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
37 | .frame(width: radius * 2 - lineWidth, height: radius * 2 - lineWidth)
38 | .offset(x: -moveDistance / 2 + hollowOffset)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:59:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:59:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:59:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:60:4: error: setter for 'hollowOffset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
| |- error: setter for 'hollowOffset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | filledOffset = -moveDistance
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:61:4: error: setter for 'filledOffset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
61 | filledOffset = -moveDistance
| |- error: setter for 'filledOffset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:64:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
62 | }
63 |
64 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:64:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
62 | }
63 |
64 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:64:19: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
62 | }
63 |
64 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:65:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
63 |
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:65:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
63 |
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:66:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:66:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:66:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
64 | animationTask = Task { @MainActor in
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:67:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | hollowOnTop.toggle()
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:67:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
65 | while !Task.isCancelled {
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | hollowOnTop.toggle()
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:68:5: error: cannot pass as inout because setter for 'hollowOnTop' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - DualDotSidestepView
15 | struct DualDotSidestepView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
56 |
57 | // MARK: - Private Methods
58 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
59 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: true)) {
60 | hollowOffset = moveDistance
:
66 | try? await Task.sleep(for: .seconds(duration))
67 | if Task.isCancelled { break }
68 | hollowOnTop.toggle()
| |- error: cannot pass as inout because setter for 'hollowOnTop' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalBarScalingView
15 | struct HorizontalBarScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let barCount = 5
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalBarScalingView
15 | struct HorizontalBarScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | GeometryReader { geometry in
26 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:48:13: error: 'Color' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
47 | let duration: Double
48 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
49 |
50 | @State private var scaleY: CGFloat = 0.9
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:50:3: error: 'State' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
48 | let color: Color
49 |
50 | @State private var scaleY: CGFloat = 0.9
| `- error: 'State' is only available in macOS 10.15 or newer
51 |
52 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:57:17: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:34:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
32 | index: i,
33 | duration: duration,
34 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
35 | )
36 | .frame(width: barWidth, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:58:3: error: 'Capsule' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
| |- error: 'Capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:59:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 | .scaleEffect(y: scaleY)
61 | .task {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:60:5: error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
| |- error: 'scaleEffect(x:y:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:61:5: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
| |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
60 | .scaleEffect(y: scaleY)
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:63:5: error: 'withAnimation' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scaleY = 0.4
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:63:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scaleY = 0.4
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:63:54: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
61 | .task {
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scaleY = 0.4
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:64:6: error: setter for 'scaleY' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct ScalingBar: View {
| `- note: add '@available' attribute to enclosing struct
45 |
46 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Capsule()
59 | .fill(color)
:
62 | try? await Task.sleep(for: .seconds(delay))
63 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
64 | scaleY = 0.4
| |- error: setter for 'scaleY' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalDotScalingView
15 | struct HorizontalDotScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let dotCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - HorizontalDotScalingView
15 | struct HorizontalDotScalingView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | GeometryReader { geometry in
26 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:49:13: error: 'Color' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
48 | let duration: Double
49 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
50 |
51 | @State private var scale: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:51:3: error: 'State' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
49 | let color: Color
50 |
51 | @State private var scale: CGFloat = 1
| `- error: 'State' is only available in macOS 10.15 or newer
52 |
53 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:58:17: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:35:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
33 | index: i,
34 | duration: duration,
35 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
36 | )
37 | .frame(width: dotSize, height: dotSize)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:59:3: error: 'Circle' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .fill(color)
61 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:60:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
61 | .scaleEffect(scale)
62 | .task {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:61:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:62:5: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
| |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:63:16: error: 'Task' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:63:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:63:33: error: 'seconds' is only available in macOS 13.0 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
61 | .scaleEffect(scale)
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:64:5: error: 'withAnimation' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | scale = 0.3
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:64:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | scale = 0.3
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:64:54: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
62 | .task {
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | scale = 0.3
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:65:6: error: setter for 'scale' is only available in macOS 10.15 or newer
43 | }
44 |
45 | private struct ScalingDot: View {
| `- note: add '@available' attribute to enclosing struct
46 |
47 | let index: Int
:
56 | }
57 |
58 | var body: some View {
| `- note: add '@available' attribute to enclosing property
59 | Circle()
60 | .fill(color)
:
63 | try? await Task.sleep(for: .seconds(delay))
64 | withAnimation(.easeInOut(duration: duration / 2).repeatForever(autoreverses: true)) {
65 | scale = 0.3
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
[32/33] Compiling ProgressHUD ProgressView.swift
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:19:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let progress: CGFloat
19 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:22:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/ActivityIndicatorView.swift:29:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
27 | }
28 |
29 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
30 | ActivityIndicatorView()
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:127:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | }
126 |
127 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:129:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
127 | #Preview {
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:126:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
124 | #Preview {
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:78:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
76 | #Preview {
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:77:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | }
76 |
77 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:79:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
77 | #Preview {
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:79:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:81:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
79 | #Preview {
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:93:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
91 | }
92 |
93 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:95:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
93 | #Preview {
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:3: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- 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
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:6: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:19: error: 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:27:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
27 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:28:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
26 |
27 | Circle()
28 | .trim(from: 0, to: progress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:30:6: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 |
32 | Text("\(Int(progress * 100))%")
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- warning: conformance of 'Text' 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
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: error: 'Text' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:6: error: 'font' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:12: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:34:6: error: 'foregroundStyle' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Text' 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:4: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:15: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
[33/33] Compiling ProgressHUD resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:19:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let progress: CGFloat
19 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:22:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/ActivityIndicatorView.swift:29:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
27 | }
28 |
29 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
30 | ActivityIndicatorView()
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:127:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | }
126 |
127 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:129:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
127 | #Preview {
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:126:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
124 | #Preview {
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:78:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
76 | #Preview {
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:77:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | }
76 |
77 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:79:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
77 | #Preview {
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:79:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:81:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
79 | #Preview {
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:93:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
91 | }
92 |
93 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:95:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
93 | #Preview {
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:3: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- 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
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:6: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:19: error: 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:27:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
27 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:28:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
26 |
27 | Circle()
28 | .trim(from: 0, to: progress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:30:6: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 |
32 | Text("\(Int(progress * 100))%")
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- warning: conformance of 'Text' 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
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: error: 'Text' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:6: error: 'font' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:12: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:34:6: error: 'foregroundStyle' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: 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
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Text' 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
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:4: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:15: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
BUILD FAILURE 6.2 macosSpm