Build Information
Failed to build KyuGenericExtensions, reference 1.4.0 (d0603f), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 18:57:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
133 | var windowSize: CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:161:23: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
| `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
162 | perform action: @escaping (CGRect) -> Void
163 | ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:163:12: error: 'View' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
163 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
164 | self
165 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:150:18: error: 'View' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:23:8: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
21 | borderColor: Color
22 | ) -> some View {
23 | self.clipShape(
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | RoundedRectangle(cornerRadius: radius)
25 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:24:4: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
22 | ) -> some View {
23 | self.clipShape(
24 | RoundedRectangle(cornerRadius: radius)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | )
26 | .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:26:4: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
24 | RoundedRectangle(cornerRadius: radius)
25 | )
26 | .overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | RoundedRectangle(cornerRadius: radius)
28 | .inset(by: borderWidth / 2)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:27:4: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
25 | )
26 | .overlay(
27 | RoundedRectangle(cornerRadius: radius)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .inset(by: borderWidth / 2)
29 | .stroke(borderColor, lineWidth: borderWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:28:6: error: 'inset(by:)' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
26 | .overlay(
27 | RoundedRectangle(cornerRadius: radius)
28 | .inset(by: borderWidth / 2)
| |- error: 'inset(by:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .stroke(borderColor, lineWidth: borderWidth)
30 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:29:6: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
27 | RoundedRectangle(cornerRadius: radius)
28 | .inset(by: borderWidth / 2)
29 | .stroke(borderColor, lineWidth: borderWidth)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
30 | )
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:52:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
50 | endPoint: VerticalEdge
51 | ) -> some View where S: ShapeStyle {
52 | self.overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | Rectangle()
54 | .fill(fill)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:53:4: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
51 | ) -> some View where S: ShapeStyle {
52 | self.overlay(
53 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | .fill(fill)
55 | .mask {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:54:6: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
52 | self.overlay(
53 | Rectangle()
54 | .fill(fill)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
55 | .mask {
56 | VStack(spacing: .zero) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:55:6: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
53 | Rectangle()
54 | .fill(fill)
55 | .mask {
| |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:56:6: error: 'VStack' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
54 | .fill(fill)
55 | .mask {
56 | VStack(spacing: .zero) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | if startPoint == .top {
58 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:57:21: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
55 | .mask {
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
58 | Rectangle()
59 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:58:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
58 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .frame(height: fillHeight)
60 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:59:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
57 | if startPoint == .top {
58 | Rectangle()
59 | .frame(height: fillHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | } else {
61 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:57:29: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
55 | .mask {
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | Rectangle()
59 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:61:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
59 | .frame(height: fillHeight)
60 | } else {
61 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
62 | }
63 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:61:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
59 | .frame(height: fillHeight)
60 | } else {
61 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:60:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
58 | Rectangle()
59 | .frame(height: fillHeight)
60 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
61 | Spacer(minLength: .zero)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:60:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
58 | Rectangle()
59 | .frame(height: fillHeight)
60 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Spacer(minLength: .zero)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:63:7: error: 'LinearGradient' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
61 | Spacer(minLength: .zero)
62 | }
63 | LinearGradient(
| |- error: 'LinearGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | colors: [
65 | Color.primary.opacity(1),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:65:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
63 | LinearGradient(
64 | colors: [
65 | Color.primary.opacity(1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | Color.primary.opacity(0),
67 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:65:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
63 | LinearGradient(
64 | colors: [
65 | Color.primary.opacity(1),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | Color.primary.opacity(0),
67 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:65:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
63 | LinearGradient(
64 | colors: [
65 | Color.primary.opacity(1),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | Color.primary.opacity(0),
67 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:66:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
64 | colors: [
65 | Color.primary.opacity(1),
66 | Color.primary.opacity(0),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:66:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
64 | colors: [
65 | Color.primary.opacity(1),
66 | Color.primary.opacity(0),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:66:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
64 | colors: [
65 | Color.primary.opacity(1),
66 | Color.primary.opacity(0),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:68:31: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
66 | Color.primary.opacity(0),
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
69 | endPoint: endPoint == .top ? .top : .bottom
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:69:27: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
69 | endPoint: endPoint == .top ? .top : .bottom
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
70 | )
71 | .frame(height: blurHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:71:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
69 | endPoint: endPoint == .top ? .top : .bottom
70 | )
71 | .frame(height: blurHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | if startPoint == .bottom {
73 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:72:21: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
70 | )
71 | .frame(height: blurHeight)
72 | if startPoint == .bottom {
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
73 | Rectangle()
74 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:73:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
71 | .frame(height: blurHeight)
72 | if startPoint == .bottom {
73 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | .frame(height: fillHeight)
75 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:74:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
72 | if startPoint == .bottom {
73 | Rectangle()
74 | .frame(height: fillHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | } else {
76 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:72:32: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
70 | )
71 | .frame(height: blurHeight)
72 | if startPoint == .bottom {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | Rectangle()
74 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:76:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
74 | .frame(height: fillHeight)
75 | } else {
76 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:76:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
74 | .frame(height: fillHeight)
75 | } else {
76 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:75:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
73 | Rectangle()
74 | .frame(height: fillHeight)
75 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
76 | Spacer(minLength: .zero)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:75:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
73 | Rectangle()
74 | .frame(height: fillHeight)
75 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | Spacer(minLength: .zero)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:56:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
54 | .fill(fill)
55 | .mask {
56 | VStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
57 | if startPoint == .top {
58 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:56:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
54 | .fill(fill)
55 | .mask {
56 | VStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
57 | if startPoint == .top {
58 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:99:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
97 | endPoint: HorizontalEdge
98 | ) -> some View where S: ShapeStyle {
99 | self.overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | Rectangle()
101 | .fill(fill)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:100:4: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
98 | ) -> some View where S: ShapeStyle {
99 | self.overlay(
100 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .fill(fill)
102 | .mask {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:101:6: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
99 | self.overlay(
100 | Rectangle()
101 | .fill(fill)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
102 | .mask {
103 | HStack(spacing: .zero) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:102:6: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
100 | Rectangle()
101 | .fill(fill)
102 | .mask {
| |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:103:6: error: 'HStack' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
101 | .fill(fill)
102 | .mask {
103 | HStack(spacing: .zero) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | if startPoint == .leading {
105 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:104:21: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
102 | .mask {
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Rectangle()
106 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:105:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
105 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | .frame(width: fillWidth)
107 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:106:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
104 | if startPoint == .leading {
105 | Rectangle()
106 | .frame(width: fillWidth)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | } else {
108 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:104:33: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
102 | .mask {
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | Rectangle()
106 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:108:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
106 | .frame(width: fillWidth)
107 | } else {
108 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
109 | }
110 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:108:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
106 | .frame(width: fillWidth)
107 | } else {
108 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:107:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
105 | Rectangle()
106 | .frame(width: fillWidth)
107 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
108 | Spacer(minLength: .zero)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:107:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
105 | Rectangle()
106 | .frame(width: fillWidth)
107 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | Spacer(minLength: .zero)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:110:7: error: 'LinearGradient' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
108 | Spacer(minLength: .zero)
109 | }
110 | LinearGradient(
| |- error: 'LinearGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | colors: [
112 | Color.primary.opacity(1),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:112:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
110 | LinearGradient(
111 | colors: [
112 | Color.primary.opacity(1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | Color.primary.opacity(0),
114 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:112:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
110 | LinearGradient(
111 | colors: [
112 | Color.primary.opacity(1),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | Color.primary.opacity(0),
114 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:112:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
110 | LinearGradient(
111 | colors: [
112 | Color.primary.opacity(1),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | Color.primary.opacity(0),
114 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:113:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
111 | colors: [
112 | Color.primary.opacity(1),
113 | Color.primary.opacity(0),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:113:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
111 | colors: [
112 | Color.primary.opacity(1),
113 | Color.primary.opacity(0),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:113:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
111 | colors: [
112 | Color.primary.opacity(1),
113 | Color.primary.opacity(0),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:115:31: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
113 | Color.primary.opacity(0),
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
116 | endPoint: endPoint == .leading ? .leading : .trailing
117 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:116:27: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
116 | endPoint: endPoint == .leading ? .leading : .trailing
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
117 | )
118 | .frame(width: blurWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:118:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
116 | endPoint: endPoint == .leading ? .leading : .trailing
117 | )
118 | .frame(width: blurWidth)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | if startPoint == .trailing {
120 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:119:21: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
117 | )
118 | .frame(width: blurWidth)
119 | if startPoint == .trailing {
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | Rectangle()
121 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:120:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
118 | .frame(width: blurWidth)
119 | if startPoint == .trailing {
120 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .frame(width: fillWidth)
122 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:121:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
119 | if startPoint == .trailing {
120 | Rectangle()
121 | .frame(width: fillWidth)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | } else {
123 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:119:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
117 | )
118 | .frame(width: blurWidth)
119 | if startPoint == .trailing {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | Rectangle()
121 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:123:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
121 | .frame(width: fillWidth)
122 | } else {
123 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:123:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
121 | .frame(width: fillWidth)
122 | } else {
123 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:122:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
120 | Rectangle()
121 | .frame(width: fillWidth)
122 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
123 | Spacer(minLength: .zero)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:122:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
120 | Rectangle()
121 | .frame(width: fillWidth)
122 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | Spacer(minLength: .zero)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:103:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
101 | .fill(fill)
102 | .mask {
103 | HStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | if startPoint == .leading {
105 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:103:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
101 | .fill(fill)
102 | .mask {
103 | HStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | if startPoint == .leading {
105 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:134:3: error: cannot find 'UIApplication' in scope
132 | /// A size that specifies the height and width of the connected scenes' keyWindow.
133 | var windowSize: CGSize {
134 | UIApplication.shared.window?.bounds.size ?? .zero
| `- error: cannot find 'UIApplication' in scope
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:139:16: error: cannot find 'UIApplication' in scope
137 | /// The insets that you use to determine the safe area for the connected scenes' keyWindow.
138 | var safeAreaInsets: EdgeInsets {
139 | let insets = UIApplication.shared.window?.safeAreaInsets ?? .zero
| `- error: cannot find 'UIApplication' in scope
140 | return EdgeInsets(
141 | top: insets.top,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:165:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
163 | ) -> some View {
164 | self
165 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
166 | GeometryReader { geo in
167 | Color.clear.preference(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:166:5: error: 'GeometryReader' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
164 | self
165 | .overlay {
166 | GeometryReader { geo in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
167 | Color.clear.preference(
168 | key: FramePreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:167:6: error: 'Color' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
165 | .overlay {
166 | GeometryReader { geo in
167 | Color.clear.preference(
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:167:12: error: 'clear' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
165 | .overlay {
166 | GeometryReader { geo in
167 | Color.clear.preference(
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:167:18: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
165 | .overlay {
166 | GeometryReader { geo in
167 | Color.clear.preference(
| |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:169:18: error: 'frame(in:)' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
167 | Color.clear.preference(
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
| |- error: 'frame(in:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
170 | )
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:173:5: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
171 | }
172 | }
173 | .onPreferenceChange(FramePreferenceKey.self, perform: action)
| |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | }
175 | }
[29/35] Compiling KyuGenericExtensions StoryboardInstantiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:21:16: error: 'Color' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
21 | borderColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
22 | ) -> some View {
23 | self.clipShape(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:22:12: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
21 | borderColor: Color
22 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
23 | self.clipShape(
24 | RoundedRectangle(cornerRadius: radius)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:51:26: error: 'ShapeStyle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
49 | startPoint: VerticalEdge,
50 | endPoint: VerticalEdge
51 | ) -> some View where S: ShapeStyle {
| `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
52 | self.overlay(
53 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:49:15: error: 'VerticalEdge' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
48 | blurHeight: CGFloat? = nil,
49 | startPoint: VerticalEdge,
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
50 | endPoint: VerticalEdge
51 | ) -> some View where S: ShapeStyle {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:50:13: error: 'VerticalEdge' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
48 | blurHeight: CGFloat? = nil,
49 | startPoint: VerticalEdge,
50 | endPoint: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
51 | ) -> some View where S: ShapeStyle {
52 | self.overlay(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:51:12: error: 'View' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
49 | startPoint: VerticalEdge,
50 | endPoint: VerticalEdge
51 | ) -> some View where S: ShapeStyle {
| `- error: 'View' is only available in macOS 10.15 or newer
52 | self.overlay(
53 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:98:26: error: 'ShapeStyle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
96 | startPoint: HorizontalEdge,
97 | endPoint: HorizontalEdge
98 | ) -> some View where S: ShapeStyle {
| `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
99 | self.overlay(
100 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:96:15: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
95 | blurWidth: CGFloat? = nil,
96 | startPoint: HorizontalEdge,
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
97 | endPoint: HorizontalEdge
98 | ) -> some View where S: ShapeStyle {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:97:13: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
95 | blurWidth: CGFloat? = nil,
96 | startPoint: HorizontalEdge,
97 | endPoint: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
98 | ) -> some View where S: ShapeStyle {
99 | self.overlay(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:98:12: error: 'View' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
96 | startPoint: HorizontalEdge,
97 | endPoint: HorizontalEdge
98 | ) -> some View where S: ShapeStyle {
| `- error: 'View' is only available in macOS 10.15 or newer
99 | self.overlay(
100 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:35:18: error: 'View' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:138:22: error: 'EdgeInsets' is only available in macOS 10.15 or newer
129 | }
130 |
131 | public extension View {
| `- note: add @available attribute to enclosing extension
132 | /// A size that specifies the height and width of the connected scenes' keyWindow.
133 | var windowSize: CGSize {
:
136 |
137 | /// The insets that you use to determine the safe area for the connected scenes' keyWindow.
138 | var safeAreaInsets: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
139 | let insets = UIApplication.shared.window?.safeAreaInsets ?? .zero
140 | return EdgeInsets(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:131:18: error: 'View' is only available in macOS 10.15 or newer
129 | }
130 |
131 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
132 | /// A size that specifies the height and width of the connected scenes' keyWindow.
133 | var windowSize: CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:161:23: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
| `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
162 | perform action: @escaping (CGRect) -> Void
163 | ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:163:12: error: 'View' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
163 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
164 | self
165 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:150:18: error: 'View' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:23:8: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
21 | borderColor: Color
22 | ) -> some View {
23 | self.clipShape(
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | RoundedRectangle(cornerRadius: radius)
25 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:24:4: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
22 | ) -> some View {
23 | self.clipShape(
24 | RoundedRectangle(cornerRadius: radius)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | )
26 | .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:26:4: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
24 | RoundedRectangle(cornerRadius: radius)
25 | )
26 | .overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | RoundedRectangle(cornerRadius: radius)
28 | .inset(by: borderWidth / 2)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:27:4: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
25 | )
26 | .overlay(
27 | RoundedRectangle(cornerRadius: radius)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .inset(by: borderWidth / 2)
29 | .stroke(borderColor, lineWidth: borderWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:28:6: error: 'inset(by:)' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
26 | .overlay(
27 | RoundedRectangle(cornerRadius: radius)
28 | .inset(by: borderWidth / 2)
| |- error: 'inset(by:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .stroke(borderColor, lineWidth: borderWidth)
30 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:29:6: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add @available attribute to enclosing extension
12 | /// Rounding current view and apply border to it.
13 | ///
:
16 | /// - borderWidth: The width of the stroke that outlines this shape.
17 | /// - borderColor: The color with which to stroke this shape.
18 | func cornerRadius(
| `- note: add @available attribute to enclosing instance method
19 | _ radius: CGFloat,
20 | borderWidth: CGFloat,
:
27 | RoundedRectangle(cornerRadius: radius)
28 | .inset(by: borderWidth / 2)
29 | .stroke(borderColor, lineWidth: borderWidth)
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
30 | )
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:52:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
50 | endPoint: VerticalEdge
51 | ) -> some View where S: ShapeStyle {
52 | self.overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | Rectangle()
54 | .fill(fill)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:53:4: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
51 | ) -> some View where S: ShapeStyle {
52 | self.overlay(
53 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | .fill(fill)
55 | .mask {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:54:6: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
52 | self.overlay(
53 | Rectangle()
54 | .fill(fill)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
55 | .mask {
56 | VStack(spacing: .zero) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:55:6: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
53 | Rectangle()
54 | .fill(fill)
55 | .mask {
| |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:56:6: error: 'VStack' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
54 | .fill(fill)
55 | .mask {
56 | VStack(spacing: .zero) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | if startPoint == .top {
58 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:57:21: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
55 | .mask {
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
58 | Rectangle()
59 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:58:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
58 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .frame(height: fillHeight)
60 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:59:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
57 | if startPoint == .top {
58 | Rectangle()
59 | .frame(height: fillHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | } else {
61 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:57:29: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
55 | .mask {
56 | VStack(spacing: .zero) {
57 | if startPoint == .top {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | Rectangle()
59 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:61:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
59 | .frame(height: fillHeight)
60 | } else {
61 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
62 | }
63 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:61:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
59 | .frame(height: fillHeight)
60 | } else {
61 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:60:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
58 | Rectangle()
59 | .frame(height: fillHeight)
60 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
61 | Spacer(minLength: .zero)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:60:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
58 | Rectangle()
59 | .frame(height: fillHeight)
60 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Spacer(minLength: .zero)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:63:7: error: 'LinearGradient' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
61 | Spacer(minLength: .zero)
62 | }
63 | LinearGradient(
| |- error: 'LinearGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | colors: [
65 | Color.primary.opacity(1),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:65:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
63 | LinearGradient(
64 | colors: [
65 | Color.primary.opacity(1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | Color.primary.opacity(0),
67 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:65:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
63 | LinearGradient(
64 | colors: [
65 | Color.primary.opacity(1),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | Color.primary.opacity(0),
67 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:65:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
63 | LinearGradient(
64 | colors: [
65 | Color.primary.opacity(1),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | Color.primary.opacity(0),
67 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:66:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
64 | colors: [
65 | Color.primary.opacity(1),
66 | Color.primary.opacity(0),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:66:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
64 | colors: [
65 | Color.primary.opacity(1),
66 | Color.primary.opacity(0),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:66:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
64 | colors: [
65 | Color.primary.opacity(1),
66 | Color.primary.opacity(0),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:68:31: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
66 | Color.primary.opacity(0),
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
69 | endPoint: endPoint == .top ? .top : .bottom
70 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:69:27: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
67 | ],
68 | startPoint: startPoint == .top ? .top : .bottom,
69 | endPoint: endPoint == .top ? .top : .bottom
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
70 | )
71 | .frame(height: blurHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:71:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
69 | endPoint: endPoint == .top ? .top : .bottom
70 | )
71 | .frame(height: blurHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | if startPoint == .bottom {
73 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:72:21: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
70 | )
71 | .frame(height: blurHeight)
72 | if startPoint == .bottom {
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
73 | Rectangle()
74 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:73:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
71 | .frame(height: blurHeight)
72 | if startPoint == .bottom {
73 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | .frame(height: fillHeight)
75 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:74:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
72 | if startPoint == .bottom {
73 | Rectangle()
74 | .frame(height: fillHeight)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | } else {
76 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:72:32: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
70 | )
71 | .frame(height: blurHeight)
72 | if startPoint == .bottom {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | Rectangle()
74 | .frame(height: fillHeight)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:76:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
74 | .frame(height: fillHeight)
75 | } else {
76 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:76:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
74 | .frame(height: fillHeight)
75 | } else {
76 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:75:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
73 | Rectangle()
74 | .frame(height: fillHeight)
75 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
76 | Spacer(minLength: .zero)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:75:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
73 | Rectangle()
74 | .frame(height: fillHeight)
75 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | Spacer(minLength: .zero)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:56:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
54 | .fill(fill)
55 | .mask {
56 | VStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
57 | if startPoint == .top {
58 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:56:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
43 | /// - endPoint: The end point that determine how the fill renders.
44 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
45 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
46 | _ fill: S,
47 | fillHeight: CGFloat = .zero,
:
54 | .fill(fill)
55 | .mask {
56 | VStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
57 | if startPoint == .top {
58 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:99:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
97 | endPoint: HorizontalEdge
98 | ) -> some View where S: ShapeStyle {
99 | self.overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | Rectangle()
101 | .fill(fill)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:100:4: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
98 | ) -> some View where S: ShapeStyle {
99 | self.overlay(
100 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .fill(fill)
102 | .mask {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:101:6: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
99 | self.overlay(
100 | Rectangle()
101 | .fill(fill)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
102 | .mask {
103 | HStack(spacing: .zero) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:102:6: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
100 | Rectangle()
101 | .fill(fill)
102 | .mask {
| |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:103:6: error: 'HStack' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
101 | .fill(fill)
102 | .mask {
103 | HStack(spacing: .zero) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | if startPoint == .leading {
105 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:104:21: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
102 | .mask {
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
105 | Rectangle()
106 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:105:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
105 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | .frame(width: fillWidth)
107 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:106:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
104 | if startPoint == .leading {
105 | Rectangle()
106 | .frame(width: fillWidth)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | } else {
108 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:104:33: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
102 | .mask {
103 | HStack(spacing: .zero) {
104 | if startPoint == .leading {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | Rectangle()
106 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:108:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
106 | .frame(width: fillWidth)
107 | } else {
108 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
109 | }
110 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:108:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
106 | .frame(width: fillWidth)
107 | } else {
108 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | }
110 | LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:107:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
105 | Rectangle()
106 | .frame(width: fillWidth)
107 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
108 | Spacer(minLength: .zero)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:107:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
105 | Rectangle()
106 | .frame(width: fillWidth)
107 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | Spacer(minLength: .zero)
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:110:7: error: 'LinearGradient' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
108 | Spacer(minLength: .zero)
109 | }
110 | LinearGradient(
| |- error: 'LinearGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | colors: [
112 | Color.primary.opacity(1),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:112:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
110 | LinearGradient(
111 | colors: [
112 | Color.primary.opacity(1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | Color.primary.opacity(0),
114 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:112:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
110 | LinearGradient(
111 | colors: [
112 | Color.primary.opacity(1),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | Color.primary.opacity(0),
114 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:112:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
110 | LinearGradient(
111 | colors: [
112 | Color.primary.opacity(1),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | Color.primary.opacity(0),
114 | ],
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:113:9: error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
111 | colors: [
112 | Color.primary.opacity(1),
113 | Color.primary.opacity(0),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:113:15: error: 'primary' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
111 | colors: [
112 | Color.primary.opacity(1),
113 | Color.primary.opacity(0),
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:113:23: error: 'opacity' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
111 | colors: [
112 | Color.primary.opacity(1),
113 | Color.primary.opacity(0),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:115:31: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
113 | Color.primary.opacity(0),
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
116 | endPoint: endPoint == .leading ? .leading : .trailing
117 | )
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:116:27: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
114 | ],
115 | startPoint: startPoint == .leading ? .leading : .trailing,
116 | endPoint: endPoint == .leading ? .leading : .trailing
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
117 | )
118 | .frame(width: blurWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:118:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
116 | endPoint: endPoint == .leading ? .leading : .trailing
117 | )
118 | .frame(width: blurWidth)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | if startPoint == .trailing {
120 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:119:21: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
117 | )
118 | .frame(width: blurWidth)
119 | if startPoint == .trailing {
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
120 | Rectangle()
121 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:120:8: error: 'Rectangle' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
118 | .frame(width: blurWidth)
119 | if startPoint == .trailing {
120 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .frame(width: fillWidth)
122 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:121:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
119 | if startPoint == .trailing {
120 | Rectangle()
121 | .frame(width: fillWidth)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | } else {
123 | Spacer(minLength: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:119:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
117 | )
118 | .frame(width: blurWidth)
119 | if startPoint == .trailing {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | Rectangle()
121 | .frame(width: fillWidth)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:123:8: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
121 | .frame(width: fillWidth)
122 | } else {
123 | Spacer(minLength: .zero)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:123:8: error: 'Spacer' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
121 | .frame(width: fillWidth)
122 | } else {
123 | Spacer(minLength: .zero)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:122:14: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
120 | Rectangle()
121 | .frame(width: fillWidth)
122 | } else {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
123 | Spacer(minLength: .zero)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:122:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
120 | Rectangle()
121 | .frame(width: fillWidth)
122 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | Spacer(minLength: .zero)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:103:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
101 | .fill(fill)
102 | .mask {
103 | HStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | if startPoint == .leading {
105 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:103:29: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 |
34 | @available(iOS 15.0, *)
35 | public extension View {
| `- note: add @available attribute to enclosing extension
36 | /// Overlays this view with shape applied with a color or gradient.
37 | ///
:
90 | /// - endPoint: The end point that determine how the fill renders.
91 | /// - Returns: A view overlayed with shape filled with the color or gradient you supply.
92 | func gradient<S>(
| `- note: add @available attribute to enclosing instance method
93 | _ fill: S,
94 | fillWidth: CGFloat = .zero,
:
101 | .fill(fill)
102 | .mask {
103 | HStack(spacing: .zero) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | if startPoint == .leading {
105 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:134:3: error: cannot find 'UIApplication' in scope
132 | /// A size that specifies the height and width of the connected scenes' keyWindow.
133 | var windowSize: CGSize {
134 | UIApplication.shared.window?.bounds.size ?? .zero
| `- error: cannot find 'UIApplication' in scope
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:139:16: error: cannot find 'UIApplication' in scope
137 | /// The insets that you use to determine the safe area for the connected scenes' keyWindow.
138 | var safeAreaInsets: EdgeInsets {
139 | let insets = UIApplication.shared.window?.safeAreaInsets ?? .zero
| `- error: cannot find 'UIApplication' in scope
140 | return EdgeInsets(
141 | top: insets.top,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:165:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
163 | ) -> some View {
164 | self
165 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
166 | GeometryReader { geo in
167 | Color.clear.preference(
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:166:5: error: 'GeometryReader' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
164 | self
165 | .overlay {
166 | GeometryReader { geo in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
167 | Color.clear.preference(
168 | key: FramePreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:167:6: error: 'Color' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
165 | .overlay {
166 | GeometryReader { geo in
167 | Color.clear.preference(
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:167:12: error: 'clear' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
165 | .overlay {
166 | GeometryReader { geo in
167 | Color.clear.preference(
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:167:18: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
165 | .overlay {
166 | GeometryReader { geo in
167 | Color.clear.preference(
| |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:169:18: error: 'frame(in:)' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
167 | Color.clear.preference(
168 | key: FramePreferenceKey.self,
169 | value: geo.frame(in: coordinateSpace)
| |- error: 'frame(in:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
170 | )
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+View.swift:173:5: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
148 |
149 | @available(iOS 16.0, *)
150 | public extension View {
| `- note: add @available attribute to enclosing extension
151 | /// Adds an action to perform when the frame changes.
152 | ///
:
158 | ///
159 | /// - Returns: A view that triggers `action` when the value for frame changes.
160 | func onPreferenceFrameChange(
| `- note: add @available attribute to enclosing instance method
161 | in coordinateSpace: CoordinateSpace = .global,
162 | perform action: @escaping (CGRect) -> Void
:
171 | }
172 | }
173 | .onPreferenceChange(FramePreferenceKey.self, perform: action)
| |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | }
175 | }
[30/35] Compiling KyuGenericExtensions +Int.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:98:9: error: cannot find type 'Date' in scope
96 | /// - timeZone: The timezone for represented date. If unspecified, the system time zone is used.
97 | init(
98 | date: Date,
| `- error: cannot find type 'Date' in scope
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:100:11: error: cannot find type 'Locale' in scope
98 | date: Date,
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
| `- error: cannot find type 'Locale' in scope
101 | calendar: Calendar = Calendar(identifier: .gregorian),
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:101:13: error: cannot find type 'Calendar' in scope
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
101 | calendar: Calendar = Calendar(identifier: .gregorian),
| `- error: cannot find type 'Calendar' in scope
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
103 | // swiftlint:disable:previous force_unwrapping
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:102:13: error: cannot find type 'TimeZone' in scope
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
101 | calendar: Calendar = Calendar(identifier: .gregorian),
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
| `- error: cannot find type 'TimeZone' in scope
103 | // swiftlint:disable:previous force_unwrapping
104 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:105:19: error: cannot find 'DateFormatter' in scope
103 | // swiftlint:disable:previous force_unwrapping
104 | ) {
105 | let formatter = DateFormatter()
| `- error: cannot find 'DateFormatter' in scope
106 | formatter.dateFormat = format
107 | formatter.locale = locale
[31/35] Compiling KyuGenericExtensions +String.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:98:9: error: cannot find type 'Date' in scope
96 | /// - timeZone: The timezone for represented date. If unspecified, the system time zone is used.
97 | init(
98 | date: Date,
| `- error: cannot find type 'Date' in scope
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:100:11: error: cannot find type 'Locale' in scope
98 | date: Date,
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
| `- error: cannot find type 'Locale' in scope
101 | calendar: Calendar = Calendar(identifier: .gregorian),
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:101:13: error: cannot find type 'Calendar' in scope
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
101 | calendar: Calendar = Calendar(identifier: .gregorian),
| `- error: cannot find type 'Calendar' in scope
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
103 | // swiftlint:disable:previous force_unwrapping
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:102:13: error: cannot find type 'TimeZone' in scope
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
101 | calendar: Calendar = Calendar(identifier: .gregorian),
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
| `- error: cannot find type 'TimeZone' in scope
103 | // swiftlint:disable:previous force_unwrapping
104 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:105:19: error: cannot find 'DateFormatter' in scope
103 | // swiftlint:disable:previous force_unwrapping
104 | ) {
105 | let formatter = DateFormatter()
| `- error: cannot find 'DateFormatter' in scope
106 | formatter.dateFormat = format
107 | formatter.locale = locale
[32/35] Compiling KyuGenericExtensions +UIApplication.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:98:9: error: cannot find type 'Date' in scope
96 | /// - timeZone: The timezone for represented date. If unspecified, the system time zone is used.
97 | init(
98 | date: Date,
| `- error: cannot find type 'Date' in scope
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:100:11: error: cannot find type 'Locale' in scope
98 | date: Date,
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
| `- error: cannot find type 'Locale' in scope
101 | calendar: Calendar = Calendar(identifier: .gregorian),
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:101:13: error: cannot find type 'Calendar' in scope
99 | format: String,
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
101 | calendar: Calendar = Calendar(identifier: .gregorian),
| `- error: cannot find type 'Calendar' in scope
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
103 | // swiftlint:disable:previous force_unwrapping
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:102:13: error: cannot find type 'TimeZone' in scope
100 | locale: Locale = Locale(identifier: "en_US_POSIX"),
101 | calendar: Calendar = Calendar(identifier: .gregorian),
102 | timeZone: TimeZone = TimeZone(identifier: "UTC")!
| `- error: cannot find type 'TimeZone' in scope
103 | // swiftlint:disable:previous force_unwrapping
104 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Extensions/+String.swift:105:19: error: cannot find 'DateFormatter' in scope
103 | // swiftlint:disable:previous force_unwrapping
104 | ) {
105 | let formatter = DateFormatter()
| `- error: cannot find 'DateFormatter' in scope
106 | formatter.dateFormat = format
107 | formatter.locale = locale
[33/35] Compiling KyuGenericExtensions CodableIgnored.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:237:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
226 | }
227 |
228 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
229 | var text: String
230 |
231 | var body: some View {
| `- note: add @available attribute to enclosing property
232 | Text(text)
233 | .multilineTextAlignment(.center)
:
235 | .padding(4)
236 | .frame(minWidth: 0, maxWidth: .infinity)
237 | .background(.yellow)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
238 | .clipShape(RoundedRectangle(cornerRadius: 8))
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:246:6: error: 'foregroundStyle' is only available in macOS 12.0 or newer
240 | }
241 |
242 | struct HeaderView: View {
| `- note: add @available attribute to enclosing struct
243 | var body: some View {
| `- note: add @available attribute to enclosing property
244 | Image(systemName: "pin.square.fill")
245 | .padding()
246 | .foregroundStyle(.white)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
247 | .background(.red)
248 | .clipShape(RoundedRectangle(cornerRadius: 8))
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:247:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
240 | }
241 |
242 | struct HeaderView: View {
| `- note: add @available attribute to enclosing struct
243 | var body: some View {
| `- note: add @available attribute to enclosing property
244 | Image(systemName: "pin.square.fill")
245 | .padding()
246 | .foregroundStyle(.white)
247 | .background(.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
248 | .clipShape(RoundedRectangle(cornerRadius: 8))
249 | }
[34/35] Compiling KyuGenericExtensions UserDefaultsStorable.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:237:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
226 | }
227 |
228 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
229 | var text: String
230 |
231 | var body: some View {
| `- note: add @available attribute to enclosing property
232 | Text(text)
233 | .multilineTextAlignment(.center)
:
235 | .padding(4)
236 | .frame(minWidth: 0, maxWidth: .infinity)
237 | .background(.yellow)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
238 | .clipShape(RoundedRectangle(cornerRadius: 8))
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:246:6: error: 'foregroundStyle' is only available in macOS 12.0 or newer
240 | }
241 |
242 | struct HeaderView: View {
| `- note: add @available attribute to enclosing struct
243 | var body: some View {
| `- note: add @available attribute to enclosing property
244 | Image(systemName: "pin.square.fill")
245 | .padding()
246 | .foregroundStyle(.white)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
247 | .background(.red)
248 | .clipShape(RoundedRectangle(cornerRadius: 8))
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:247:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
240 | }
241 |
242 | struct HeaderView: View {
| `- note: add @available attribute to enclosing struct
243 | var body: some View {
| `- note: add @available attribute to enclosing property
244 | Image(systemName: "pin.square.fill")
245 | .padding()
246 | .foregroundStyle(.white)
247 | .background(.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
248 | .clipShape(RoundedRectangle(cornerRadius: 8))
249 | }
[35/35] Compiling KyuGenericExtensions LazyXGrid.swift
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:237:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
226 | }
227 |
228 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
229 | var text: String
230 |
231 | var body: some View {
| `- note: add @available attribute to enclosing property
232 | Text(text)
233 | .multilineTextAlignment(.center)
:
235 | .padding(4)
236 | .frame(minWidth: 0, maxWidth: .infinity)
237 | .background(.yellow)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
238 | .clipShape(RoundedRectangle(cornerRadius: 8))
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:246:6: error: 'foregroundStyle' is only available in macOS 12.0 or newer
240 | }
241 |
242 | struct HeaderView: View {
| `- note: add @available attribute to enclosing struct
243 | var body: some View {
| `- note: add @available attribute to enclosing property
244 | Image(systemName: "pin.square.fill")
245 | .padding()
246 | .foregroundStyle(.white)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
247 | .background(.red)
248 | .clipShape(RoundedRectangle(cornerRadius: 8))
/Users/admin/builder/spi-builder-workspace/Sources/KyuGenericExtensions/Views/LazyXGrid.swift:247:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
240 | }
241 |
242 | struct HeaderView: View {
| `- note: add @available attribute to enclosing struct
243 | var body: some View {
| `- note: add @available attribute to enclosing property
244 | Image(systemName: "pin.square.fill")
245 | .padding()
246 | .foregroundStyle(.white)
247 | .background(.red)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
248 | .clipShape(RoundedRectangle(cornerRadius: 8))
249 | }
BUILD FAILURE 6.2 macosSpm