Build Information
Failed to build IntelligenceGlow, reference 1.0.0 (f7930b), with Swift 6.2 for macOS (SPM) on 2 May 2026 12:21:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
45 | }
46 |
47 | public extension InsettableShape {
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
:
55 | /// - Returns: A view that renders the shape with a glowing gradient stroke.
56 | @MainActor
57 | func intelligenceStroke(
| `- note: add '@available' attribute to enclosing instance method
58 | lineWidths: [CGFloat] = [6, 9, 11, 15],
59 | blurs: [CGFloat] = [0, 4, 12, 15],
60 | updateInterval: TimeInterval = 0.4,
61 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
62 | gradientGenerator: @MainActor @Sendable @escaping () -> [Gradient.Stop] = { .intelligenceStyle }
| `- error: 'Gradient' is only available in macOS 10.15 or newer
63 | ) -> some View {
64 | IntelligenceStrokeView(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:63:15: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | public extension InsettableShape {
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
:
55 | /// - Returns: A view that renders the shape with a glowing gradient stroke.
56 | @MainActor
57 | func intelligenceStroke(
| `- note: add '@available' attribute to enclosing instance method
58 | lineWidths: [CGFloat] = [6, 9, 11, 15],
59 | blurs: [CGFloat] = [0, 4, 12, 15],
:
61 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
62 | gradientGenerator: @MainActor @Sendable @escaping () -> [Gradient.Stop] = { .intelligenceStyle }
63 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
64 | IntelligenceStrokeView(
65 | shape: self,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:47:18: error: 'InsettableShape' is only available in macOS 10.15 or newer
45 | }
46 |
47 | public extension InsettableShape {
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:86:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
84 | let gradientGenerator: @MainActor @Sendable () -> [Gradient.Stop]
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:84:56: error: 'Gradient' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
82 | let updateInterval: TimeInterval
83 | let animationDurations: [TimeInterval]
84 | let gradientGenerator: @MainActor @Sendable () -> [Gradient.Stop]
| `- error: 'Gradient' is only available in macOS 10.15 or newer
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:86:6: error: 'Environment' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
84 | let gradientGenerator: @MainActor @Sendable () -> [Gradient.Stop]
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'Environment' is only available in macOS 10.15 or newer
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:87:32: error: 'Gradient' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
| `- error: 'Gradient' is only available in macOS 10.15 or newer
88 |
89 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:87:6: error: 'State' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
| `- error: 'State' is only available in macOS 10.15 or newer
88 |
89 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:89:20: error: 'View' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:78:42: error: 'InsettableShape' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:5:31: error: 'InsettableShape' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:7:22: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
| `- error: 'Color' is only available in macOS 10.15 or newer
8 | colors: [Color] = .intelligenceColors,
9 | blurRadius: CGFloat = 18,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:8:18: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
8 | colors: [Color] = .intelligenceColors,
| `- error: 'Color' is only available in macOS 10.15 or newer
9 | blurRadius: CGFloat = 18,
10 | lineWidth: CGFloat = 0.7,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:13:15: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
:
11 | sweepSpan: Double = 130,
12 | sweepOffset: Double = 140
13 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
14 | modifier(
15 | IntelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:7:31: error: 'primary' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
| `- error: 'primary' is only available in macOS 10.15 or newer
8 | colors: [Color] = .intelligenceColors,
9 | blurRadius: CGFloat = 18,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
6 | in shape: S,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:38:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
36 | let sweepOffset: Double
37 |
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
39 |
40 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:31:22: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | let colors: [Color]
33 | let blurRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:32:18: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
32 | let colors: [Color]
| `- error: 'Color' is only available in macOS 10.15 or newer
33 | let blurRadius: CGFloat
34 | let lineWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:38:6: error: 'Environment' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
36 | let sweepOffset: Double
37 |
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'Environment' is only available in macOS 10.15 or newer
39 |
40 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:40:41: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:61:57: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
58 | }
59 |
60 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:29:37: error: 'InsettableShape' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:26:16: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
24 | .intelligenceBackground(in: .capsule)
25 |
26 | if #available(iOS 26.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:3:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:5: error: 'VStack' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:6:13: error: 'Text' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
7 | .font(.headline)
8 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:7:18: error: 'font' is only available in macOS 10.15 or newer
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
7 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
8 | .padding(22)
9 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:7:24: error: 'headline' is only available in macOS 10.15 or newer
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
7 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
8 | .padding(22)
9 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:8:18: error: 'padding' is only available in macOS 10.15 or newer
6 | Text("Intelligence Sweep")
7 | .font(.headline)
8 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | .intelligenceSweep(
10 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:9:18: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
7 | .font(.headline)
8 | .padding(22)
9 | .intelligenceSweep(
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | in: .capsule,
11 | borderColor: .purple,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:10:26: error: 'capsule' is only available in macOS 10.15 or newer
8 | .padding(22)
9 | .intelligenceSweep(
10 | in: .capsule,
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | borderColor: .purple,
12 | sweepSpan: 130,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:11:35: error: 'purple' is only available in macOS 10.15 or newer
9 | .intelligenceSweep(
10 | in: .capsule,
11 | borderColor: .purple,
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | sweepSpan: 130,
13 | sweepOffset: 140
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:16:13: error: 'Text' is only available in macOS 10.15 or newer
14 | )
15 |
16 | Text("Intelligence Glow Overlay")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | .font(.headline)
18 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:17:18: error: 'font' is only available in macOS 10.15 or newer
15 |
16 | Text("Intelligence Glow Overlay")
17 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:17:24: error: 'headline' is only available in macOS 10.15 or newer
15 |
16 | Text("Intelligence Glow Overlay")
17 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:18:18: error: 'padding' is only available in macOS 10.15 or newer
16 | Text("Intelligence Glow Overlay")
17 | .font(.headline)
18 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
20 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:19:18: error: conformance of 'RoundedRectangle' to 'InsettableShape' is only available in macOS 10.15 or newer
17 | .font(.headline)
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
| |- error: conformance of 'RoundedRectangle' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | Text("Intelligence Glow Background")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:19:43: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
17 | .font(.headline)
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | Text("Intelligence Glow Background")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:21:13: error: 'Text' is only available in macOS 10.15 or newer
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
20 |
21 | Text("Intelligence Glow Background")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:22:18: error: 'font' is only available in macOS 10.15 or newer
20 |
21 | Text("Intelligence Glow Background")
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:22:24: error: 'headline' is only available in macOS 10.15 or newer
20 |
21 | Text("Intelligence Glow Background")
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:23:18: error: 'padding' is only available in macOS 10.15 or newer
21 | Text("Intelligence Glow Background")
22 | .font(.headline)
23 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | .intelligenceBackground(in: .capsule)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:24:18: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
22 | .font(.headline)
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 |
26 | if #available(iOS 26.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:24:46: error: 'capsule' is only available in macOS 10.15 or newer
22 | .font(.headline)
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 |
26 | if #available(iOS 26.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:27:17: error: 'Text' is only available in macOS 10.15 or newer
25 |
26 | if #available(iOS 26.0, *) {
27 | Text("Intelligence Glow Glass Background")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .font(.headline)
29 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:28:22: error: 'font' is only available in macOS 10.15 or newer
26 | if #available(iOS 26.0, *) {
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .padding(22)
30 | .glassEffect()
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:28:28: error: 'headline' is only available in macOS 10.15 or newer
26 | if #available(iOS 26.0, *) {
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .padding(22)
30 | .glassEffect()
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:29:22: error: 'padding' is only available in macOS 10.15 or newer
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
29 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .glassEffect()
31 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:30:22: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
28 | .font(.headline)
29 | .padding(22)
30 | .glassEffect()
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
31 | .intelligenceBackground(in: .capsule)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:31:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
29 | .padding(22)
30 | .glassEffect()
31 | .intelligenceBackground(in: .capsule)
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 |
33 | Text("Intelligence Glass Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:31:50: error: 'capsule' is only available in macOS 10.15 or newer
29 | .padding(22)
30 | .glassEffect()
31 | .intelligenceBackground(in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 |
33 | Text("Intelligence Glass Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:33:17: error: 'Text' is only available in macOS 10.15 or newer
31 | .intelligenceBackground(in: .capsule)
32 |
33 | Text("Intelligence Glass Sweep")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .font(.headline)
35 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:34:22: error: 'font' is only available in macOS 10.15 or newer
32 |
33 | Text("Intelligence Glass Sweep")
34 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .padding(22)
36 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:34:28: error: 'headline' is only available in macOS 10.15 or newer
32 |
33 | Text("Intelligence Glass Sweep")
34 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .padding(22)
36 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:35:22: error: 'padding' is only available in macOS 10.15 or newer
33 | Text("Intelligence Glass Sweep")
34 | .font(.headline)
35 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .glassEffect(.clear)
37 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:36:22: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
34 | .font(.headline)
35 | .padding(22)
36 | .glassEffect(.clear)
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
37 | .intelligenceSweep(
38 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:37:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
35 | .padding(22)
36 | .glassEffect(.clear)
37 | .intelligenceSweep(
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | in: .capsule,
39 | blurRadius: 45,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:38:30: error: 'capsule' is only available in macOS 10.15 or newer
36 | .glassEffect(.clear)
37 | .intelligenceSweep(
38 | in: .capsule,
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | blurRadius: 45,
40 | sweepSpan: 90,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:44:17: error: 'Text' is only available in macOS 10.15 or newer
42 | )
43 |
44 | Text("Intelligence Sweep + Intelligence Glow")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .font(.headline)
46 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:45:22: error: 'font' is only available in macOS 10.15 or newer
43 |
44 | Text("Intelligence Sweep + Intelligence Glow")
45 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .padding(22)
47 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:45:28: error: 'headline' is only available in macOS 10.15 or newer
43 |
44 | Text("Intelligence Sweep + Intelligence Glow")
45 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .padding(22)
47 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:46:22: error: 'padding' is only available in macOS 10.15 or newer
44 | Text("Intelligence Sweep + Intelligence Glow")
45 | .font(.headline)
46 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:47:22: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
45 | .font(.headline)
46 | .padding(22)
47 | .glassEffect(.clear)
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
48 | .intelligenceBackground(in: .capsule)
49 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:48:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
46 | .padding(22)
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .intelligenceSweep(
50 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:48:50: error: 'capsule' is only available in macOS 10.15 or newer
46 | .padding(22)
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .intelligenceSweep(
50 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:49:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
49 | .intelligenceSweep(
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | in: .capsule,
51 | blurRadius: 45,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:50:30: error: 'capsule' is only available in macOS 10.15 or newer
48 | .intelligenceBackground(in: .capsule)
49 | .intelligenceSweep(
50 | in: .capsule,
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | blurRadius: 45,
52 | sweepSpan: 90,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:26:40: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
24 | .intelligenceBackground(in: .capsule)
25 |
26 | if #available(iOS 26.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:26:40: error: 'buildIf' is only available in macOS 10.15 or newer
24 | .intelligenceBackground(in: .capsule)
25 |
26 | if #available(iOS 26.0, *) {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:55:13: error: 'buildIf' is only available in macOS 10.15 or newer
53 | sweepOffset: 220
54 | )
55 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:36: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:36: error: 'buildIf' is only available in macOS 10.15 or newer
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:56:9: error: 'buildIf' is only available in macOS 10.15 or newer
54 | )
55 | }
56 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:25: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:3:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | #Preview {
| `- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:3:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | #Preview {
| `- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[4/7] Compiling IntelligenceGlow IntelligenceGlow.swift
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:6:36: error: 'InsettableShape' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
6 | func intelligenceBackground<S: InsettableShape>(
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
7 | in shape: S,
8 | lineWidths: [CGFloat] = [6, 9, 11, 15],
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:12:79: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
6 | func intelligenceBackground<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
7 | in shape: S,
8 | lineWidths: [CGFloat] = [6, 9, 11, 15],
:
10 | updateInterval: TimeInterval = 0.4,
11 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
12 | gradientGenerator: @MainActor @Sendable @escaping @autoclosure () -> [Gradient.Stop] = .intelligenceStyle
| `- error: 'Gradient' is only available in macOS 10.15 or newer
13 | ) -> some View {
14 | background(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:13:15: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
6 | func intelligenceBackground<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
7 | in shape: S,
8 | lineWidths: [CGFloat] = [6, 9, 11, 15],
:
11 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
12 | gradientGenerator: @MainActor @Sendable @escaping @autoclosure () -> [Gradient.Stop] = .intelligenceStyle
13 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
14 | background(
15 | shape.intelligenceStroke(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:27:33: error: 'InsettableShape' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
:
25 | /// Applies a glowing angular-gradient stroke as an overlay using the provided shape.
26 | @MainActor
27 | func intelligenceOverlay<S: InsettableShape>(
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
28 | in shape: S,
29 | lineWidths: [CGFloat] = [6, 9, 11, 15],
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:33:79: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
:
25 | /// Applies a glowing angular-gradient stroke as an overlay using the provided shape.
26 | @MainActor
27 | func intelligenceOverlay<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
28 | in shape: S,
29 | lineWidths: [CGFloat] = [6, 9, 11, 15],
:
31 | updateInterval: TimeInterval = 0.4,
32 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
33 | gradientGenerator: @MainActor @Sendable @escaping @autoclosure () -> [Gradient.Stop] = .intelligenceStyle
| `- error: 'Gradient' is only available in macOS 10.15 or newer
34 | ) -> some View {
35 | overlay(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:34:15: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
:
25 | /// Applies a glowing angular-gradient stroke as an overlay using the provided shape.
26 | @MainActor
27 | func intelligenceOverlay<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
28 | in shape: S,
29 | lineWidths: [CGFloat] = [6, 9, 11, 15],
:
32 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
33 | gradientGenerator: @MainActor @Sendable @escaping @autoclosure () -> [Gradient.Stop] = .intelligenceStyle
34 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
35 | overlay(
36 | shape.intelligenceStroke(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:3:18: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:62:66: error: 'Gradient' is only available in macOS 10.15 or newer
45 | }
46 |
47 | public extension InsettableShape {
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
:
55 | /// - Returns: A view that renders the shape with a glowing gradient stroke.
56 | @MainActor
57 | func intelligenceStroke(
| `- note: add '@available' attribute to enclosing instance method
58 | lineWidths: [CGFloat] = [6, 9, 11, 15],
59 | blurs: [CGFloat] = [0, 4, 12, 15],
60 | updateInterval: TimeInterval = 0.4,
61 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
62 | gradientGenerator: @MainActor @Sendable @escaping () -> [Gradient.Stop] = { .intelligenceStyle }
| `- error: 'Gradient' is only available in macOS 10.15 or newer
63 | ) -> some View {
64 | IntelligenceStrokeView(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:63:15: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | public extension InsettableShape {
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
:
55 | /// - Returns: A view that renders the shape with a glowing gradient stroke.
56 | @MainActor
57 | func intelligenceStroke(
| `- note: add '@available' attribute to enclosing instance method
58 | lineWidths: [CGFloat] = [6, 9, 11, 15],
59 | blurs: [CGFloat] = [0, 4, 12, 15],
:
61 | animationDurations: [TimeInterval] = [0.5, 0.6, 0.8, 1.0],
62 | gradientGenerator: @MainActor @Sendable @escaping () -> [Gradient.Stop] = { .intelligenceStyle }
63 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
64 | IntelligenceStrokeView(
65 | shape: self,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:47:18: error: 'InsettableShape' is only available in macOS 10.15 or newer
45 | }
46 |
47 | public extension InsettableShape {
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:86:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
84 | let gradientGenerator: @MainActor @Sendable () -> [Gradient.Stop]
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:84:56: error: 'Gradient' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
82 | let updateInterval: TimeInterval
83 | let animationDurations: [TimeInterval]
84 | let gradientGenerator: @MainActor @Sendable () -> [Gradient.Stop]
| `- error: 'Gradient' is only available in macOS 10.15 or newer
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:86:6: error: 'Environment' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
84 | let gradientGenerator: @MainActor @Sendable () -> [Gradient.Stop]
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'Environment' is only available in macOS 10.15 or newer
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:87:32: error: 'Gradient' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
| `- error: 'Gradient' is only available in macOS 10.15 or newer
88 |
89 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:87:6: error: 'State' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
85 |
86 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
| `- error: 'State' is only available in macOS 10.15 or newer
88 |
89 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:89:20: error: 'View' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:78:42: error: 'InsettableShape' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:14:9: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
6 | func intelligenceBackground<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
7 | in shape: S,
8 | lineWidths: [CGFloat] = [6, 9, 11, 15],
:
12 | gradientGenerator: @MainActor @Sendable @escaping @autoclosure () -> [Gradient.Stop] = .intelligenceStyle
13 | ) -> some View {
14 | background(
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | shape.intelligenceStroke(
16 | lineWidths: lineWidths,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:35:9: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add '@available' attribute to enclosing extension
4 | /// Applies a glowing angular-gradient stroke as a background using the provided shape.
5 | @MainActor
:
25 | /// Applies a glowing angular-gradient stroke as an overlay using the provided shape.
26 | @MainActor
27 | func intelligenceOverlay<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
28 | in shape: S,
29 | lineWidths: [CGFloat] = [6, 9, 11, 15],
:
33 | gradientGenerator: @MainActor @Sendable @escaping @autoclosure () -> [Gradient.Stop] = .intelligenceStyle
34 | ) -> some View {
35 | overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | shape.intelligenceStroke(
37 | lineWidths: lineWidths,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:72:10: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
45 | }
46 |
47 | public extension InsettableShape {
| `- note: add '@available' attribute to enclosing extension
48 | /// Applies an Apple Intelligence–style animated angular-gradient glow stroke to any Shape.
49 | /// - Parameters:
:
55 | /// - Returns: A view that renders the shape with a glowing gradient stroke.
56 | @MainActor
57 | func intelligenceStroke(
| `- note: add '@available' attribute to enclosing instance method
58 | lineWidths: [CGFloat] = [6, 9, 11, 15],
59 | blurs: [CGFloat] = [0, 4, 12, 15],
:
70 | gradientGenerator: gradientGenerator
71 | )
72 | .allowsHitTesting(false)
| |- error: 'allowsHitTesting' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:91:24: error: 'AngularGradient' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
| |- error: 'AngularGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | gradient: Gradient(stops: stops),
93 | center: .center
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:92:23: error: 'Gradient' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
92 | gradient: Gradient(stops: stops),
| |- error: 'Gradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | center: .center
94 | )
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:96:9: error: 'ZStack' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
94 | )
95 |
96 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | ForEach(0..<layerCount, id: \.self) { i in
98 | shape
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:96:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
94 | )
95 |
96 | ZStack {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | ForEach(0..<layerCount, id: \.self) { i in
98 | shape
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:97:13: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
95 |
96 | ZStack {
97 | ForEach(0..<layerCount, id: \.self) { i in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | shape
99 | .strokeBorder(gradient, lineWidth: lineWidths[i])
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:97:13: error: 'ForEach' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
95 |
96 | ZStack {
97 | ForEach(0..<layerCount, id: \.self) { i in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | shape
99 | .strokeBorder(gradient, lineWidth: lineWidths[i])
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:97:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
95 |
96 | ZStack {
97 | ForEach(0..<layerCount, id: \.self) { i in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | shape
99 | .strokeBorder(gradient, lineWidth: lineWidths[i])
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:99:22: error: 'strokeBorder(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
97 | ForEach(0..<layerCount, id: \.self) { i in
98 | shape
99 | .strokeBorder(gradient, lineWidth: lineWidths[i])
| |- error: 'strokeBorder(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
100 | .blur(radius: blurs[i])
101 | .animation(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:100:22: error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
98 | shape
99 | .strokeBorder(gradient, lineWidth: lineWidths[i])
100 | .blur(radius: blurs[i])
| |- error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .animation(
102 | reduceMotion ? .linear(duration: 0) : .easeInOut(duration: animationDurations[i]),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:101:22: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
99 | .strokeBorder(gradient, lineWidth: lineWidths[i])
100 | .blur(radius: blurs[i])
101 | .animation(
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | reduceMotion ? .linear(duration: 0) : .easeInOut(duration: animationDurations[i]),
103 | value: stops
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:102:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
100 | .blur(radius: blurs[i])
101 | .animation(
102 | reduceMotion ? .linear(duration: 0) : .easeInOut(duration: animationDurations[i]),
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | value: stops
104 | )
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:102:64: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
100 | .blur(radius: blurs[i])
101 | .animation(
102 | reduceMotion ? .linear(duration: 0) : .easeInOut(duration: animationDurations[i]),
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | value: stops
104 | )
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:96:16: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
94 | )
95 |
96 | ZStack {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | ForEach(0..<layerCount, id: \.self) { i in
98 | shape
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:107:10: error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
105 | }
106 | }
107 | .task(id: updateInterval) {
| |- error: 'task(id:priority:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
108 | while !Task.isCancelled {
109 | stops = gradientGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:108:20: error: 'Task' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
106 | }
107 | .task(id: updateInterval) {
108 | while !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | stops = gradientGenerator()
110 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:108:25: error: 'isCancelled' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
106 | }
107 | .task(id: updateInterval) {
108 | while !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | stops = gradientGenerator()
110 | if #available(iOS 16.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:109:17: error: setter for 'stops' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
107 | .task(id: updateInterval) {
108 | while !Task.isCancelled {
109 | stops = gradientGenerator()
| |- error: setter for 'stops' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | if #available(iOS 16.0, *) {
111 | try? await Task.sleep(for: .seconds(updateInterval))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:111:32: error: 'Task' is only available in macOS 10.15 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
109 | stops = gradientGenerator()
110 | if #available(iOS 16.0, *) {
111 | try? await Task.sleep(for: .seconds(updateInterval))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | } else {
113 | try? await Task.sleep(nanoseconds: UInt64(updateInterval * 1_000_000_000))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:111:37: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
109 | stops = gradientGenerator()
110 | if #available(iOS 16.0, *) {
111 | try? await Task.sleep(for: .seconds(updateInterval))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
112 | } else {
113 | try? await Task.sleep(nanoseconds: UInt64(updateInterval * 1_000_000_000))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceGlow.swift:111:49: error: 'seconds' is only available in macOS 13.0 or newer
76 | // MARK: - Generic glow stroke for any Shape
77 |
78 | private struct IntelligenceStrokeView<S: InsettableShape>: View {
| `- note: add '@available' attribute to enclosing generic struct
79 | let shape: S
80 | let lineWidths: [CGFloat]
:
87 | @State private var stops: [Gradient.Stop] = .intelligenceStyle
88 |
89 | var body: some View {
| `- note: add '@available' attribute to enclosing property
90 | let layerCount = min(lineWidths.count, blurs.count, animationDurations.count)
91 | let gradient = AngularGradient(
:
109 | stops = gradientGenerator()
110 | if #available(iOS 16.0, *) {
111 | try? await Task.sleep(for: .seconds(updateInterval))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
112 | } else {
113 | try? await Task.sleep(nanoseconds: UInt64(updateInterval * 1_000_000_000))
[5/7] Compiling IntelligenceGlow Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:26:16: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
24 | .intelligenceBackground(in: .capsule)
25 |
26 | if #available(iOS 26.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:3:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:5: error: 'VStack' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:6:13: error: 'Text' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
7 | .font(.headline)
8 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:7:18: error: 'font' is only available in macOS 10.15 or newer
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
7 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
8 | .padding(22)
9 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:7:24: error: 'headline' is only available in macOS 10.15 or newer
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
7 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
8 | .padding(22)
9 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:8:18: error: 'padding' is only available in macOS 10.15 or newer
6 | Text("Intelligence Sweep")
7 | .font(.headline)
8 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | .intelligenceSweep(
10 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:9:18: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
7 | .font(.headline)
8 | .padding(22)
9 | .intelligenceSweep(
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | in: .capsule,
11 | borderColor: .purple,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:10:26: error: 'capsule' is only available in macOS 10.15 or newer
8 | .padding(22)
9 | .intelligenceSweep(
10 | in: .capsule,
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | borderColor: .purple,
12 | sweepSpan: 130,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:11:35: error: 'purple' is only available in macOS 10.15 or newer
9 | .intelligenceSweep(
10 | in: .capsule,
11 | borderColor: .purple,
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | sweepSpan: 130,
13 | sweepOffset: 140
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:16:13: error: 'Text' is only available in macOS 10.15 or newer
14 | )
15 |
16 | Text("Intelligence Glow Overlay")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | .font(.headline)
18 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:17:18: error: 'font' is only available in macOS 10.15 or newer
15 |
16 | Text("Intelligence Glow Overlay")
17 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:17:24: error: 'headline' is only available in macOS 10.15 or newer
15 |
16 | Text("Intelligence Glow Overlay")
17 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:18:18: error: 'padding' is only available in macOS 10.15 or newer
16 | Text("Intelligence Glow Overlay")
17 | .font(.headline)
18 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
20 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:19:18: error: conformance of 'RoundedRectangle' to 'InsettableShape' is only available in macOS 10.15 or newer
17 | .font(.headline)
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
| |- error: conformance of 'RoundedRectangle' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | Text("Intelligence Glow Background")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:19:43: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
17 | .font(.headline)
18 | .padding(22)
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | Text("Intelligence Glow Background")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:21:13: error: 'Text' is only available in macOS 10.15 or newer
19 | .intelligenceOverlay(in: .rect(cornerRadius: 22))
20 |
21 | Text("Intelligence Glow Background")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:22:18: error: 'font' is only available in macOS 10.15 or newer
20 |
21 | Text("Intelligence Glow Background")
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:22:24: error: 'headline' is only available in macOS 10.15 or newer
20 |
21 | Text("Intelligence Glow Background")
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:23:18: error: 'padding' is only available in macOS 10.15 or newer
21 | Text("Intelligence Glow Background")
22 | .font(.headline)
23 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | .intelligenceBackground(in: .capsule)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:24:18: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
22 | .font(.headline)
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 |
26 | if #available(iOS 26.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:24:46: error: 'capsule' is only available in macOS 10.15 or newer
22 | .font(.headline)
23 | .padding(22)
24 | .intelligenceBackground(in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 |
26 | if #available(iOS 26.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:27:17: error: 'Text' is only available in macOS 10.15 or newer
25 |
26 | if #available(iOS 26.0, *) {
27 | Text("Intelligence Glow Glass Background")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .font(.headline)
29 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:28:22: error: 'font' is only available in macOS 10.15 or newer
26 | if #available(iOS 26.0, *) {
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .padding(22)
30 | .glassEffect()
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:28:28: error: 'headline' is only available in macOS 10.15 or newer
26 | if #available(iOS 26.0, *) {
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .padding(22)
30 | .glassEffect()
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:29:22: error: 'padding' is only available in macOS 10.15 or newer
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
29 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .glassEffect()
31 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:30:22: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
28 | .font(.headline)
29 | .padding(22)
30 | .glassEffect()
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
31 | .intelligenceBackground(in: .capsule)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:31:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
29 | .padding(22)
30 | .glassEffect()
31 | .intelligenceBackground(in: .capsule)
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 |
33 | Text("Intelligence Glass Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:31:50: error: 'capsule' is only available in macOS 10.15 or newer
29 | .padding(22)
30 | .glassEffect()
31 | .intelligenceBackground(in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 |
33 | Text("Intelligence Glass Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:33:17: error: 'Text' is only available in macOS 10.15 or newer
31 | .intelligenceBackground(in: .capsule)
32 |
33 | Text("Intelligence Glass Sweep")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .font(.headline)
35 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:34:22: error: 'font' is only available in macOS 10.15 or newer
32 |
33 | Text("Intelligence Glass Sweep")
34 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .padding(22)
36 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:34:28: error: 'headline' is only available in macOS 10.15 or newer
32 |
33 | Text("Intelligence Glass Sweep")
34 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .padding(22)
36 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:35:22: error: 'padding' is only available in macOS 10.15 or newer
33 | Text("Intelligence Glass Sweep")
34 | .font(.headline)
35 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .glassEffect(.clear)
37 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:36:22: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
34 | .font(.headline)
35 | .padding(22)
36 | .glassEffect(.clear)
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
37 | .intelligenceSweep(
38 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:37:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
35 | .padding(22)
36 | .glassEffect(.clear)
37 | .intelligenceSweep(
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | in: .capsule,
39 | blurRadius: 45,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:38:30: error: 'capsule' is only available in macOS 10.15 or newer
36 | .glassEffect(.clear)
37 | .intelligenceSweep(
38 | in: .capsule,
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | blurRadius: 45,
40 | sweepSpan: 90,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:44:17: error: 'Text' is only available in macOS 10.15 or newer
42 | )
43 |
44 | Text("Intelligence Sweep + Intelligence Glow")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .font(.headline)
46 | .padding(22)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:45:22: error: 'font' is only available in macOS 10.15 or newer
43 |
44 | Text("Intelligence Sweep + Intelligence Glow")
45 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .padding(22)
47 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:45:28: error: 'headline' is only available in macOS 10.15 or newer
43 |
44 | Text("Intelligence Sweep + Intelligence Glow")
45 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .padding(22)
47 | .glassEffect(.clear)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:46:22: error: 'padding' is only available in macOS 10.15 or newer
44 | Text("Intelligence Sweep + Intelligence Glow")
45 | .font(.headline)
46 | .padding(22)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:47:22: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
45 | .font(.headline)
46 | .padding(22)
47 | .glassEffect(.clear)
| |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| `- note: add 'if #available' version check
48 | .intelligenceBackground(in: .capsule)
49 | .intelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:48:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
46 | .padding(22)
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .intelligenceSweep(
50 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:48:50: error: 'capsule' is only available in macOS 10.15 or newer
46 | .padding(22)
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .intelligenceSweep(
50 | in: .capsule,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:49:22: error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
47 | .glassEffect(.clear)
48 | .intelligenceBackground(in: .capsule)
49 | .intelligenceSweep(
| |- error: conformance of 'Capsule' to 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | in: .capsule,
51 | blurRadius: 45,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:50:30: error: 'capsule' is only available in macOS 10.15 or newer
48 | .intelligenceBackground(in: .capsule)
49 | .intelligenceSweep(
50 | in: .capsule,
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | blurRadius: 45,
52 | sweepSpan: 90,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:26:40: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
24 | .intelligenceBackground(in: .capsule)
25 |
26 | if #available(iOS 26.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:26:40: error: 'buildIf' is only available in macOS 10.15 or newer
24 | .intelligenceBackground(in: .capsule)
25 |
26 | if #available(iOS 26.0, *) {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | Text("Intelligence Glow Glass Background")
28 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:55:13: error: 'buildIf' is only available in macOS 10.15 or newer
53 | sweepOffset: 220
54 | )
55 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:36: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:5:36: error: 'buildIf' is only available in macOS 10.15 or newer
3 | #Preview {
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | Text("Intelligence Sweep")
7 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:56:9: error: 'buildIf' is only available in macOS 10.15 or newer
54 | )
55 | }
56 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:4:25: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | #Preview {
4 | VStack(spacing: 45) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
5 | if #available(iOS 17.0, *) {
6 | Text("Intelligence Sweep")
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:3:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | #Preview {
| `- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:3:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | #Preview {
| `- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
macro expansion #Preview:45:34: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:58:2: note: expanded code originates here
1 | import SwiftUI
2 |
3 | #Preview {
| |- note: in expansion of macro 'Preview' here
| |- note: in expansion of macro 'Preview' here
| `- note: in expansion of macro 'Preview' here
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
:
56 | }
57 | }
58 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add '@available' attribute to enclosing static method
|14 | DeveloperToolsSupport.Preview {
|15 | func __b_buildView(@SwiftUI.ViewBuilder body: () -> any SwiftUI.View) -> any SwiftUI.View {
| :
|43 | .font(.headline)
|44 | .padding(22)
|45 | .glassEffect()
| | |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|46 | .intelligenceBackground(in: .capsule)
|47 |
+--------------------------------------------------------------------
59 |
macro expansion #Preview:51:34: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:58:2: note: expanded code originates here
1 | import SwiftUI
2 |
3 | #Preview {
| |- note: in expansion of macro 'Preview' here
| |- note: in expansion of macro 'Preview' here
| `- note: in expansion of macro 'Preview' here
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
:
56 | }
57 | }
58 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add '@available' attribute to enclosing static method
|14 | DeveloperToolsSupport.Preview {
|15 | func __b_buildView(@SwiftUI.ViewBuilder body: () -> any SwiftUI.View) -> any SwiftUI.View {
| :
|49 | .font(.headline)
|50 | .padding(22)
|51 | .glassEffect(.clear)
| | |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|52 | .intelligenceSweep(
|53 | in: .capsule,
+--------------------------------------------------------------------
59 |
macro expansion #Preview:62:34: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Preview.swift:58:2: note: expanded code originates here
1 | import SwiftUI
2 |
3 | #Preview {
| |- note: in expansion of macro 'Preview' here
| |- note: in expansion of macro 'Preview' here
| `- note: in expansion of macro 'Preview' here
4 | VStack(spacing: 45) {
5 | if #available(iOS 17.0, *) {
:
56 | }
57 | }
58 | }
+--- macro expansion #Preview ---------------------------------------
|11 | }
|12 |
|13 | static func makePreview() throws -> DeveloperToolsSupport.Preview {
| | `- note: add '@available' attribute to enclosing static method
|14 | DeveloperToolsSupport.Preview {
|15 | func __b_buildView(@SwiftUI.ViewBuilder body: () -> any SwiftUI.View) -> any SwiftUI.View {
| :
|60 | .font(.headline)
|61 | .padding(22)
|62 | .glassEffect(.clear)
| | |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|63 | .intelligenceBackground(in: .capsule)
|64 | .intelligenceSweep(
+--------------------------------------------------------------------
59 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:7:31: error: 'primary' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
| `- error: 'primary' is only available in macOS 10.15 or newer
8 | colors: [Color] = .intelligenceColors,
9 | blurRadius: CGFloat = 18,
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[6/7] Compiling IntelligenceGlow Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:4:36: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension Array where Element == Gradient.Stop {
| `- note: add '@available' attribute to enclosing extension
4 | static var intelligenceStyle: [Gradient.Stop] {
| | `- error: 'Gradient' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
5 | [Color]
6 | .intelligenceColors
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:3:41: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension Array where Element == Gradient.Stop {
| | `- error: 'Gradient' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
4 | static var intelligenceStyle: [Gradient.Stop] {
5 | [Color]
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:17:37: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:16:41: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
18 | [
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:5:10: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension Array where Element == Gradient.Stop {
| `- note: add '@available' attribute to enclosing extension
4 | static var intelligenceStyle: [Gradient.Stop] {
| `- note: add '@available' attribute to enclosing static property
5 | [Color]
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | .intelligenceColors
7 | .map {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:8:17: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension Array where Element == Gradient.Stop {
| `- note: add '@available' attribute to enclosing extension
4 | static var intelligenceStyle: [Gradient.Stop] {
| `- note: add '@available' attribute to enclosing static property
5 | [Color]
6 | .intelligenceColors
7 | .map {
8 | Gradient.Stop(color: $0, location: Double.random(in: 0...1))
| |- error: 'Gradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 | .sorted {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:19:13: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:19:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:20:13: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:20:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:21:13: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:21:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:22:13: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
24 | Color(red: 198/255, green: 134/255, blue: 255/255)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:22:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
20 | Color(red: 245/255, green: 185/255, blue: 234/255),
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
24 | Color(red: 198/255, green: 134/255, blue: 255/255)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:23:13: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
:
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Color(red: 198/255, green: 134/255, blue: 255/255)
25 | ]
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:23:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
:
21 | Color(red: 141/255, green: 159/255, blue: 255/255),
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Color(red: 198/255, green: 134/255, blue: 255/255)
25 | ]
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:24:13: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
:
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
24 | Color(red: 198/255, green: 134/255, blue: 255/255)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | ]
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/Extensions.swift:24:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Array where Element == Color {
| `- note: add '@available' attribute to enclosing extension
17 | static var intelligenceColors: [Color] {
| `- note: add '@available' attribute to enclosing static property
18 | [
19 | Color(red: 188/255, green: 130/255, blue: 243/255),
:
22 | Color(red: 255/255, green: 103/255, blue: 120/255),
23 | Color(red: 255/255, green: 186/255, blue: 113/255),
24 | Color(red: 198/255, green: 134/255, blue: 255/255)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | ]
26 | }
[7/7] Compiling IntelligenceGlow IntelligenceSweep.swift
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:5:31: error: 'InsettableShape' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:7:22: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
| `- error: 'Color' is only available in macOS 10.15 or newer
8 | colors: [Color] = .intelligenceColors,
9 | blurRadius: CGFloat = 18,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:8:18: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
8 | colors: [Color] = .intelligenceColors,
| `- error: 'Color' is only available in macOS 10.15 or newer
9 | blurRadius: CGFloat = 18,
10 | lineWidth: CGFloat = 0.7,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:13:15: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
:
11 | sweepSpan: Double = 130,
12 | sweepOffset: Double = 140
13 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
14 | modifier(
15 | IntelligenceSweep(
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:7:31: error: 'primary' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
| `- error: 'primary' is only available in macOS 10.15 or newer
8 | colors: [Color] = .intelligenceColors,
9 | blurRadius: CGFloat = 18,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
6 | in shape: S,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:38:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
36 | let sweepOffset: Double
37 |
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
39 |
40 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:31:22: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | let colors: [Color]
33 | let blurRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:32:18: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
32 | let colors: [Color]
| `- error: 'Color' is only available in macOS 10.15 or newer
33 | let blurRadius: CGFloat
34 | let lineWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:38:6: error: 'Environment' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
36 | let sweepOffset: Double
37 |
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
| `- error: 'Environment' is only available in macOS 10.15 or newer
39 |
40 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:40:41: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:61:57: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
58 | }
59 |
60 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:29:37: error: 'InsettableShape' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| | `- error: 'InsettableShape' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:14:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
:
12 | sweepOffset: Double = 140
13 | ) -> some View {
14 | modifier(
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | IntelligenceSweep(
16 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:14:9: error: 'modifier' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 17.0, *)
4 | public extension View {
| `- note: add '@available' attribute to enclosing extension
5 | func intelligenceSweep<S: InsettableShape>(
| `- note: add '@available' attribute to enclosing instance method
6 | in shape: S,
7 | borderColor: Color = .primary,
:
12 | sweepOffset: Double = 140
13 | ) -> some View {
14 | modifier(
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | IntelligenceSweep(
16 | shape: shape,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:42:14: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
| |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
43 | ZStack {
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:42:25: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
43 | ZStack {
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:42:25: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
43 | ZStack {
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:42:25: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
43 | ZStack {
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:17: error: 'ZStack' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:44:27: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
45 |
46 | if reduceMotion {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:44:46: error: 'tertiary' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
| |- error: 'tertiary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
45 |
46 | if reduceMotion {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:46:37: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
46 | if reduceMotion {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | sweepContent(rotation: 0)
48 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:49:25: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
47 | sweepContent(rotation: 0)
48 | } else {
49 | KeyframeAnimator(initialValue: 0) { value in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:49:25: error: 'KeyframeAnimator' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
47 | sweepContent(rotation: 0)
48 | } else {
49 | KeyframeAnimator(initialValue: 0) { value in
| |- error: 'KeyframeAnimator' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:49:25: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
47 | sweepContent(rotation: 0)
48 | } else {
49 | KeyframeAnimator(initialValue: 0) { value in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:51:38: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | LinearKeyframe(1, duration: 2.6)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:51:38: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | LinearKeyframe(1, duration: 2.6)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:51:38: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | LinearKeyframe(1, duration: 2.6)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:51:38: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | LinearKeyframe(1, duration: 2.6)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:52:29: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
52 | LinearKeyframe(1, duration: 2.6)
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
53 | }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:52:29: error: 'LinearKeyframe' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
52 | LinearKeyframe(1, duration: 2.6)
| |- error: 'LinearKeyframe' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
53 | }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:52:29: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
52 | LinearKeyframe(1, duration: 2.6)
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
53 | }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:51:38: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | LinearKeyframe(1, duration: 2.6)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:51:38: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
51 | } keyframes: { _ in
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
52 | LinearKeyframe(1, duration: 2.6)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:48:28: error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
46 | if reduceMotion {
47 | sweepContent(rotation: 0)
48 | } else {
| |- error: conformance of 'Double' to 'Animatable' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:48:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
46 | if reduceMotion {
47 | sweepContent(rotation: 0)
48 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | KeyframeAnimator(initialValue: 0) { value in
50 | sweepContent(rotation: value * 360)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:43:24: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
43 | ZStack {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | shape.stroke(borderColor.tertiary, lineWidth: lineWidth)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:56:18: error: 'padding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
38 | @Environment(\.accessibilityReduceMotion) private var reduceMotion
39 |
40 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | content
42 | .background {
:
54 | }
55 | }
56 | .padding(0.5)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:62:30: error: 'AngularGradient' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
| |- error: 'AngularGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | colors: [.clear, borderColor, .clear],
64 | center: .center,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:63:23: error: 'clear' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | center: .center,
65 | startAngle: .degrees(sweepOffset + rotation),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:63:44: error: 'clear' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | center: .center,
65 | startAngle: .degrees(sweepOffset + rotation),
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:68:29: error: 'LinearGradient' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
66 | endAngle: .degrees(sweepOffset + sweepSpan + rotation)
67 | )
68 | let sweepGradient = LinearGradient(
| |- error: 'LinearGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | colors: colors,
70 | startPoint: .topLeading,
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:74:9: error: 'ZStack' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
72 | )
73 |
74 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | shape
76 | .fill(sweepGradient)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:76:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
74 | ZStack {
75 | shape
76 | .fill(sweepGradient)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
77 | .mask {
78 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:77:18: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
75 | shape
76 | .fill(sweepGradient)
77 | .mask {
| |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
78 | Rectangle()
79 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:78:21: error: 'Rectangle' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
76 | .fill(sweepGradient)
77 | .mask {
78 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | .overlay {
80 | shape
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:79:26: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
77 | .mask {
78 | Rectangle()
79 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
80 | shape
81 | .blur(radius: blurRadius)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:81:34: error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
79 | .overlay {
80 | shape
81 | .blur(radius: blurRadius)
| |- error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .blendMode(.destinationOut)
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:82:34: error: 'blendMode' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
80 | shape
81 | .blur(radius: blurRadius)
82 | .blendMode(.destinationOut)
| |- error: 'blendMode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:85:18: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
83 | }
84 | }
85 | .mask {
| |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
86 | shape
87 | .fill(borderGradient)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:87:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
85 | .mask {
86 | shape
87 | .fill(borderGradient)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
88 | .blur(radius: blurRadius / 1.5)
89 | .padding(-blurRadius * 2)
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:88:26: error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
86 | shape
87 | .fill(borderGradient)
88 | .blur(radius: blurRadius / 1.5)
| |- error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | .padding(-blurRadius * 2)
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:89:26: error: 'padding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
87 | .fill(borderGradient)
88 | .blur(radius: blurRadius / 1.5)
89 | .padding(-blurRadius * 2)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/IntelligenceGlow/IntelligenceSweep.swift:92:19: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
27 |
28 | @available(iOS 17.0, *)
29 | private struct IntelligenceSweep<S: InsettableShape>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
30 | let shape: S
31 | let borderColor: Color
:
59 |
60 | @ViewBuilder
61 | private func sweepContent(rotation: Double) -> some View {
| `- note: add '@available' attribute to enclosing instance method
62 | let borderGradient = AngularGradient(
63 | colors: [.clear, borderColor, .clear],
:
90 | }
91 |
92 | shape.stroke(borderGradient, lineWidth: lineWidth)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
93 | }
94 | }
BUILD FAILURE 6.2 macosSpm