Build Information
Failed to build ProgressHUD, reference 15.0.3 (25471d), with Swift 6.2 for macOS (SPM) on 15 Sep 2026 01:02:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
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/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/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/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/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/CircleRippleSingleView.swift:26:3: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| `- note: add '@available' attribute to enclosing property
26 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .stroke(color, lineWidth: 5)
28 | .scaleEffect(scale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:27:5: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(color, lineWidth: 5)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | .scaleEffect(scale)
29 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:28:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(color, lineWidth: 5)
28 | .scaleEffect(scale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .opacity(opacity)
30 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:29:5: error: 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(color, lineWidth: 5)
28 | .scaleEffect(scale)
29 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .onAppear {
31 | startRipple()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:30:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
23 |
24 | // MARK: - Body
25 | var body: some View {
| `- note: add '@available' attribute to enclosing property
26 | Circle()
27 | .stroke(color, lineWidth: 5)
28 | .scaleEffect(scale)
29 | .opacity(opacity)
30 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | startRipple()
32 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:37:52: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | scale = 1
39 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:38:4: error: setter for 'scale' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
| |- error: setter for 'scale' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:41:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
39 | }
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | opacity = 0
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRippleSingleView.swift:42:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRippleSingleView
15 | struct CircleRippleSingleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
34 |
35 | // MARK: - Private Methods
36 | private func startRipple() {
| `- note: add '@available' attribute to enclosing instance method
37 | withAnimation(.easeOut(duration: duration * 0.7).repeatForever(autoreverses: false)) {
38 | scale = 1
:
40 |
41 | withAnimation(.easeIn(duration: duration).repeatForever(autoreverses: false)) {
42 | opacity = 0
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:18:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | @State private var isAnimating = false
20 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var isAnimating = false
| `- error: 'State' is only available in macOS 10.15 or newer
20 |
21 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:22:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:23:3: error: 'GeometryReader' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | let size = geometry.size
25 | let spacing: CGFloat = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:23:18: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | let size = geometry.size
25 | let spacing: CGFloat = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:23: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: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | 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
24 | let size = geometry.size
25 | let spacing: CGFloat = 3
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:29:4: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
27 | let pathRadius = dotSize * 2
28 |
29 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | ForEach(0..<5) { i in
31 | let rate = Double(i) / 5.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:29:4: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
27 | let pathRadius = dotSize * 2
28 |
29 | ZStack {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | ForEach(0..<5) { i in
31 | let rate = Double(i) / 5.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:29: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: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
27 | let pathRadius = dotSize * 2
28 |
29 | 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
30 | ForEach(0..<5) { i in
31 | let rate = Double(i) / 5.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:30:5: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
28 |
29 | ZStack {
30 | ForEach(0..<5) { i in
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | let rate = Double(i) / 5.0
32 | let fromScale = 1 - rate
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:30:5: error: 'ForEach' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
28 |
29 | ZStack {
30 | ForEach(0..<5) { i in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | let rate = Double(i) / 5.0
32 | let fromScale = 1 - rate
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:30:5: error: 'init(_:content:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
28 |
29 | ZStack {
30 | ForEach(0..<5) { i in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | let rate = Double(i) / 5.0
32 | let fromScale = 1 - rate
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:30:20: 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: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
28 |
29 | ZStack {
30 | ForEach(0..<5) { i 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
31 | let rate = Double(i) / 5.0
32 | let fromScale = 1 - rate
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:35:22: error: 'Animation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
33 | let toScale = 0.2 + rate
34 |
35 | let animation = Animation.timingCurve(0.5, 0.15 + rate, 0.25, 1, duration: 1.5)
| |- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .repeatForever(autoreverses: false)
37 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:35:32: error: 'timingCurve(_:_:_:_:duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
33 | let toScale = 0.2 + rate
34 |
35 | let animation = Animation.timingCurve(0.5, 0.15 + rate, 0.25, 1, duration: 1.5)
| |- error: 'timingCurve(_:_:_:_:duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .repeatForever(autoreverses: false)
37 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:36:8: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
34 |
35 | let animation = Animation.timingCurve(0.5, 0.15 + rate, 0.25, 1, duration: 1.5)
36 | .repeatForever(autoreverses: false)
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 |
38 | Color.clear
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:38:6: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
36 | .repeatForever(autoreverses: false)
37 |
38 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | .frame(width: size.width, height: size.height)
40 | .overlay(
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:38:12: error: 'clear' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
36 | .repeatForever(autoreverses: false)
37 |
38 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | .frame(width: size.width, height: size.height)
40 | .overlay(
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:39:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
37 |
38 | Color.clear
39 | .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
40 | .overlay(
41 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:40:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
38 | Color.clear
39 | .frame(width: size.width, height: size.height)
40 | .overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | Circle()
42 | .fill(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:41:8: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
39 | .frame(width: size.width, height: size.height)
40 | .overlay(
41 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .fill(color)
43 | .frame(width: dotSize, height: dotSize)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:42:10: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
40 | .overlay(
41 | Circle()
42 | .fill(color)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
43 | .frame(width: dotSize, height: dotSize)
44 | .scaleEffect(isAnimating ? toScale : fromScale)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:43:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
41 | Circle()
42 | .fill(color)
43 | .frame(width: dotSize, height: dotSize)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | .scaleEffect(isAnimating ? toScale : fromScale)
45 | .offset(y: -pathRadius)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:44:10: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
42 | .fill(color)
43 | .frame(width: dotSize, height: dotSize)
44 | .scaleEffect(isAnimating ? toScale : fromScale)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .offset(y: -pathRadius)
46 | )
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:45:10: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
43 | .frame(width: dotSize, height: dotSize)
44 | .scaleEffect(isAnimating ? toScale : fromScale)
45 | .offset(y: -pathRadius)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | )
47 | .rotationEffect(.degrees(isAnimating ? 360 : 0))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:47:8: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
45 | .offset(y: -pathRadius)
46 | )
47 | .rotationEffect(.degrees(isAnimating ? 360 : 0))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | .animation(animation, value: isAnimating)
49 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:48:8: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
46 | )
47 | .rotationEffect(.degrees(isAnimating ? 360 : 0))
48 | .animation(animation, value: isAnimating)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:29:11: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
27 | let pathRadius = dotSize * 2
28 |
29 | ZStack {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | ForEach(0..<5) { i in
31 | let rate = Double(i) / 5.0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:51:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
49 | }
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 | .scaleEffect(1.15)
53 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:52:5: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
50 | }
51 | .frame(width: size.width, height: size.height)
52 | .scaleEffect(1.15)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | .onAppear {
54 | isAnimating = true
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:53:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
51 | .frame(width: size.width, height: size.height)
52 | .scaleEffect(1.15)
53 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | isAnimating = true
55 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleRotateChaseView.swift:54:5: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleRotateChaseView
15 | struct CircleRotateChaseView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | GeometryReader { geometry in
24 | let size = geometry.size
:
52 | .scaleEffect(1.15)
53 | .onAppear {
54 | isAnimating = true
| |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:18:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var trimEnd: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let color: Color
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var rotation: Double = 0
22 | @State private var animationTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
19 | @State private var trimEnd: CGFloat = 0
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
| `- error: 'State' is only available in macOS 10.15 or newer
22 | @State private var animationTask: Task<Void, Never>?
23 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:22:36: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
22 | @State private var animationTask: Task<Void, Never>?
| `- error: 'Task' is only available in macOS 10.15 or newer
23 |
24 | private let duration: Double = 1.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 | @State private var trimStart: CGFloat = 0
21 | @State private var rotation: Double = 0
22 | @State private var animationTask: Task<Void, Never>?
| `- error: 'State' is only available in macOS 10.15 or newer
23 |
24 | private let duration: Double = 1.7
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:27:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:28:3: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(color, style: StrokeStyle(lineWidth: 3, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:29:5: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .stroke(color, style: StrokeStyle(lineWidth: 3, lineCap: .round))
31 | .rotationEffect(.degrees(rotation - 90))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:30:5: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(color, style: StrokeStyle(lineWidth: 3, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
31 | .rotationEffect(.degrees(rotation - 90))
32 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:30:26: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(color, style: StrokeStyle(lineWidth: 3, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | .rotationEffect(.degrees(rotation - 90))
32 | .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:31:5: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(color, style: StrokeStyle(lineWidth: 3, lineCap: .round))
31 | .rotationEffect(.degrees(rotation - 90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | .onAppear {
33 | startAnimation()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:32:5: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
30 | .stroke(color, style: StrokeStyle(lineWidth: 3, lineCap: .round))
31 | .rotationEffect(.degrees(rotation - 90))
32 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | startAnimation()
34 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:35:5: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
:
33 | startAnimation()
34 | }
35 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | animationTask?.cancel()
37 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:36:20: error: 'cancel()' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
25 |
26 | // MARK: - Body
27 | var body: some View {
| `- note: add '@available' attribute to enclosing property
28 | Circle()
29 | .trim(from: trimStart, to: trimEnd)
:
34 | }
35 | .onDisappear {
36 | animationTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:3: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:18: error: 'linear(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:42:45: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | rotation = 360
44 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:43:4: error: setter for 'rotation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
| |- error: setter for 'rotation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:3: error: setter for 'animationTask' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: setter for 'animationTask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:46:19: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
44 | }
45 |
46 | animationTask = Task { @MainActor in
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | while !Task.isCancelled {
48 | trimStart = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:11: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:47:16: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
45 |
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | trimStart = 0
49 | trimEnd = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:48:5: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
46 | animationTask = Task { @MainActor in
47 | while !Task.isCancelled {
48 | trimStart = 0
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | trimEnd = 0
50 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:49:5: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
47 | while !Task.isCancelled {
48 | trimStart = 0
49 | trimEnd = 0
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:51:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
49 | trimEnd = 0
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | trimEnd = 0.75
53 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:52:6: error: setter for 'trimEnd' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
50 |
51 | withAnimation(.easeInOut(duration: duration * 0.4)) {
52 | trimEnd = 0.75
| |- error: setter for 'trimEnd' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:55:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
53 | }
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
56 | if Task.isCancelled { break }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:8: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:56:13: error: 'isCancelled' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
54 |
55 | try? await Task.sleep(for: .seconds(duration * 0.5))
56 | if Task.isCancelled { break }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:5: error: 'withAnimation' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:58:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
56 | if Task.isCancelled { break }
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | trimStart = 0.75
60 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:59:6: error: setter for 'trimStart' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
57 |
58 | withAnimation(.easeInOut(duration: duration * 0.4)) {
59 | trimStart = 0.75
| |- error: setter for 'trimStart' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:16: error: 'Task' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:21: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/CircleStrokeSpinView.swift:62:33: error: 'seconds' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - CircleStrokeSpinView
15 | struct CircleStrokeSpinView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
39 |
40 | // MARK: - Private Methods
41 | private func startAnimation() {
| `- note: add '@available' attribute to enclosing instance method
42 | withAnimation(.linear(duration: duration).repeatForever(autoreverses: false)) {
43 | rotation = 360
:
60 | }
61 |
62 | try? await Task.sleep(for: .seconds(duration * 0.5))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[32/33] Compiling ProgressHUD ProgressView.swift
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:19:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let progress: CGFloat
19 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:22:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/ActivityIndicatorView.swift:29:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
27 | }
28 |
29 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
30 | ActivityIndicatorView(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/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/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:23:3: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:6: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:19: error: 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:27:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
27 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:28:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
26 |
27 | Circle()
28 | .trim(from: 0, to: progress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:30:6: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 |
32 | Text("\(Int(progress * 100))%")
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: error: 'Text' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:6: error: 'font' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:12: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:34:6: error: 'foregroundStyle' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:4: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:15: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
[33/33] Compiling ProgressHUD resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:19:13: error: 'Color' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
18 | let progress: CGFloat
19 | let color: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | // MARK: - Body
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:22:17: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:40:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
38 | }
39 |
40 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:41:45: error: 'gray' is only available in macOS 10.15 or newer
39 |
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .frame(width: 70, height: 70)
43 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:42:4: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
40 | #Preview {
41 | ProgressCircleView(progress: 0.65, color: .gray)
42 | .frame(width: 70, height: 70)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/Animations/ActivityIndicatorView.swift:29:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
27 | }
28 |
29 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
30 | ActivityIndicatorView(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/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/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:23:3: error: 'ZStack' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:24:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:6: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:25:19: error: 'opacity' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 |
27 | Circle()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:27:4: error: 'Circle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
26 |
27 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:28:6: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
26 |
27 | Circle()
28 | .trim(from: 0, to: progress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:6: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:29:27: error: 'StrokeStyle' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
27 | Circle()
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .rotationEffect(.degrees(-90))
31 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:30:6: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
28 | .trim(from: 0, to: progress)
29 | .stroke(color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
30 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 |
32 | Text("\(Int(progress * 100))%")
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:32:4: error: 'Text' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
30 | .rotationEffect(.degrees(-90))
31 |
32 | Text("\(Int(progress * 100))%")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:6: error: 'font' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:33:12: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
31 |
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(color)
35 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:34:6: error: 'foregroundStyle' is only available in macOS 14.0 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
32 | Text("\(Int(progress * 100))%")
33 | .font(.system(size: 12, weight: .semibold))
34 | .foregroundStyle(color)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:23:10: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
24 | Circle()
25 | .stroke(color.opacity(0.3), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:4: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressView.swift:36:15: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - ProgressCircleView
15 | struct ProgressCircleView: View {
| `- note: add '@available' attribute to enclosing struct
16 |
17 | // MARK: - Properties
:
20 |
21 | // MARK: - Body
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | ZStack {
24 | Circle()
:
34 | .foregroundStyle(color)
35 | }
36 | .animation(.easeInOut(duration: 0.2), value: progress)
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
BUILD FAILURE 6.2 macosSpm