Build Information
Failed to build ProgressHUD, reference 15.0.3 (25471d), with Swift 6.1 for macOS (SPM) on 15 Sep 2026 00:51:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
30 | let moveDistance = size.width - radius * 2
31 |
32 | 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
33 | Circle()
34 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:32: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
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
30 | let moveDistance = size.width - radius * 2
31 |
32 | 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
33 | Circle()
34 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:33:5: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
31 |
32 | ZStack {
33 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .fill(color)
35 | .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:34:7: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
32 | ZStack {
33 | Circle()
34 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:35:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
33 | Circle()
34 | .fill(color)
35 | .frame(width: radius * 2, height: radius * 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .offset(offset0)
37 | .position(x: radius, y: radius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:36:7: error: 'offset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
34 | .fill(color)
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
| |- error: 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | .position(x: radius, y: radius)
38 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:37:7: error: 'position(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
37 | .position(x: radius, y: radius)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 |
39 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:39:5: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
37 | .position(x: radius, y: radius)
38 |
39 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .fill(color)
41 | .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:40:7: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
38 |
39 | Circle()
40 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
41 | .frame(width: radius * 2, height: radius * 2)
42 | .offset(offset1)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:41:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
39 | Circle()
40 | .fill(color)
41 | .frame(width: radius * 2, height: radius * 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .offset(offset1)
43 | .position(x: size.width - radius, y: radius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:42:7: error: 'offset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
40 | .fill(color)
41 | .frame(width: radius * 2, height: radius * 2)
42 | .offset(offset1)
| |- error: 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | .position(x: size.width - radius, y: radius)
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:43:7: error: 'position(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
41 | .frame(width: radius * 2, height: radius * 2)
42 | .offset(offset1)
43 | .position(x: size.width - radius, y: radius)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 |
45 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:45:5: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
43 | .position(x: size.width - radius, y: radius)
44 |
45 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .fill(color)
47 | .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:46:7: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
44 |
45 | Circle()
46 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
47 | .frame(width: radius * 2, height: radius * 2)
48 | .offset(offset2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:47:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
45 | Circle()
46 | .fill(color)
47 | .frame(width: radius * 2, height: radius * 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | .offset(offset2)
49 | .position(x: size.width / 2, y: size.height - radius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:48:7: error: 'offset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
46 | .fill(color)
47 | .frame(width: radius * 2, height: radius * 2)
48 | .offset(offset2)
| |- error: 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .position(x: size.width / 2, y: size.height - radius)
50 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:49:7: error: 'position(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
47 | .frame(width: radius * 2, height: radius * 2)
48 | .offset(offset2)
49 | .position(x: size.width / 2, y: size.height - radius)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 | .frame(width: size.width, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:51:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
49 | .position(x: size.width / 2, y: size.height - radius)
50 | }
51 | .frame(width: size.width, height: size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .onAppear {
53 | startAnimation(moveDistance: moveDistance)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:52:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
50 | }
51 | .frame(width: size.width, height: size.height)
52 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | startAnimation(moveDistance: moveDistance)
54 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:61:4: error: setter for 'offset0' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
| |- error: setter for 'offset0' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:65:4: error: setter for 'offset1' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
| |- error: setter for 'offset1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:69:4: error: setter for 'offset2' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
| |- error: setter for 'offset2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 | }
[30/30] Compiling ProgressHUD TriangleDotShiftView.swift
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:18:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | @State private var rotation: Double = 0
20 | @State private var scale: CGFloat = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var rotation: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var scale: CGFloat = 1.0
21 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var rotation: Double = 0
20 | @State private var scale: CGFloat = 1.0
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var animationTask: Task<Void, Never>?
22 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:21:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var rotation: Double = 0
20 | @State private var scale: CGFloat = 1.0
21 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
22 |
23 | private let duration: TimeInterval = 1.6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var rotation: Double = 0
20 | @State private var scale: CGFloat = 1.0
21 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
22 |
23 | private let duration: TimeInterval = 1.6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:26:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:79:32: error: 'Path' is only available in macOS 10.15 or newer
76 | }
77 |
78 | private struct SemiRingHorizontal: Shape {
| `- note: add @available attribute to enclosing struct
79 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
80 | var path = Path()
81 | let center = CGPoint(x: rect.midX, y: rect.midY)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:99:32: error: 'Path' is only available in macOS 10.15 or newer
96 | }
97 |
98 | private struct SemiRingVertical: Shape {
| `- note: add @available attribute to enclosing struct
99 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
100 | var path = Path()
101 | let center = CGPoint(x: rect.midX, y: rect.midY)
/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(color: .gray)
120 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:119:31: error: 'gray' is only available in macOS 10.15 or newer
117 |
118 | #Preview {
119 | SemiRingRotationView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | .frame(width: 70, height: 70)
121 | }
/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(color: .gray)
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/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(color: .gray)
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/ActivityIndicatorView.swift:30:32: error: 'gray' is only available in macOS 10.15 or newer
28 |
29 | #Preview {
30 | ActivityIndicatorView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 |
/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(color: .gray)
129 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BallVerticalBounceView.swift:128:33: error: 'gray' is only available in macOS 10.15 or newer
126 |
127 | #Preview {
128 | BallVerticalBounceView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | .frame(width: 70, height: 70)
130 | }
/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(color: .gray)
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(color: .gray)
126 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/BarSweepToggleView.swift:125:29: error: 'gray' is only available in macOS 10.15 or newer
123 |
124 | #Preview {
125 | BarSweepToggleView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | .frame(width: 70, height: 70)
127 | }
/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(color: .gray)
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(color: .gray)
78 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleArcDotSpinView.swift:77:31: error: 'gray' is only available in macOS 10.15 or newer
75 |
76 | #Preview {
77 | CircleArcDotSpinView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | .frame(width: 70, height: 70)
79 | }
/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(color: .gray)
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(color: .gray)
79 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleBarSpinFadeView.swift:78:32: error: 'gray' is only available in macOS 10.15 or newer
76 |
77 | #Preview {
78 | CircleBarSpinFadeView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | .frame(width: 70, height: 70)
80 | }
/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(color: .gray)
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(color: .gray)
81 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleDotSpinFadeView.swift:80:32: error: 'gray' is only available in macOS 10.15 or newer
78 |
79 | #Preview {
80 | CircleDotSpinFadeView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .frame(width: 70, height: 70)
82 | }
/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(color: .gray)
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(color: .gray)
95 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseMultipleView.swift:94:34: error: 'gray' is only available in macOS 10.15 or newer
92 |
93 | #Preview {
94 | CirclePulseMultipleView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .frame(width: 70, height: 70)
96 | }
/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(color: .gray)
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(color: .gray)
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CirclePulseSingleView.swift:48:32: error: 'gray' is only available in macOS 10.15 or newer
46 |
47 | #Preview {
48 | CirclePulseSingleView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .frame(width: 70, height: 70)
50 | }
/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(color: .gray)
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(color: .gray)
82 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleMultipleView.swift:81:35: error: 'gray' is only available in macOS 10.15 or newer
79 |
80 | #Preview {
81 | CircleRippleMultipleView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .frame(width: 70, height: 70)
83 | }
/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(color: .gray)
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(color: .gray)
49 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:48:33: error: 'gray' is only available in macOS 10.15 or newer
46 |
47 | #Preview {
48 | CircleRippleSingleView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .frame(width: 70, height: 70)
50 | }
/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(color: .gray)
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:60:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
58 | }
59 |
60 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
61 | CircleRotateChaseView(color: .gray)
62 | .frame(width: 100, height: 100)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:61:32: error: 'gray' is only available in macOS 10.15 or newer
59 |
60 | #Preview {
61 | CircleRotateChaseView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .frame(width: 100, height: 100)
63 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:62:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
60 | #Preview {
61 | CircleRotateChaseView(color: .gray)
62 | .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
63 | }
64 |
/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(color: .gray)
70 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:69:31: error: 'gray' is only available in macOS 10.15 or newer
67 |
68 | #Preview {
69 | CircleStrokeSpinView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .frame(width: 70, height: 70)
71 | }
/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(color: .gray)
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(color: .gray)
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/DualDotSidestepView.swift:75:30: error: 'gray' is only available in macOS 10.15 or newer
73 |
74 | #Preview {
75 | DualDotSidestepView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .frame(width: 70, height: 70)
77 | }
/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(color: .gray)
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(color: .gray)
72 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalBarScalingView.swift:71:35: error: 'gray' is only available in macOS 10.15 or newer
69 |
70 | #Preview {
71 | HorizontalBarScalingView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .frame(width: 70, height: 70)
73 | }
/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(color: .gray)
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(color: .gray)
73 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/HorizontalDotScalingView.swift:72:35: error: 'gray' is only available in macOS 10.15 or newer
70 |
71 | #Preview {
72 | HorizontalDotScalingView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .frame(width: 70, height: 70)
74 | }
/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(color: .gray)
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(color: .gray)
86 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/PacmanProgressView.swift:85:29: error: 'gray' is only available in macOS 10.15 or newer
83 |
84 | #Preview {
85 | PacmanProgressView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | .frame(width: 70, height: 70)
87 | }
/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(color: .gray)
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(color: .gray)
65 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/QuintupleDotDanceView.swift:64:32: error: 'gray' is only available in macOS 10.15 or newer
62 |
63 | #Preview {
64 | QuintupleDotDanceView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .frame(width: 70, height: 70)
66 | }
/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(color: .gray)
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:38:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
36 | }
37 |
38 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
39 | SFSymbolBounceView(symbol: "sun.max", color: .gray)
40 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:39:48: error: 'gray' is only available in macOS 10.15 or newer
37 |
38 | #Preview {
39 | SFSymbolBounceView(symbol: "sun.max", color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .frame(width: 70, height: 70)
41 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SFSymbolBounceView.swift:40:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
38 | #Preview {
39 | SFSymbolBounceView(symbol: "sun.max", color: .gray)
40 | .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
41 | }
42 |
/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(color: .gray)
111 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:110:33: error: 'gray' is only available in macOS 10.15 or newer
108 |
109 | #Preview {
110 | SquareCircuitSnakeView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | .frame(width: 70, height: 70)
112 | }
/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(color: .gray)
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(color: .gray)
76 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:75:31: error: 'gray' is only available in macOS 10.15 or newer
73 |
74 | #Preview {
75 | TriangleDotShiftView(color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .frame(width: 70, height: 70)
77 | }
/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(color: .gray)
76 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:135:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | #Preview("Succeed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:136:30: error: 'green' is only available in macOS 10.15 or newer
134 |
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | .frame(width: 70, height: 70)
138 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:137:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
135 | #Preview("Succeed") {
136 | LiveIconSucceedView(color: .green, animationID: UUID())
137 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:140:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
138 | }
139 |
140 | #Preview("Failed") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:141:29: error: 'red' is only available in macOS 10.15 or newer
139 |
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .frame(width: 70, height: 70)
143 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:142:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
140 | #Preview("Failed") {
141 | LiveIconFailedView(color: .red, animationID: UUID())
142 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:145:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | #Preview("Added") {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:146:28: error: 'blue' is only available in macOS 10.15 or newer
144 |
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | .frame(width: 70, height: 70)
148 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+LiveIcon.swift:147:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
145 | #Preview("Added") {
146 | LiveIconAddedView(color: .blue, animationID: UUID())
147 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:27:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | let size = geometry.size
29 | let lineWidth: CGFloat = 6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:27: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: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | 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
28 | let size = geometry.size
29 | let lineWidth: CGFloat = 6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:27: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: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | 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
28 | let size = geometry.size
29 | let lineWidth: CGFloat = 6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:31:4: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
29 | let lineWidth: CGFloat = 6
30 |
31 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | SemiRingHorizontal()
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:31: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
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
29 | let lineWidth: CGFloat = 6
30 |
31 | 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
32 | SemiRingHorizontal()
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:31: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
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
29 | let lineWidth: CGFloat = 6
30 |
31 | 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
32 | SemiRingHorizontal()
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:33:7: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
31 | ZStack {
32 | SemiRingHorizontal()
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
34 | .frame(width: size.width, height: size.height)
35 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:33:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
31 | ZStack {
32 | SemiRingHorizontal()
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .frame(width: size.width, height: size.height)
35 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:34:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
32 | SemiRingHorizontal()
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
34 | .frame(width: size.width, height: size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .scaleEffect(scale)
36 | .rotationEffect(.degrees(rotation))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:35:7: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
33 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
34 | .frame(width: size.width, height: size.height)
35 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .rotationEffect(.degrees(rotation))
37 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:36:7: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
34 | .frame(width: size.width, height: size.height)
35 | .scaleEffect(scale)
36 | .rotationEffect(.degrees(rotation))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 |
38 | SemiRingVertical()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:39:7: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
37 |
38 | SemiRingVertical()
39 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
40 | .frame(width: size.width / 2, height: size.height / 2)
41 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:39:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
37 |
38 | SemiRingVertical()
39 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .frame(width: size.width / 2, height: size.height / 2)
41 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:40:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
38 | SemiRingVertical()
39 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
40 | .frame(width: size.width / 2, height: size.height / 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .scaleEffect(scale)
42 | .rotationEffect(.degrees(-rotation))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:41:7: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
39 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
40 | .frame(width: size.width / 2, height: size.height / 2)
41 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .rotationEffect(.degrees(-rotation))
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:42:7: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
40 | .frame(width: size.width / 2, height: size.height / 2)
41 | .scaleEffect(scale)
42 | .rotationEffect(.degrees(-rotation))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 | .frame(width: size.width, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:44:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
42 | .rotationEffect(.degrees(-rotation))
43 | }
44 | .frame(width: size.width, height: size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .onAppear {
46 | startAnimation()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:45:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
43 | }
44 | .frame(width: size.width, height: size.height)
45 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | startAnimation()
47 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:48:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
46 | startAnimation()
47 | }
48 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | animationTask?.cancel()
50 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:49:20: error: 'cancel()' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
47 | }
48 | .onDisappear {
49 | animationTask?.cancel()
| |- error: 'cancel()' 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/SemiRingRotationView.swift:56:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:56:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:56:19: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:57:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | withAnimation(.easeInOut(duration: duration / 2)) {
59 | rotation = 180
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:57:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | withAnimation(.easeInOut(duration: duration / 2)) {
59 | rotation = 180
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:58:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | rotation = 180
60 | scale = 0.6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:58:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | rotation = 180
60 | scale = 0.6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:59:6: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
59 | rotation = 180
| |- error: setter for 'rotation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | scale = 0.6
61 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:60:6: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
58 | withAnimation(.easeInOut(duration: duration / 2)) {
59 | rotation = 180
60 | scale = 0.6
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | }
62 | try? await Task.sleep(for: .seconds(duration / 2))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
60 | scale = 0.6
61 | }
62 | try? await Task.sleep(for: .seconds(duration / 2))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | if Task.isCancelled { break }
64 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
60 | scale = 0.6
61 | }
62 | try? await Task.sleep(for: .seconds(duration / 2))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | if Task.isCancelled { break }
64 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
60 | scale = 0.6
61 | }
62 | try? await Task.sleep(for: .seconds(duration / 2))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | if Task.isCancelled { break }
64 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:63:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
61 | }
62 | try? await Task.sleep(for: .seconds(duration / 2))
63 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 |
65 | withAnimation(.easeInOut(duration: duration / 2)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:63:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
61 | }
62 | try? await Task.sleep(for: .seconds(duration / 2))
63 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 |
65 | withAnimation(.easeInOut(duration: duration / 2)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:65:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
63 | if Task.isCancelled { break }
64 |
65 | withAnimation(.easeInOut(duration: duration / 2)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | rotation = 360
67 | scale = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:65:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
63 | if Task.isCancelled { break }
64 |
65 | withAnimation(.easeInOut(duration: duration / 2)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | rotation = 360
67 | scale = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:66:6: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
64 |
65 | withAnimation(.easeInOut(duration: duration / 2)) {
66 | rotation = 360
| |- error: setter for 'rotation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | scale = 1.0
68 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:67:6: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
65 | withAnimation(.easeInOut(duration: duration / 2)) {
66 | rotation = 360
67 | scale = 1.0
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 | try? await Task.sleep(for: .seconds(duration / 2))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:69:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
67 | scale = 1.0
68 | }
69 | try? await Task.sleep(for: .seconds(duration / 2))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | if Task.isCancelled { break }
71 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:69:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
67 | scale = 1.0
68 | }
69 | try? await Task.sleep(for: .seconds(duration / 2))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | if Task.isCancelled { break }
71 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:69:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
67 | scale = 1.0
68 | }
69 | try? await Task.sleep(for: .seconds(duration / 2))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
70 | if Task.isCancelled { break }
71 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:70:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
68 | }
69 | try? await Task.sleep(for: .seconds(duration / 2))
70 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 |
72 | rotation = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:70:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
68 | }
69 | try? await Task.sleep(for: .seconds(duration / 2))
70 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 |
72 | rotation = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:72:5: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SemiRingRotationView
15 | struct SemiRingRotationView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | while !Task.isCancelled {
:
70 | if Task.isCancelled { break }
71 |
72 | rotation = 0
| |- error: setter for 'rotation' 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/SemiRingRotationView.swift:80:14: error: 'Path' is only available in macOS 10.15 or newer
76 | }
77 |
78 | private struct SemiRingHorizontal: Shape {
| `- note: add @available attribute to enclosing struct
79 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
80 | var path = Path()
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | let center = CGPoint(x: rect.midX, y: rect.midY)
82 | let radius = min(rect.width, rect.height) / 2
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:85:8: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
76 | }
77 |
78 | private struct SemiRingHorizontal: Shape {
| `- note: add @available attribute to enclosing struct
79 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
80 | var path = Path()
81 | let center = CGPoint(x: rect.midX, y: rect.midY)
:
83 | let pi4 = CGFloat.pi / 4
84 |
85 | path.addArc(center: center, radius: radius, startAngle: .radians(3 * pi4), endAngle: .radians(5 * pi4), clockwise: false)
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 |
87 | let startPoint = CGPoint(
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:91:8: error: 'move(to:)' is only available in macOS 10.15 or newer
76 | }
77 |
78 | private struct SemiRingHorizontal: Shape {
| `- note: add @available attribute to enclosing struct
79 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
80 | var path = Path()
81 | let center = CGPoint(x: rect.midX, y: rect.midY)
:
89 | y: center.y + radius * sin(-pi4)
90 | )
91 | path.move(to: startPoint)
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | path.addArc(center: center, radius: radius, startAngle: .radians(-pi4), endAngle: .radians(pi4), clockwise: false)
93 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:92:8: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
76 | }
77 |
78 | private struct SemiRingHorizontal: Shape {
| `- note: add @available attribute to enclosing struct
79 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
80 | var path = Path()
81 | let center = CGPoint(x: rect.midX, y: rect.midY)
:
90 | )
91 | path.move(to: startPoint)
92 | path.addArc(center: center, radius: radius, startAngle: .radians(-pi4), endAngle: .radians(pi4), clockwise: false)
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 |
94 | return path
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:100:14: error: 'Path' is only available in macOS 10.15 or newer
96 | }
97 |
98 | private struct SemiRingVertical: Shape {
| `- note: add @available attribute to enclosing struct
99 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
100 | var path = Path()
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | let center = CGPoint(x: rect.midX, y: rect.midY)
102 | let radius = min(rect.width, rect.height) / 2
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:105:8: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
96 | }
97 |
98 | private struct SemiRingVertical: Shape {
| `- note: add @available attribute to enclosing struct
99 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
100 | var path = Path()
101 | let center = CGPoint(x: rect.midX, y: rect.midY)
:
103 | let pi4 = CGFloat.pi / 4
104 |
105 | path.addArc(center: center, radius: radius, startAngle: .radians(-3 * pi4), endAngle: .radians(-pi4), clockwise: false)
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 |
107 | let startPoint = CGPoint(
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:111:8: error: 'move(to:)' is only available in macOS 10.15 or newer
96 | }
97 |
98 | private struct SemiRingVertical: Shape {
| `- note: add @available attribute to enclosing struct
99 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
100 | var path = Path()
101 | let center = CGPoint(x: rect.midX, y: rect.midY)
:
109 | y: center.y + radius * sin(pi4)
110 | )
111 | path.move(to: startPoint)
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | path.addArc(center: center, radius: radius, startAngle: .radians(pi4), endAngle: .radians(3 * pi4), clockwise: false)
113 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SemiRingRotationView.swift:112:8: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
96 | }
97 |
98 | private struct SemiRingVertical: Shape {
| `- note: add @available attribute to enclosing struct
99 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
100 | var path = Path()
101 | let center = CGPoint(x: rect.midX, y: rect.midY)
:
110 | )
111 | path.move(to: startPoint)
112 | path.addArc(center: center, radius: radius, startAngle: .radians(pi4), endAngle: .radians(3 * pi4), clockwise: false)
| |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 |
114 | return path
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:18:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | @State private var animationTask: Task<Void, Never>?
20 | @State private var head: CGFloat = 0.87
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:19:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
20 | @State private var head: CGFloat = 0.87
21 | @State private var tail: CGFloat = 0.75
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var head: CGFloat = 0.87
21 | @State private var tail: CGFloat = 0.75
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var animationTask: Task<Void, Never>?
20 | @State private var head: CGFloat = 0.87
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var tail: CGFloat = 0.75
22 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var animationTask: Task<Void, Never>?
20 | @State private var head: CGFloat = 0.87
21 | @State private var tail: CGFloat = 0.75
| `- error: 'State' is only available in macOS 10.15 or newer
22 |
23 | private let animationDuration: Double = 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:28:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:83:22: error: 'AnimatablePair' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| | `- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
85 | set {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:91:32: error: 'Path' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:29:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | let size = geometry.size
31 | let space = size.width / 6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:29: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: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | 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
30 | let size = geometry.size
31 | let space = size.width / 6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:29: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: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | 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
30 | let size = geometry.size
31 | let space = size.width / 6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:35:4: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
33 | let lineWidth = innerSize / 6
34 |
35 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:35: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
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
33 | let lineWidth = innerSize / 6
34 |
35 | 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
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:35: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
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
33 | let lineWidth = innerSize / 6
34 |
35 | 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
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:36:5: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
34 |
35 | ZStack {
36 | RoundedRectangle(cornerRadius: 3)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
38 | .frame(width: innerSize, height: innerSize)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:37:7: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
35 | ZStack {
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
38 | .frame(width: innerSize, height: innerSize)
39 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:37:20: error: 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
35 | ZStack {
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | .frame(width: innerSize, height: innerSize)
39 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:37:41: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
35 | ZStack {
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | .frame(width: innerSize, height: innerSize)
39 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:38:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
36 | RoundedRectangle(cornerRadius: 3)
37 | .stroke(color.opacity(0.3), style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
38 | .frame(width: innerSize, height: innerSize)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 |
40 | SquareCircuitSnakeShape(head: head, tail: tail)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:41:7: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
39 |
40 | SquareCircuitSnakeShape(head: head, tail: tail)
41 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
42 | .frame(width: innerSize, height: innerSize)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:41:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
39 |
40 | SquareCircuitSnakeShape(head: head, tail: tail)
41 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: innerSize, height: innerSize)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:42:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
40 | SquareCircuitSnakeShape(head: head, tail: tail)
41 | .stroke(color, style: StrokeStyle(lineWidth: lineWidth, lineCap: .round))
42 | .frame(width: innerSize, height: innerSize)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 | .frame(width: size.width, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:44:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
42 | .frame(width: innerSize, height: innerSize)
43 | }
44 | .frame(width: size.width, height: size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .onAppear {
46 | startAnimation()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:45:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
43 | }
44 | .frame(width: size.width, height: size.height)
45 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | startAnimation()
47 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:48:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
46 | startAnimation()
47 | }
48 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | animationTask?.cancel()
50 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:49:20: error: 'cancel()' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
26 |
27 | // MARK: - Body
28 | var body: some View {
| `- note: add @available attribute to enclosing property
29 | GeometryReader { geometry in
30 | let size = geometry.size
:
47 | }
48 | .onDisappear {
49 | animationTask?.cancel()
| |- error: 'cancel()' 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/SquareCircuitSnakeView.swift:56:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:56:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:56:19: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:57:15: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 |
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:57:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 |
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:57:32: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 |
59 | while !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:59:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
59 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | withAnimation(.easeInOut(duration: animationDuration)) {
61 | head += 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:59:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
59 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | withAnimation(.easeInOut(duration: animationDuration)) {
61 | head += 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:60:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
59 | while !Task.isCancelled {
60 | withAnimation(.easeInOut(duration: animationDuration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | head += 1.0
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:60:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
58 |
59 | while !Task.isCancelled {
60 | withAnimation(.easeInOut(duration: animationDuration)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | head += 1.0
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:61:6: error: cannot pass as inout because setter for 'head' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
59 | while !Task.isCancelled {
60 | withAnimation(.easeInOut(duration: animationDuration)) {
61 | head += 1.0
| |- error: cannot pass as inout because setter for 'head' 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/SquareCircuitSnakeView.swift:64:5: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
62 | }
63 |
64 | Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | try? await Task.sleep(for: .seconds(tailDelay))
66 | if !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:64:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
62 | }
63 |
64 | Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | try? await Task.sleep(for: .seconds(tailDelay))
66 | if !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:65:17: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
63 |
64 | Task { @MainActor in
65 | try? await Task.sleep(for: .seconds(tailDelay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | if !Task.isCancelled {
67 | withAnimation(.easeInOut(duration: animationDuration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:65:22: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
63 |
64 | Task { @MainActor in
65 | try? await Task.sleep(for: .seconds(tailDelay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
66 | if !Task.isCancelled {
67 | withAnimation(.easeInOut(duration: animationDuration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:65:34: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
63 |
64 | Task { @MainActor in
65 | try? await Task.sleep(for: .seconds(tailDelay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
66 | if !Task.isCancelled {
67 | withAnimation(.easeInOut(duration: animationDuration)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:66:10: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
64 | Task { @MainActor in
65 | try? await Task.sleep(for: .seconds(tailDelay))
66 | if !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | withAnimation(.easeInOut(duration: animationDuration)) {
68 | tail += 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:66:15: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
64 | Task { @MainActor in
65 | try? await Task.sleep(for: .seconds(tailDelay))
66 | if !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | withAnimation(.easeInOut(duration: animationDuration)) {
68 | tail += 1.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:67:7: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
65 | try? await Task.sleep(for: .seconds(tailDelay))
66 | if !Task.isCancelled {
67 | withAnimation(.easeInOut(duration: animationDuration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | tail += 1.0
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:67:22: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
65 | try? await Task.sleep(for: .seconds(tailDelay))
66 | if !Task.isCancelled {
67 | withAnimation(.easeInOut(duration: animationDuration)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | tail += 1.0
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:68:8: error: cannot pass as inout because setter for 'tail' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
66 | if !Task.isCancelled {
67 | withAnimation(.easeInOut(duration: animationDuration)) {
68 | tail += 1.0
| |- error: cannot pass as inout because setter for 'tail' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:73:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
71 | }
72 |
73 | try? await Task.sleep(for: .seconds(cycleDuration))
| |- error: 'Task' 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/SquareCircuitSnakeView.swift:73:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
71 | }
72 |
73 | try? await Task.sleep(for: .seconds(cycleDuration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:73:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - SquareCircuitSnakeView
15 | struct SquareCircuitSnakeView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
53 |
54 | // MARK: - Private Methods
55 | private func startAnimation() {
| `- note: add @available attribute to enclosing instance method
56 | animationTask = Task { @MainActor in
57 | try? await Task.sleep(for: .seconds(0.1))
:
71 | }
72 |
73 | try? await Task.sleep(for: .seconds(cycleDuration))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:84:9: error: 'AnimatablePair' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | set {
86 | head = newValue.first
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:84:9: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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 | set {
86 | head = newValue.first
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:84:9: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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 | set {
86 | head = newValue.first
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:86:20: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
85 | set {
86 | head = newValue.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
87 | tail = newValue.second
88 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:86:20: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
85 | set {
86 | head = newValue.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
87 | tail = newValue.second
88 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:87:20: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
85 | set {
86 | head = newValue.first
87 | tail = newValue.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:87:20: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
82 |
83 | var animatableData: AnimatablePair<CGFloat, CGFloat> {
| `- note: add @available attribute to enclosing property
84 | get { AnimatablePair(head, tail) }
85 | set {
86 | head = newValue.first
87 | tail = newValue.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:92:18: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | var path = Path()
94 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:93:14: error: 'Path' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 |
95 | let h = head - floor(head)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:99:9: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
:
97 |
98 | if h > t {
99 | path.addPath(basePath.trimmedPath(from: t, to: h))
| |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | } else {
101 | path.addPath(basePath.trimmedPath(from: t, to: 1.0))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:101:9: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
:
99 | path.addPath(basePath.trimmedPath(from: t, to: h))
100 | } else {
101 | path.addPath(basePath.trimmedPath(from: t, to: 1.0))
| |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | path.addPath(basePath.trimmedPath(from: 0.0, to: h))
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/SquareCircuitSnakeView.swift:102:9: error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
77 | }
78 |
79 | private struct SquareCircuitSnakeShape: Shape {
| `- note: add @available attribute to enclosing struct
80 | var head: CGFloat
81 | var tail: CGFloat
:
89 | }
90 |
91 | func path(in rect: CGRect) -> Path {
| `- note: add @available attribute to enclosing instance method
92 | let basePath = RoundedRectangle(cornerRadius: 3).path(in: rect)
93 | var path = Path()
:
100 | } else {
101 | path.addPath(basePath.trimmedPath(from: t, to: 1.0))
102 | path.addPath(basePath.trimmedPath(from: 0.0, to: h))
| |- error: 'addPath(_:transform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | }
104 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:18:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | @State private var offset0: CGSize = .zero
20 | @State private var offset1: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var offset0: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var offset1: CGSize = .zero
21 | @State private var offset2: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var offset0: CGSize = .zero
20 | @State private var offset1: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var offset2: CGSize = .zero
22 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var offset0: CGSize = .zero
20 | @State private var offset1: CGSize = .zero
21 | @State private var offset2: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
22 |
23 | private let duration: Double = 0.6
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:26:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:27:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | let size = geometry.size
29 | let radius = size.width / 5
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:27: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: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | 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
28 | let size = geometry.size
29 | let radius = size.width / 5
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:27: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: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | 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
28 | let size = geometry.size
29 | let radius = size.width / 5
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:27: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: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | 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
28 | let size = geometry.size
29 | let radius = size.width / 5
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:32:4: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
30 | let moveDistance = size.width - radius * 2
31 |
32 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | Circle()
34 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:32: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
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
30 | let moveDistance = size.width - radius * 2
31 |
32 | 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
33 | Circle()
34 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:32: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
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
30 | let moveDistance = size.width - radius * 2
31 |
32 | 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
33 | Circle()
34 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:32: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
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
30 | let moveDistance = size.width - radius * 2
31 |
32 | 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
33 | Circle()
34 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:33:5: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
31 |
32 | ZStack {
33 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .fill(color)
35 | .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:34:7: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
32 | ZStack {
33 | Circle()
34 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:35:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
33 | Circle()
34 | .fill(color)
35 | .frame(width: radius * 2, height: radius * 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .offset(offset0)
37 | .position(x: radius, y: radius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:36:7: error: 'offset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
34 | .fill(color)
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
| |- error: 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | .position(x: radius, y: radius)
38 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:37:7: error: 'position(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
35 | .frame(width: radius * 2, height: radius * 2)
36 | .offset(offset0)
37 | .position(x: radius, y: radius)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 |
39 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:39:5: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
37 | .position(x: radius, y: radius)
38 |
39 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .fill(color)
41 | .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:40:7: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
38 |
39 | Circle()
40 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
41 | .frame(width: radius * 2, height: radius * 2)
42 | .offset(offset1)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:41:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
39 | Circle()
40 | .fill(color)
41 | .frame(width: radius * 2, height: radius * 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .offset(offset1)
43 | .position(x: size.width - radius, y: radius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:42:7: error: 'offset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
40 | .fill(color)
41 | .frame(width: radius * 2, height: radius * 2)
42 | .offset(offset1)
| |- error: 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | .position(x: size.width - radius, y: radius)
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:43:7: error: 'position(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
41 | .frame(width: radius * 2, height: radius * 2)
42 | .offset(offset1)
43 | .position(x: size.width - radius, y: radius)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 |
45 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:45:5: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
43 | .position(x: size.width - radius, y: radius)
44 |
45 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .fill(color)
47 | .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:46:7: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
44 |
45 | Circle()
46 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
47 | .frame(width: radius * 2, height: radius * 2)
48 | .offset(offset2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:47:7: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
45 | Circle()
46 | .fill(color)
47 | .frame(width: radius * 2, height: radius * 2)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | .offset(offset2)
49 | .position(x: size.width / 2, y: size.height - radius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:48:7: error: 'offset' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
46 | .fill(color)
47 | .frame(width: radius * 2, height: radius * 2)
48 | .offset(offset2)
| |- error: 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .position(x: size.width / 2, y: size.height - radius)
50 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:49:7: error: 'position(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
47 | .frame(width: radius * 2, height: radius * 2)
48 | .offset(offset2)
49 | .position(x: size.width / 2, y: size.height - radius)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 | .frame(width: size.width, height: size.height)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:51:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
49 | .position(x: size.width / 2, y: size.height - radius)
50 | }
51 | .frame(width: size.width, height: size.height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .onAppear {
53 | startAnimation(moveDistance: moveDistance)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:52:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
24 |
25 | // MARK: - Body
26 | var body: some View {
| `- note: add @available attribute to enclosing property
27 | GeometryReader { geometry in
28 | let size = geometry.size
:
50 | }
51 | .frame(width: size.width, height: size.height)
52 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | startAnimation(moveDistance: moveDistance)
54 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:60:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:61:4: error: setter for 'offset0' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
| |- error: setter for 'offset0' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:64:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
62 | }
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
66 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:65:4: error: setter for 'offset1' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
63 |
64 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
65 | offset1 = CGSize(width: -moveDistance / 2, height: moveDistance)
| |- error: setter for 'offset1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:18: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:68:48: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
66 | }
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/TriangleDotShiftView.swift:69:4: error: setter for 'offset2' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - TriangleDotShiftView
15 | struct TriangleDotShiftView: View {
| `- note: add @available attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
57 |
58 | // MARK: - Private Methods
59 | private func startAnimation(moveDistance: CGFloat) {
| `- note: add @available attribute to enclosing instance method
60 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
61 | offset0 = CGSize(width: moveDistance, height: 0)
:
67 |
68 | withAnimation(.easeInOut(duration: duration).repeatForever(autoreverses: false)) {
69 | offset2 = CGSize(width: -moveDistance / 2, height: -moveDistance)
| |- error: setter for 'offset2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 | }
BUILD FAILURE 6.1 macosSpm