Build Information
Failed to build ProgressHUD, reference 15.0.1 (44e04c), with Swift 6.1 for macOS (SPM) on 10 Dec 2025 21:12:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
58 | let length = geometry.size.width
59 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:4: error: 'ZStack' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:60:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
60 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:60:5: error: 'Path' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
60 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:61:11: error: 'move(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
63 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:62:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .trim(from: 0, to: progress1)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:64:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
63 | }
64 | .trim(from: 0, to: progress1)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
66 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:65:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
63 | }
64 | .trim(from: 0, to: progress1)
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
66 |
67 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:65:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
63 | }
64 | .trim(from: 0, to: progress1)
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:67:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
66 |
67 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:67:5: error: 'Path' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
66 |
67 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:68:11: error: 'move(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
66 |
67 | Path { path in
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:69:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
67 | Path { path in
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 | .trim(from: 0, to: progress2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:71:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
70 | }
71 | .trim(from: 0, to: progress2)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
73 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:72:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
70 | }
71 | .trim(from: 0, to: progress2)
72 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:72:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
70 | }
71 | .trim(from: 0, to: progress2)
72 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' 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/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:75:4: error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
73 | }
74 | }
75 | .task(id: animationID) {
| |- error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
76 | progress1 = 0
77 | progress2 = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:76:4: error: setter for 'progress1' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
74 | }
75 | .task(id: animationID) {
76 | progress1 = 0
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:77:4: error: setter for 'progress2' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
75 | .task(id: animationID) {
76 | progress1 = 0
77 | progress2 = 0
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:78:15: error: 'Task' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
76 | progress1 = 0
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:78:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
76 | progress1 = 0
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:78:32: error: 'milliseconds' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
76 | progress1 = 0
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:79:4: error: 'withAnimation' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | progress1 = 1
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:79:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | progress1 = 1
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:80:5: error: setter for 'progress1' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:82:15: error: 'Task' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
80 | progress1 = 1
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:82:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
80 | progress1 = 1
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:82:32: error: 'milliseconds' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
80 | progress1 = 1
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:83:4: error: 'withAnimation' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
83 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | progress2 = 1
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:83:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
83 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | progress2 = 1
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:84:5: error: setter for 'progress2' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
82 | try? await Task.sleep(for: .milliseconds(150))
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:102:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | let length = geometry.size.width
104 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:102:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
103 | let length = geometry.size.width
104 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:102:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
103 | let length = geometry.size.width
104 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:4: error: 'ZStack' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:105:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
105 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:105:5: error: 'Path' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
105 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:106:11: error: 'move(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
108 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:107:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | }
109 | .trim(from: 0, to: progress1)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:109:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
108 | }
109 | .trim(from: 0, to: progress1)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
111 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:110:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
108 | }
109 | .trim(from: 0, to: progress1)
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
111 |
112 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:110:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
108 | }
109 | .trim(from: 0, to: progress1)
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 |
112 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:112:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
111 |
112 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:112:5: error: 'Path' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
111 |
112 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:113:11: error: 'move(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
111 |
112 | Path { path in
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
115 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:114:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
112 | Path { path in
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | }
116 | .trim(from: 0, to: progress2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:116:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
115 | }
116 | .trim(from: 0, to: progress2)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
118 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:117:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
115 | }
116 | .trim(from: 0, to: progress2)
117 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:117:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
115 | }
116 | .trim(from: 0, to: progress2)
117 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:120:4: error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
118 | }
119 | }
120 | .task(id: animationID) {
| |- error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
121 | progress1 = 0
122 | progress2 = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:121:4: error: setter for 'progress1' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
119 | }
120 | .task(id: animationID) {
121 | progress1 = 0
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:122:4: error: setter for 'progress2' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
120 | .task(id: animationID) {
121 | progress1 = 0
122 | progress2 = 0
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:123:15: error: 'Task' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
121 | progress1 = 0
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:123:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
121 | progress1 = 0
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:123:32: error: 'milliseconds' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
121 | progress1 = 0
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:124:4: error: 'withAnimation' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | progress1 = 1
126 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:124:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | progress1 = 1
126 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:125:5: error: setter for 'progress1' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:127:15: error: 'Task' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
125 | progress1 = 1
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:127:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
125 | progress1 = 1
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:127:32: error: 'milliseconds' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
125 | progress1 = 1
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:128:4: error: 'withAnimation' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
128 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | progress2 = 1
130 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:128:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
128 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | progress2 = 1
130 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:129:5: error: setter for 'progress2' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
127 | try? await Task.sleep(for: .milliseconds(150))
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 | }
[30/30] Compiling ProgressHUD ProgressHUD+LiveIcon.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/ProgressHUD+Banner.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: 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 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:24:24: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:37:34: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
35 |
36 | // MARK: - Private Views
37 | private var bannerContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
38 | VStack(alignment: .leading, spacing: 4) {
39 | if let title = hud.bannerTitle, !title.isEmpty {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:73:45: error: 'View' is only available in macOS 10.15 or newer
68 |
69 | // MARK: - ProgressBannerModifier
70 | public struct ProgressBannerModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
71 |
72 | // MARK: - Body
73 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
74 | content.overlay(alignment: .top) {
75 | ProgressBannerView()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:83:32: error: 'View' is only available in macOS 10.15 or newer
79 |
80 | // MARK: - View Extension
81 | public extension View {
| `- note: add @available attribute to enclosing extension
82 |
83 | func progressBanner() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
84 | modifier(ProgressBannerModifier())
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:81:18: error: 'View' is only available in macOS 10.15 or newer
79 |
80 | // MARK: - View Extension
81 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
82 |
83 | func progressBanner() -> some View {
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:42:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
40 | var staticImageColor: Color?
41 |
42 | var bannerVisible = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
43 | var bannerTitle: String?
44 | var bannerMessage: String?
/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 {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:26:4: error: 'VStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | bannerContent
28 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:28:7: error: 'padding' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
27 | bannerContent
28 | .padding(.horizontal, 16)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .padding(.top, 8)
30 | Spacer()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:29:7: error: 'padding' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
27 | bannerContent
28 | .padding(.horizontal, 16)
29 | .padding(.top, 8)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Spacer()
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:30:5: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
28 | .padding(.horizontal, 16)
29 | .padding(.top, 8)
30 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:30:5: error: 'Spacer' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
28 | .padding(.horizontal, 16)
29 | .padding(.top, 8)
30 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:26:11: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
27 | bannerContent
28 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:32:5: error: 'transition' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
30 | Spacer()
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:32:17: error: 'move(edge:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
30 | Spacer()
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
| |- error: 'move(edge:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:32:34: error: 'combined(with:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
30 | Spacer()
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
| |- error: 'combined(with:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:32:50: error: 'opacity' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
30 | Spacer()
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
| |- error: 'opacity' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:25:24: error: 'buildIf' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | VStack {
27 | bannerContent
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:33:3: error: 'buildIf' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
:
31 | }
32 | .transition(.move(edge: .top).combined(with: .opacity))
33 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:24:29: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressBannerView
15 | public struct ProgressBannerView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | public var body: some View {
| | |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
25 | if hud.bannerVisible {
26 | VStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:27: error: 'Color' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:33: error: 'clear' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
| | `- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:43:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
41 |
42 | var bannerVisible = false
43 | var bannerTitle: String?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:31: error: 'Font' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:38: error: cannot find 'UIColor' in scope
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
| `- error: cannot find 'UIColor' in scope
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:42:23: error: static member 'colorBannerTitle' cannot be used on instance of type 'ProgressHUD'
40 | Text(title)
41 | .font(hud.fontBannerTitle)
42 | .foregroundStyle(hud.colorBannerTitle)
| `- error: static member 'colorBannerTitle' cannot be used on instance of type 'ProgressHUD'
43 | .lineLimit(1)
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:74:11: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
68 |
69 | // MARK: - ProgressBannerModifier
70 | public struct ProgressBannerModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
71 |
72 | // MARK: - Body
73 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
74 | content.overlay(alignment: .top) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
75 | ProgressBannerView()
76 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:74:31: error: 'top' is only available in macOS 10.15 or newer
68 |
69 | // MARK: - ProgressBannerModifier
70 | public struct ProgressBannerModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
71 |
72 | // MARK: - Body
73 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
74 | content.overlay(alignment: .top) {
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | ProgressBannerView()
76 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:84:3: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
79 |
80 | // MARK: - View Extension
81 | public extension View {
| `- note: add @available attribute to enclosing extension
82 |
83 | func progressBanner() -> some View {
| `- note: add @available attribute to enclosing instance method
84 | modifier(ProgressBannerModifier())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Banner.swift:84:3: error: 'modifier' is only available in macOS 10.15 or newer
79 |
80 | // MARK: - View Extension
81 | public extension View {
| `- note: add @available attribute to enclosing extension
82 |
83 | func progressBanner() -> some View {
| `- note: add @available attribute to enclosing instance method
84 | modifier(ProgressBannerModifier())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var progress: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | let color: Color
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:20:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | @State private var progress: CGFloat = 0
19 |
20 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
21 | let animationID: UUID
22 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:24:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: 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 length = geometry.size.width
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:49:3: error: 'State' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
49 | @State private var progress1: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
50 | @State private var progress2: CGFloat = 0
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:50:3: error: 'State' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
49 | @State private var progress1: CGFloat = 0
50 | @State private var progress2: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
51 |
52 | let color: Color
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:52:13: error: 'Color' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
50 | @State private var progress2: CGFloat = 0
51 |
52 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
53 | let animationID: UUID
54 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:56:17: error: 'View' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:94:3: error: 'State' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
94 | @State private var progress1: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
95 | @State private var progress2: CGFloat = 0
96 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:95:3: error: 'State' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
94 | @State private var progress1: CGFloat = 0
95 | @State private var progress2: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
96 |
97 | let color: Color
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:97:13: error: 'Color' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
95 | @State private var progress2: CGFloat = 0
96 |
97 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
98 | let animationID: UUID
99 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:101:17: error: 'View' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
/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/Animations/ActivityIndicatorView.swift:29:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
27 | }
28 |
29 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
30 | ActivityIndicatorView()
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:127:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | }
126 |
127 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:129:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
127 | #Preview {
128 | BallVerticalBounceView()
129 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:126:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
124 | #Preview {
125 | BarSweepToggleView()
126 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:78:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
76 | #Preview {
77 | CircleArcDotSpinView()
78 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:77:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | }
76 |
77 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:79:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
77 | #Preview {
78 | CircleBarSpinFadeView()
79 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:79:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:81:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
79 | #Preview {
80 | CircleDotSpinFadeView()
81 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:93:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
91 | }
92 |
93 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:95:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
93 | #Preview {
94 | CirclePulseMultipleView()
95 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CirclePulseSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:80:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
78 | }
79 |
80 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:82:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
80 | #Preview {
81 | CircleRippleMultipleView()
82 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:47:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
45 | }
46 |
47 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:49:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
47 | #Preview {
48 | CircleRippleSingleView()
49 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:59:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
59 | #Preview {
60 | CircleRotateChaseView()
61 | .frame(width: 100, height: 100)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:68:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | }
67 |
68 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:70:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
68 | #Preview {
69 | CircleStrokeSpinView()
70 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | DualDotSidestepView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:70:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
68 | }
69 |
70 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:72:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
70 | #Preview {
71 | HorizontalBarScalingView()
72 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:71:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:73:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
71 | #Preview {
72 | HorizontalDotScalingView()
73 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:84:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
82 | }
83 |
84 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:86:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
84 | #Preview {
85 | PacmanProgressView()
86 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:63:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | }
62 |
63 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:65:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
63 | #Preview {
64 | QuintupleDotDanceView()
65 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:37:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
35 | }
36 |
37 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
37 | #Preview {
38 | SFSymbolBounceView()
39 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:118:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
116 | }
117 |
118 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:120:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
118 | #Preview {
119 | SemiRingRotationView()
120 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:109:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
107 | }
108 |
109 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:111:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
109 | #Preview {
110 | SquareCircuitSnakeView()
111 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:76:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
74 | #Preview {
75 | TriangleDotShiftView()
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift: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+LiveIcon.swift:25:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | let length = geometry.size.width
27 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:25:3: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | let length = geometry.size.width
27 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:25:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | let length = geometry.size.width
27 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:27:4: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
27 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
28 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.50))
29 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.80))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:27:4: error: 'Path' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
27 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.50))
29 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.80))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:28:10: error: 'move(to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
27 | Path { path in
28 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.50))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.80))
30 | path.addLine(to: CGPoint(x: length * 1.0, y: length * 0.25))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:29:10: error: 'addLine(to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
27 | Path { path in
28 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.50))
29 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.80))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | path.addLine(to: CGPoint(x: length * 1.0, y: length * 0.25))
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:30:10: error: 'addLine(to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
28 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.50))
29 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.80))
30 | path.addLine(to: CGPoint(x: length * 1.0, y: length * 0.25))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | .trim(from: 0, to: progress)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:32:5: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
30 | path.addLine(to: CGPoint(x: length * 1.0, y: length * 0.25))
31 | }
32 | .trim(from: 0, to: progress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
34 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:33:5: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
31 | }
32 | .trim(from: 0, to: progress)
33 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
34 | }
35 | .task(id: animationID) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:33:26: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
31 | }
32 | .trim(from: 0, to: progress)
33 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | .task(id: animationID) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:25:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | let length = geometry.size.width
27 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:35:4: error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
33 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
34 | }
35 | .task(id: animationID) {
| |- error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
36 | progress = 0
37 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:36:4: error: setter for 'progress' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
34 | }
35 | .task(id: animationID) {
36 | progress = 0
| |- error: setter for 'progress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | try? await Task.sleep(for: .milliseconds(150))
38 | withAnimation(.easeOut(duration: 0.25)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:37:15: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
35 | .task(id: animationID) {
36 | progress = 0
37 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | withAnimation(.easeOut(duration: 0.25)) {
39 | progress = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:37:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
35 | .task(id: animationID) {
36 | progress = 0
37 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
38 | withAnimation(.easeOut(duration: 0.25)) {
39 | progress = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:37:32: error: 'milliseconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
35 | .task(id: animationID) {
36 | progress = 0
37 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
38 | withAnimation(.easeOut(duration: 0.25)) {
39 | progress = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:38:4: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
36 | progress = 0
37 | try? await Task.sleep(for: .milliseconds(150))
38 | withAnimation(.easeOut(duration: 0.25)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | progress = 1
40 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:38:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
36 | progress = 0
37 | try? await Task.sleep(for: .milliseconds(150))
38 | withAnimation(.easeOut(duration: 0.25)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | progress = 1
40 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:39:5: error: setter for 'progress' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - LiveIconSucceedView
15 | struct LiveIconSucceedView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
22 |
23 | // MARK: - Body
24 | var body: some View {
| `- note: add @available attribute to enclosing property
25 | GeometryReader { geometry in
26 | let length = geometry.size.width
:
37 | try? await Task.sleep(for: .milliseconds(150))
38 | withAnimation(.easeOut(duration: 0.25)) {
39 | progress = 1
| |- error: setter for 'progress' 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/ProgressHUD+LiveIcon.swift:57:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | let length = geometry.size.width
59 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:57:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
58 | let length = geometry.size.width
59 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:57:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
58 | let length = geometry.size.width
59 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:4: error: 'ZStack' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:60:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
60 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:60:5: error: 'Path' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
60 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:61:11: error: 'move(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
63 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:62:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .trim(from: 0, to: progress1)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:64:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
62 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.85))
63 | }
64 | .trim(from: 0, to: progress1)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
66 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:65:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
63 | }
64 | .trim(from: 0, to: progress1)
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
66 |
67 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:65:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
63 | }
64 | .trim(from: 0, to: progress1)
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:67:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
66 |
67 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:67:5: error: 'Path' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
65 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
66 |
67 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:68:11: error: 'move(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
66 |
67 | Path { path in
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:69:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
67 | Path { path in
68 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.85))
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 | .trim(from: 0, to: progress2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:71:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
69 | path.addLine(to: CGPoint(x: length * 0.85, y: length * 0.15))
70 | }
71 | .trim(from: 0, to: progress2)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
73 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:72:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
70 | }
71 | .trim(from: 0, to: progress2)
72 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:72:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
70 | }
71 | .trim(from: 0, to: progress2)
72 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' 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/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:59:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
59 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Path { path in
61 | path.move(to: CGPoint(x: length * 0.15, y: length * 0.15))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:75:4: error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
73 | }
74 | }
75 | .task(id: animationID) {
| |- error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
76 | progress1 = 0
77 | progress2 = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:76:4: error: setter for 'progress1' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
74 | }
75 | .task(id: animationID) {
76 | progress1 = 0
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:77:4: error: setter for 'progress2' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
75 | .task(id: animationID) {
76 | progress1 = 0
77 | progress2 = 0
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:78:15: error: 'Task' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
76 | progress1 = 0
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:78:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
76 | progress1 = 0
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:78:32: error: 'milliseconds' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
76 | progress1 = 0
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:79:4: error: 'withAnimation' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | progress1 = 1
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:79:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
77 | progress2 = 0
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | progress1 = 1
81 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:80:5: error: setter for 'progress1' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
78 | try? await Task.sleep(for: .milliseconds(150))
79 | withAnimation(.easeOut(duration: 0.15)) {
80 | progress1 = 1
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:82:15: error: 'Task' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
80 | progress1 = 1
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:82:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
80 | progress1 = 1
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:82:32: error: 'milliseconds' is only available in macOS 13.0 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
80 | progress1 = 1
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:83:4: error: 'withAnimation' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
83 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | progress2 = 1
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:83:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
81 | }
82 | try? await Task.sleep(for: .milliseconds(150))
83 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | progress2 = 1
85 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:84:5: error: setter for 'progress2' is only available in macOS 10.15 or newer
44 |
45 | // MARK: - LiveIconFailedView
46 | struct LiveIconFailedView: View {
| `- note: add @available attribute to enclosing struct
47 |
48 | // MARK: - Properties
:
54 |
55 | // MARK: - Body
56 | var body: some View {
| `- note: add @available attribute to enclosing property
57 | GeometryReader { geometry in
58 | let length = geometry.size.width
:
82 | try? await Task.sleep(for: .milliseconds(150))
83 | withAnimation(.easeOut(duration: 0.15)) {
84 | progress2 = 1
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:102:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | let length = geometry.size.width
104 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:102:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
103 | let length = geometry.size.width
104 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:102:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
103 | let length = geometry.size.width
104 | ZStack {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:4: error: 'ZStack' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:105:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
105 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:105:5: error: 'Path' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
105 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:106:11: error: 'move(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
108 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:107:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | }
109 | .trim(from: 0, to: progress1)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:109:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
107 | path.addLine(to: CGPoint(x: length * 0.9, y: length * 0.5))
108 | }
109 | .trim(from: 0, to: progress1)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
111 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:110:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
108 | }
109 | .trim(from: 0, to: progress1)
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
111 |
112 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:110:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
108 | }
109 | .trim(from: 0, to: progress1)
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 |
112 | Path { path in
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:112:5: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
111 |
112 | Path { path in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:112:5: error: 'Path' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
110 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
111 |
112 | Path { path in
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:113:11: error: 'move(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
111 |
112 | Path { path in
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
115 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:114:11: error: 'addLine(to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
112 | Path { path in
113 | path.move(to: CGPoint(x: length * 0.5, y: length * 0.1))
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | }
116 | .trim(from: 0, to: progress2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:116:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
114 | path.addLine(to: CGPoint(x: length * 0.5, y: length * 0.9))
115 | }
116 | .trim(from: 0, to: progress2)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
118 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:117:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
115 | }
116 | .trim(from: 0, to: progress2)
117 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:117:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
115 | }
116 | .trim(from: 0, to: progress2)
117 | .stroke(color, style: StrokeStyle(lineWidth: 7, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:104:11: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
104 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Path { path in
106 | path.move(to: CGPoint(x: length * 0.1, y: length * 0.5))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:120:4: error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
118 | }
119 | }
120 | .task(id: animationID) {
| |- error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
121 | progress1 = 0
122 | progress2 = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:121:4: error: setter for 'progress1' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
119 | }
120 | .task(id: animationID) {
121 | progress1 = 0
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:122:4: error: setter for 'progress2' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
120 | .task(id: animationID) {
121 | progress1 = 0
122 | progress2 = 0
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:123:15: error: 'Task' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
121 | progress1 = 0
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:123:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
121 | progress1 = 0
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:123:32: error: 'milliseconds' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
121 | progress1 = 0
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:124:4: error: 'withAnimation' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | progress1 = 1
126 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:124:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
122 | progress2 = 0
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | progress1 = 1
126 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:125:5: error: setter for 'progress1' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
123 | try? await Task.sleep(for: .milliseconds(150))
124 | withAnimation(.easeOut(duration: 0.15)) {
125 | progress1 = 1
| |- error: setter for 'progress1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:127:15: error: 'Task' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
125 | progress1 = 1
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:127:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
125 | progress1 = 1
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:127:32: error: 'milliseconds' is only available in macOS 13.0 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
125 | progress1 = 1
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:128:4: error: 'withAnimation' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
128 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | progress2 = 1
130 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:128:19: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
128 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | progress2 = 1
130 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:129:5: error: setter for 'progress2' is only available in macOS 10.15 or newer
89 |
90 | // MARK: - LiveIconAddedView
91 | struct LiveIconAddedView: View {
| `- note: add @available attribute to enclosing struct
92 |
93 | // MARK: - Properties
:
99 |
100 | // MARK: - Body
101 | var body: some View {
| `- note: add @available attribute to enclosing property
102 | GeometryReader { geometry in
103 | let length = geometry.size.width
:
127 | try? await Task.sleep(for: .milliseconds(150))
128 | withAnimation(.easeOut(duration: 0.15)) {
129 | progress2 = 1
| |- error: setter for 'progress2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | }
131 | }
BUILD FAILURE 6.1 macosSpm