Build Information
Failed to build ProgressHUD, reference master (44e04c), with Swift 6.2 for macOS (SPM) on 10 Dec 2025 21:11:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | var path = Path()
94 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:93:14: error: 'Path' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add '@available' attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 |
95 | let h = head - floor(head)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:99:9: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add '@available' attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
:
97 |
98 | if h > t {
99 | path.addPath(basePath.trimmedPath(from: t, to: h))
| |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | } else {
101 | path.addPath(basePath.trimmedPath(from: t, to: 1.0))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:101:9: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add '@available' attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
:
99 | path.addPath(basePath.trimmedPath(from: t, to: h))
100 | } else {
101 | path.addPath(basePath.trimmedPath(from: t, to: 1.0))
| |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | path.addPath(basePath.trimmedPath(from: 0.0, to: h))
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:102:9: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add '@available' attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
:
100 | } else {
101 | path.addPath(basePath.trimmedPath(from: t, to: 1.0))
102 | path.addPath(basePath.trimmedPath(from: 0.0, to: h))
| |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | }
104 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: 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 offset0: CGSize = .zero
20 | @State private var offset1: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var offset0: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var offset1: CGSize = .zero
21 | @State private var offset2: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var offset0: CGSize = .zero
20 | @State private var offset1: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var offset2: CGSize = .zero
22 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var offset0: CGSize = .zero
20 | @State private var offset1: CGSize = .zero
21 | @State private var offset2: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
22 |
23 | private let duration: Double = 0.6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:26:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:34:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
32 | ZStack {
33 | Circle()
34 | .fill(hud.colorAnimation)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:61:4: error: setter for 'offset0' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
| |- error: setter for 'offset0' 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/TriangleDotShiftView.swift:64:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:65:4: error: setter for 'offset1' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
| |- error: setter for 'offset1' 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/TriangleDotShiftView.swift:68:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:69:4: error: setter for 'offset2' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add '@available' attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
| |- error: setter for 'offset2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 | }
[31/33] Compiling ProgressHUD CircleRippleSingleView.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/CircleRippleSingleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: 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 scale: CGFloat = 0.1
20 | @State private var opacity: Double = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var scale: CGFloat = 0.1
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var opacity: Double = 1
21 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var scale: CGFloat = 0.1
20 | @State private var opacity: Double = 1
| `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 | private let duration: Double = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:25:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(hud.colorAnimation, lineWidth: 5)
/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/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/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: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/CircleRippleSingleView.swift:27:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
25 | var body: some View {
26 | Circle()
27 | .stroke(hud.colorAnimation, lineWidth: 5)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | .scaleEffect(scale)
29 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:52: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:38:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
:
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
42 | opacity = 0
| |- error: setter for 'opacity' 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/CircleRotateChaseView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var isAnimating = false
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:21:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 |
20 | // MARK: - Body
21 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
22 | GeometryReader { geometry in
23 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:41:27: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
39 | .overlay(
40 | Circle()
41 | .fill(ProgressHUD.shared.colorAnimation)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
42 | .frame(width: dotSize, height: dotSize)
43 | .scaleEffect(isAnimating ? toScale : fromScale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: 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 trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var trimEnd: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var rotation: Double = 0
22 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
| `- 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/CircleStrokeSpinView.swift:22:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
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.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
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.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:27:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: 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 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:30:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(hud.colorAnimation, style: StrokeStyle(lineWidth: 3, lineCap: .round))
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | .rotationEffect(.degrees(rotation - 90))
32 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:18: error: 'linear(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:43:4: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
| |- error: setter for 'rotation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:48:5: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
48 | trimStart = 0
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | trimEnd = 0
50 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:49:5: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
47 | while !Task.isCancelled {
48 | trimStart = 0
49 | trimEnd = 0
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:52:6: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
52 | trimEnd = 0.75
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:59:6: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
59 | trimStart = 0.75
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[32/33] Compiling ProgressHUD CircleRotateChaseView.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/CircleRippleSingleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: 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 scale: CGFloat = 0.1
20 | @State private var opacity: Double = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var scale: CGFloat = 0.1
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var opacity: Double = 1
21 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var scale: CGFloat = 0.1
20 | @State private var opacity: Double = 1
| `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 | private let duration: Double = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:25:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(hud.colorAnimation, lineWidth: 5)
/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/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/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: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/CircleRippleSingleView.swift:27:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
25 | var body: some View {
26 | Circle()
27 | .stroke(hud.colorAnimation, lineWidth: 5)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | .scaleEffect(scale)
29 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:52: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:38:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
:
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
42 | opacity = 0
| |- error: setter for 'opacity' 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/CircleRotateChaseView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var isAnimating = false
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:21:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 |
20 | // MARK: - Body
21 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
22 | GeometryReader { geometry in
23 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:41:27: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
39 | .overlay(
40 | Circle()
41 | .fill(ProgressHUD.shared.colorAnimation)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
42 | .frame(width: dotSize, height: dotSize)
43 | .scaleEffect(isAnimating ? toScale : fromScale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: 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 trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var trimEnd: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var rotation: Double = 0
22 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
| `- 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/CircleStrokeSpinView.swift:22:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
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.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
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.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:27:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: 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 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:30:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(hud.colorAnimation, style: StrokeStyle(lineWidth: 3, lineCap: .round))
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | .rotationEffect(.degrees(rotation - 90))
32 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:18: error: 'linear(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:43:4: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
| |- error: setter for 'rotation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:48:5: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
48 | trimStart = 0
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | trimEnd = 0
50 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:49:5: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
47 | while !Task.isCancelled {
48 | trimStart = 0
49 | trimEnd = 0
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:52:6: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
52 | trimEnd = 0.75
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:59:6: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
59 | trimStart = 0.75
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[33/33] Compiling ProgressHUD CircleStrokeSpinView.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/CircleRippleSingleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: 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 scale: CGFloat = 0.1
20 | @State private var opacity: Double = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var scale: CGFloat = 0.1
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var opacity: Double = 1
21 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var scale: CGFloat = 0.1
20 | @State private var opacity: Double = 1
| `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 | private let duration: Double = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:25:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(hud.colorAnimation, lineWidth: 5)
/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/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/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: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/CircleRippleSingleView.swift:27:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
25 | var body: some View {
26 | Circle()
27 | .stroke(hud.colorAnimation, lineWidth: 5)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | .scaleEffect(scale)
29 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:52: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:38:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
:
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
42 | opacity = 0
| |- error: setter for 'opacity' 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/CircleRotateChaseView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var isAnimating = false
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:21:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 |
20 | // MARK: - Body
21 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
22 | GeometryReader { geometry in
23 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:41:27: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
39 | .overlay(
40 | Circle()
41 | .fill(ProgressHUD.shared.colorAnimation)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
42 | .frame(width: dotSize, height: dotSize)
43 | .scaleEffect(isAnimating ? toScale : fromScale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: 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 trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var trimEnd: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var rotation: Double = 0
22 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
| `- 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/CircleStrokeSpinView.swift:22:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
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.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
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.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:27:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: 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 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:30:12: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(hud.colorAnimation, style: StrokeStyle(lineWidth: 3, lineCap: .round))
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | .rotationEffect(.degrees(rotation - 90))
32 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:18: error: 'linear(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:43:4: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
| |- error: setter for 'rotation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:48:5: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
48 | trimStart = 0
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | trimEnd = 0
50 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:49:5: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
47 | while !Task.isCancelled {
48 | trimStart = 0
49 | trimEnd = 0
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:52:6: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
52 | trimEnd = 0.75
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:59:6: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
59 | trimStart = 0.75
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
BUILD FAILURE 6.2 macosSpm