Build Information
Failed to build ProgressHUD, reference master (e6f733), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 18:41:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
37 | scale = 0
38 | opacity = 1
39 |
40 | 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
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:41:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
41 | scale = 1
| |- error: setter for 'scale' 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/CirclePulseSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
:
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
41 | scale = 1
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/CircleRippleMultipleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleMultipleView
15 | struct CircleRippleMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let rippleCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleMultipleView
15 | struct CircleRippleMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | ZStack {
26 | ForEach(0..<rippleCount, id: \.self) { i in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:41:13: error: 'Color' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
40 | let duration: Double
41 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
42 |
43 | @State private var scale: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:43:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
41 | let color: Color
42 |
43 | @State private var scale: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:44:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
42 |
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
| `- error: 'State' is only available in macOS 10.15 or newer
45 | @State private var animationTask: Task<Void, Never>?
46 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:45:36: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
46 |
47 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:45:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
46 |
47 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:51:17: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:30:13: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | index: i,
29 | duration: duration,
30 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | )
32 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:52:3: error: 'Circle' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:53:5: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
54 | .scaleEffect(scale)
55 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:54:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | .opacity(opacity)
56 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:55:5: error: 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
55 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | .onAppear {
57 | animationTask = Task { @MainActor in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:56:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
55 | .opacity(opacity)
56 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:5: error: setter for 'animationTask' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:21: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:17: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:22: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:34: error: 'seconds' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:59:13: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0
61 | opacity = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:59:18: error: 'isCancelled' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0
61 | opacity = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:60:7: error: setter for 'scale' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
60 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | opacity = 1
62 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:61:7: error: setter for 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
59 | while !Task.isCancelled {
60 | scale = 0
61 | opacity = 1
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 |
63 | withAnimation(.easeOut(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:63:7: error: 'withAnimation' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
61 | opacity = 1
62 |
63 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scale = 1
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:63:22: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
61 | opacity = 1
62 |
63 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scale = 1
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:64:8: error: setter for 'scale' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
62 |
63 | withAnimation(.easeOut(duration: duration)) {
64 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:66:7: error: 'withAnimation' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
64 | scale = 1
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:66:22: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
64 | scale = 1
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:67:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
67 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:70:18: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'Task' 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/CircleRippleMultipleView.swift:70:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:70:35: error: 'seconds' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:74:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
72 | }
73 | }
74 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | animationTask?.cancel()
76 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:75:20: error: 'cancel()' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
73 | }
74 | .onDisappear {
75 | animationTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | }
77 | }
[32/33] Compiling ProgressHUD CirclePulseSingleView.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/CirclePulseMultipleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseMultipleView
15 | struct CirclePulseMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let pulseCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseMultipleView
15 | struct CirclePulseMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | GeometryReader { geometry in
26 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:47:13: error: 'Color' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
46 | let duration: Double
47 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
48 |
49 | @State private var scale: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:49:3: error: 'State' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
47 | let color: Color
48 |
49 | @State private var scale: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
50 | @State private var opacity: Double = 0
51 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:50:3: error: 'State' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
48 |
49 | @State private var scale: CGFloat = 0
50 | @State private var opacity: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
51 | @State private var animationTask: Task<Void, Never>?
52 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:51:36: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
49 | @State private var scale: CGFloat = 0
50 | @State private var opacity: Double = 0
51 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
52 |
53 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:51:3: error: 'State' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
49 | @State private var scale: CGFloat = 0
50 | @State private var opacity: Double = 0
51 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
52 |
53 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:57:17: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
/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/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/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift: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/CirclePulseMultipleView.swift:33:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | index: i,
32 | duration: duration,
33 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
34 | )
35 | .frame(width: size.width, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:58:3: error: 'Circle' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .fill(color)
60 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:59:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 | .scaleEffect(scale)
61 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:60:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
60 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .opacity(opacity)
62 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:61:5: error: 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
60 | .scaleEffect(scale)
61 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .onAppear {
63 | animationTask = Task { @MainActor in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:62:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
60 | .scaleEffect(scale)
61 | .opacity(opacity)
62 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:63:5: error: setter for 'animationTask' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
61 | .opacity(opacity)
62 | .onAppear {
63 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:63:21: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
61 | .opacity(opacity)
62 | .onAppear {
63 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:63:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
61 | .opacity(opacity)
62 | .onAppear {
63 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:64:17: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
62 | .onAppear {
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:64:22: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
62 | .onAppear {
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:64:34: error: 'seconds' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
62 | .onAppear {
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:65:13: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | scale = 0
67 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:65:18: error: 'isCancelled' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | scale = 0
67 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:66:7: error: setter for 'scale' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
66 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:67:7: error: setter for 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
65 | while !Task.isCancelled {
66 | scale = 0
67 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 |
69 | withAnimation(.linear(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:69:7: error: 'withAnimation' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
67 | opacity = 0
68 |
69 | withAnimation(.linear(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | scale = 1
71 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:69:22: error: 'linear(duration:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
67 | opacity = 0
68 |
69 | withAnimation(.linear(duration: duration)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | scale = 1
71 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:70:8: error: setter for 'scale' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
68 |
69 | withAnimation(.linear(duration: duration)) {
70 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:72:7: error: 'withAnimation' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
70 | scale = 1
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | opacity = 1
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:72:22: error: 'linear(duration:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
70 | scale = 1
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | opacity = 1
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:73:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
73 | opacity = 1
| |- error: setter for 'opacity' 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/CirclePulseMultipleView.swift:76:18: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
74 | }
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | if Task.isCancelled { break }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:76:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
74 | }
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | if Task.isCancelled { break }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:76:35: error: 'seconds' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
74 | }
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | if Task.isCancelled { break }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:77:10: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
77 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:77:15: error: 'isCancelled' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
77 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:79:7: error: 'withAnimation' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
77 | if Task.isCancelled { break }
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | opacity = 0
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:79:22: error: 'linear(duration:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
77 | if Task.isCancelled { break }
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | opacity = 0
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:80:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
80 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:83:18: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
81 | }
82 |
83 | try? await Task.sleep(for: .seconds(duration * 0.95))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:83:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
81 | }
82 |
83 | try? await Task.sleep(for: .seconds(duration * 0.95))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:83:35: error: 'seconds' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
81 | }
82 |
83 | try? await Task.sleep(for: .seconds(duration * 0.95))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:87:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
85 | }
86 | }
87 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | animationTask?.cancel()
89 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:88:20: error: 'cancel()' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
86 | }
87 | .onDisappear {
88 | animationTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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
20 | @State private var opacity: Double = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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
| `- 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/CirclePulseSingleView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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
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/CirclePulseSingleView.swift:25:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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 | .fill(hud.colorAnimation)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:27:10: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
25 | var body: some View {
26 | Circle()
27 | .fill(hud.colorAnimation)
| `- 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/CirclePulseSingleView.swift:37:3: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | opacity = 1
39 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:38:3: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:40:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:40:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | 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
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:40:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | 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
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:41:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
41 | scale = 1
| |- error: setter for 'scale' 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/CirclePulseSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
:
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
41 | scale = 1
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/CircleRippleMultipleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleMultipleView
15 | struct CircleRippleMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let rippleCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleMultipleView
15 | struct CircleRippleMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | ZStack {
26 | ForEach(0..<rippleCount, id: \.self) { i in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:41:13: error: 'Color' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
40 | let duration: Double
41 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
42 |
43 | @State private var scale: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:43:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
41 | let color: Color
42 |
43 | @State private var scale: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:44:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
42 |
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
| `- error: 'State' is only available in macOS 10.15 or newer
45 | @State private var animationTask: Task<Void, Never>?
46 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:45:36: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
46 |
47 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:45:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
46 |
47 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:51:17: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:30:13: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | index: i,
29 | duration: duration,
30 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | )
32 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:52:3: error: 'Circle' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:53:5: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
54 | .scaleEffect(scale)
55 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:54:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | .opacity(opacity)
56 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:55:5: error: 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
55 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | .onAppear {
57 | animationTask = Task { @MainActor in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:56:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
55 | .opacity(opacity)
56 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:5: error: setter for 'animationTask' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:21: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:17: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:22: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:34: error: 'seconds' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:59:13: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0
61 | opacity = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:59:18: error: 'isCancelled' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0
61 | opacity = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:60:7: error: setter for 'scale' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
60 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | opacity = 1
62 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:61:7: error: setter for 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
59 | while !Task.isCancelled {
60 | scale = 0
61 | opacity = 1
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 |
63 | withAnimation(.easeOut(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:63:7: error: 'withAnimation' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
61 | opacity = 1
62 |
63 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scale = 1
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:63:22: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
61 | opacity = 1
62 |
63 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scale = 1
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:64:8: error: setter for 'scale' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
62 |
63 | withAnimation(.easeOut(duration: duration)) {
64 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:66:7: error: 'withAnimation' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
64 | scale = 1
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:66:22: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
64 | scale = 1
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:67:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
67 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:70:18: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'Task' 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/CircleRippleMultipleView.swift:70:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:70:35: error: 'seconds' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:74:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
72 | }
73 | }
74 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | animationTask?.cancel()
76 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:75:20: error: 'cancel()' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
73 | }
74 | .onDisappear {
75 | animationTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | }
77 | }
[33/33] Compiling ProgressHUD CircleRippleMultipleView.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/CirclePulseMultipleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseMultipleView
15 | struct CirclePulseMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let pulseCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseMultipleView
15 | struct CirclePulseMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | GeometryReader { geometry in
26 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:47:13: error: 'Color' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
46 | let duration: Double
47 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
48 |
49 | @State private var scale: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:49:3: error: 'State' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
47 | let color: Color
48 |
49 | @State private var scale: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
50 | @State private var opacity: Double = 0
51 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:50:3: error: 'State' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
48 |
49 | @State private var scale: CGFloat = 0
50 | @State private var opacity: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
51 | @State private var animationTask: Task<Void, Never>?
52 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:51:36: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
49 | @State private var scale: CGFloat = 0
50 | @State private var opacity: Double = 0
51 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
52 |
53 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:51:3: error: 'State' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
49 | @State private var scale: CGFloat = 0
50 | @State private var opacity: Double = 0
51 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
52 |
53 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:57:17: error: 'View' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
/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/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/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift: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/CirclePulseMultipleView.swift:33:14: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | index: i,
32 | duration: duration,
33 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
34 | )
35 | .frame(width: size.width, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:58:3: error: 'Circle' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .fill(color)
60 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:59:5: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
60 | .scaleEffect(scale)
61 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:60:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
60 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .opacity(opacity)
62 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:61:5: error: 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
60 | .scaleEffect(scale)
61 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .onAppear {
63 | animationTask = Task { @MainActor in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:62:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
60 | .scaleEffect(scale)
61 | .opacity(opacity)
62 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:63:5: error: setter for 'animationTask' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
61 | .opacity(opacity)
62 | .onAppear {
63 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:63:21: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
61 | .opacity(opacity)
62 | .onAppear {
63 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:63:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
61 | .opacity(opacity)
62 | .onAppear {
63 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:64:17: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
62 | .onAppear {
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:64:22: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
62 | .onAppear {
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:64:34: error: 'seconds' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
62 | .onAppear {
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
65 | while !Task.isCancelled {
66 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:65:13: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | scale = 0
67 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:65:18: error: 'isCancelled' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
63 | animationTask = Task { @MainActor in
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | scale = 0
67 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:66:7: error: setter for 'scale' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
64 | try? await Task.sleep(for: .seconds(delay))
65 | while !Task.isCancelled {
66 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:67:7: error: setter for 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
65 | while !Task.isCancelled {
66 | scale = 0
67 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 |
69 | withAnimation(.linear(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:69:7: error: 'withAnimation' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
67 | opacity = 0
68 |
69 | withAnimation(.linear(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | scale = 1
71 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:69:22: error: 'linear(duration:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
67 | opacity = 0
68 |
69 | withAnimation(.linear(duration: duration)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | scale = 1
71 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:70:8: error: setter for 'scale' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
68 |
69 | withAnimation(.linear(duration: duration)) {
70 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:72:7: error: 'withAnimation' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
70 | scale = 1
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | opacity = 1
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:72:22: error: 'linear(duration:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
70 | scale = 1
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | opacity = 1
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:73:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
71 | }
72 | withAnimation(.linear(duration: duration * 0.05)) {
73 | opacity = 1
| |- error: setter for 'opacity' 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/CirclePulseMultipleView.swift:76:18: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
74 | }
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | if Task.isCancelled { break }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:76:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
74 | }
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | if Task.isCancelled { break }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:76:35: error: 'seconds' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
74 | }
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | if Task.isCancelled { break }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:77:10: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
77 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:77:15: error: 'isCancelled' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
75 |
76 | try? await Task.sleep(for: .seconds(duration * 0.05))
77 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:79:7: error: 'withAnimation' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
77 | if Task.isCancelled { break }
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | opacity = 0
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:79:22: error: 'linear(duration:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
77 | if Task.isCancelled { break }
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | opacity = 0
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:80:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
78 |
79 | withAnimation(.linear(duration: duration * 0.95)) {
80 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:83:18: error: 'Task' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
81 | }
82 |
83 | try? await Task.sleep(for: .seconds(duration * 0.95))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:83:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
81 | }
82 |
83 | try? await Task.sleep(for: .seconds(duration * 0.95))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:83:35: error: 'seconds' is only available in macOS 13.0 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
81 | }
82 |
83 | try? await Task.sleep(for: .seconds(duration * 0.95))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:87:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
85 | }
86 | }
87 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | animationTask?.cancel()
89 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:88:20: error: 'cancel()' is only available in macOS 10.15 or newer
41 | }
42 |
43 | private struct PulseCircle: View {
| `- note: add '@available' attribute to enclosing struct
44 |
45 | let index: Int
:
55 | }
56 |
57 | var body: some View {
| `- note: add '@available' attribute to enclosing property
58 | Circle()
59 | .fill(color)
:
86 | }
87 | .onDisappear {
88 | animationTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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
20 | @State private var opacity: Double = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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
| `- 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/CirclePulseSingleView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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
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/CirclePulseSingleView.swift:25:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: 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 | .fill(hud.colorAnimation)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:27:10: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
25 | var body: some View {
26 | Circle()
27 | .fill(hud.colorAnimation)
| `- 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/CirclePulseSingleView.swift:37:3: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | opacity = 1
39 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:38:3: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:40:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:40:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | 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
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:40:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | 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
41 | scale = 1
42 | opacity = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:41:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
39 |
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
41 | scale = 1
| |- error: setter for 'scale' 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/CirclePulseSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CirclePulseSingleView
15 | struct CirclePulseSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startPulse() {
| `- note: add '@available' attribute to enclosing instance method
37 | scale = 0
38 | opacity = 1
:
40 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
41 | scale = 1
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/CircleRippleMultipleView.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleMultipleView
15 | struct CircleRippleMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let rippleCount = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleMultipleView
15 | struct CircleRippleMultipleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
25 | ZStack {
26 | ForEach(0..<rippleCount, id: \.self) { i in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:41:13: error: 'Color' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
40 | let duration: Double
41 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
42 |
43 | @State private var scale: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:43:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
41 | let color: Color
42 |
43 | @State private var scale: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:44:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
42 |
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
| `- error: 'State' is only available in macOS 10.15 or newer
45 | @State private var animationTask: Task<Void, Never>?
46 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:45:36: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
46 |
47 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:45:3: error: 'State' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
43 | @State private var scale: CGFloat = 0
44 | @State private var opacity: Double = 1
45 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
46 |
47 | private var delay: Double {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:51:17: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:30:13: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
28 | index: i,
29 | duration: duration,
30 | color: hud.colorAnimation
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
31 | )
32 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:52:3: error: 'Circle' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:53:5: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
54 | .scaleEffect(scale)
55 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:54:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | .opacity(opacity)
56 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:55:5: error: 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
55 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | .onAppear {
57 | animationTask = Task { @MainActor in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:56:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
54 | .scaleEffect(scale)
55 | .opacity(opacity)
56 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:5: error: setter for 'animationTask' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:21: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:57:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
55 | .opacity(opacity)
56 | .onAppear {
57 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:17: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:22: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:58:34: error: 'seconds' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
56 | .onAppear {
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
59 | while !Task.isCancelled {
60 | scale = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:59:13: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0
61 | opacity = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:59:18: error: 'isCancelled' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
57 | animationTask = Task { @MainActor in
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0
61 | opacity = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:60:7: error: setter for 'scale' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
58 | try? await Task.sleep(for: .seconds(delay))
59 | while !Task.isCancelled {
60 | scale = 0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | opacity = 1
62 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:61:7: error: setter for 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
59 | while !Task.isCancelled {
60 | scale = 0
61 | opacity = 1
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 |
63 | withAnimation(.easeOut(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:63:7: error: 'withAnimation' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
61 | opacity = 1
62 |
63 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scale = 1
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:63:22: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
61 | opacity = 1
62 |
63 | withAnimation(.easeOut(duration: duration)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | scale = 1
65 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:64:8: error: setter for 'scale' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
62 |
63 | withAnimation(.easeOut(duration: duration)) {
64 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:66:7: error: 'withAnimation' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
64 | scale = 1
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:66:22: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
64 | scale = 1
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | opacity = 0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:67:8: error: setter for 'opacity' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
65 | }
66 | withAnimation(.easeIn(duration: duration)) {
67 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:70:18: error: 'Task' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'Task' 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/CircleRippleMultipleView.swift:70:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:70:35: error: 'seconds' is only available in macOS 13.0 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
68 | }
69 |
70 | try? await Task.sleep(for: .seconds(duration))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:74:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
72 | }
73 | }
74 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | animationTask?.cancel()
76 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:75:20: error: 'cancel()' is only available in macOS 10.15 or newer
35 | }
36 |
37 | private struct RippleCircle: View {
| `- note: add '@available' attribute to enclosing struct
38 |
39 | let index: Int
:
49 | }
50 |
51 | var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | Circle()
53 | .stroke(color, lineWidth: 5)
:
73 | }
74 | .onDisappear {
75 | animationTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | }
77 | }
BUILD FAILURE 6.3 macosSpm