Build Information
Failed to build Undertow, reference main (4968e6), with Swift 6.2 for macOS (SPM) on 15 Aug 2026 03:58:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s8Undertow9MaskStore10ObservablefMm_6MemberfMu_>(
+--------------------------------------------------------------------
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:17:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:17:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:15:64: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectSource/EffectSourceViewModifier.swift:26:41: error: 'now' is only available in macOS 12 or newer
14 | /// the collected target masks. Because the wrapping `GeometryReader` has no intrinsic size,
15 | /// apply any `.frame(...)` that sizes the scrolled content *after* this modifier, not before.
16 | struct EffectSourceViewModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
17 | /// Which effect to apply.
18 | let configuration: Effect
:
24 | /// configurations (e.g. `.water`) — see `effectLayer(content:boundingRect:)`. Unused, and
25 | /// costs nothing, for static configurations.
26 | @State private var startTime = Date.now
| `- error: 'now' is only available in macOS 12 or newer
27 |
28 | private var targetMasks: Set<TargetMask> {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:16:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:16:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:16:58: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:17:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:17:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
[35/51] Compiling Undertow View+effectSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:16:38: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:12:2: error: 'Observable()' is only available in macOS 14.0 or newer
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
13 | final class MaskStore {
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:16:5: note: expanded code originates here
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- note: in expansion of macro 'Observable' on property 'targetMasks' here
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:12:2: error: 'Observable()' is only available in macOS 14.0 or newer
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:17:1: note: expanded code originates here
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- note: in expansion of macro 'Observable' on class 'MaskStore' here
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
17 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s8Undertow9MaskStore10ObservablefMm_6MemberfMu_>(
+--------------------------------------------------------------------
18 |
macro expansion @ObservationTracked:3:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:16:42: note: expanded code originates here
11 | /// descendants.
12 | @Observable
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
|2 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
|3 | @ObservationIgnored private var _targetMasks: Set<TargetMask> = []
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 | }
18 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:17:1: note: expanded code originates here
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- note: in expansion of macro 'Observable' on class 'MaskStore' here
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
17 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s8Undertow9MaskStore10ObservablefMm_6MemberfMu_>(
+--------------------------------------------------------------------
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:17:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:17:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:15:64: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectSource/EffectSourceViewModifier.swift:26:41: error: 'now' is only available in macOS 12 or newer
14 | /// the collected target masks. Because the wrapping `GeometryReader` has no intrinsic size,
15 | /// apply any `.frame(...)` that sizes the scrolled content *after* this modifier, not before.
16 | struct EffectSourceViewModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
17 | /// Which effect to apply.
18 | let configuration: Effect
:
24 | /// configurations (e.g. `.water`) — see `effectLayer(content:boundingRect:)`. Unused, and
25 | /// costs nothing, for static configurations.
26 | @State private var startTime = Date.now
| `- error: 'now' is only available in macOS 12 or newer
27 |
28 | private var targetMasks: Set<TargetMask> {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:16:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:16:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:16:58: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:17:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:17:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
[36/51] Compiling Undertow View+effectTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:16:38: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:12:2: error: 'Observable()' is only available in macOS 14.0 or newer
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
13 | final class MaskStore {
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:16:5: note: expanded code originates here
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- note: in expansion of macro 'Observable' on property 'targetMasks' here
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:12:2: error: 'Observable()' is only available in macOS 14.0 or newer
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:17:1: note: expanded code originates here
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- note: in expansion of macro 'Observable' on class 'MaskStore' here
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
17 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s8Undertow9MaskStore10ObservablefMm_6MemberfMu_>(
+--------------------------------------------------------------------
18 |
macro expansion @ObservationTracked:3:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:16:42: note: expanded code originates here
11 | /// descendants.
12 | @Observable
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
+--- macro expansion @ObservationTracked ----------------------------
|1 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
|2 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
|3 | @ObservationIgnored private var _targetMasks: Set<TargetMask> = []
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
17 | }
18 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectCoordinator/MaskStore.swift:17:1: note: expanded code originates here
10 | /// A shared observable store that holds target masks reported by `.effectTarget()`
11 | /// descendants.
12 | @Observable
| `- note: in expansion of macro 'Observable' on class 'MaskStore' here
13 | final class MaskStore {
| `- note: add '@available' attribute to enclosing class
14 | /// Masks reported by all `.effectTarget()` targets. Collected via standard SwiftUI
15 | /// `PreferenceKey` propagation (`EffectTargetFramePreferenceKey`).
16 | var targetMasks: Set<TargetMask> = []
17 | }
+--- macro expansion @Observable ------------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s8Undertow9MaskStore10ObservablefMm_6MemberfMu_>(
+--------------------------------------------------------------------
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:17:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectCoordinator.swift:17:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Collects target frames from descendant `.effectTarget()` views and distributes
12 | /// them to a descendant `.effectSource()` via the environment.
:
14 | /// `effectCoordinator()` must wrap both `.effectSource()` and any
15 | /// `.effectTarget()` views for the environment plumbing to connect them.
16 | func effectCoordinator() -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectCoordinatorModifier())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:15:64: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/EffectSource/EffectSourceViewModifier.swift:26:41: error: 'now' is only available in macOS 12 or newer
14 | /// the collected target masks. Because the wrapping `GeometryReader` has no intrinsic size,
15 | /// apply any `.frame(...)` that sizes the scrolled content *after* this modifier, not before.
16 | struct EffectSourceViewModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
17 | /// Which effect to apply.
18 | let configuration: Effect
:
24 | /// configurations (e.g. `.water`) — see `effectLayer(content:boundingRect:)`. Unused, and
25 | /// costs nothing, for static configurations.
26 | @State private var startTime = Date.now
| `- error: 'now' is only available in macOS 12 or newer
27 |
28 | private var targetMasks: Set<TargetMask> {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:16:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectSource.swift:16:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies an effect to this view, masked to the frames of descendant
12 | /// `.effectTarget()` views.
13 | /// - Parameter configuration: Which effect to apply. Defaults to `.invert`.
14 | /// - Returns: A view with the effect applied and masked to the collected target masks.
15 | func effectSource(configuration: Effect = .invert) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | modifier(EffectSourceViewModifier(configuration: configuration))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:16:58: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:17:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+effectTarget.swift:17:9: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Marks the view as a target whose on-screen frame should be cut out of the nearest
12 | /// ancestor `.effectSource()`'s effect.
:
14 | /// Defaults to `0`.
15 | /// - Returns: A view that reports its frame for the effect pipeline's masking.
16 | func effectTarget(cornerRadius: CGFloat = 0) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | modifier(EffectTargetViewModifier(cornerRadius: cornerRadius))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
[37/51] Compiling Undertow View+embossEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:16:50: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
13 | /// - Parameter strength: How strongly to add/subtract the offset pixels.
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:17:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
19 | maxSampleOffset: CGSize(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:18:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | maxSampleOffset: CGSize(width: 1, height: 1)
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:24:95: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:23:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
21 | /// axis pass.
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:25:38: error: 'Shader' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
| |- error: 'Shader' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | Float(boundingRect.origin.x),
27 | Float(boundingRect.origin.y),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:33:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
31 |
32 | self
33 | .layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
34 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
35 | boundingRectArg,
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:34:17: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
32 | self
33 | .layerEffect(
34 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | boundingRectArg,
36 | .float(radius),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:43:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
41 | maxSampleOffset: CGSize(width: radius, height: 0)
42 | )
43 | .layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
45 | boundingRectArg,
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:44:17: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
42 | )
43 | .layerEffect(
44 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
45 | boundingRectArg,
46 | .float(radius),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:17:35: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
14 | /// target masks is `.effectSource()`'s job, not this shader's.
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:18:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
20 | maxSampleOffset: .zero
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:19:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | maxSampleOffset: .zero
21 | )
[38/51] Compiling Undertow View+gaussianBlurEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:16:50: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
13 | /// - Parameter strength: How strongly to add/subtract the offset pixels.
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:17:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
19 | maxSampleOffset: CGSize(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:18:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | maxSampleOffset: CGSize(width: 1, height: 1)
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:24:95: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:23:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
21 | /// axis pass.
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:25:38: error: 'Shader' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
| |- error: 'Shader' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | Float(boundingRect.origin.x),
27 | Float(boundingRect.origin.y),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:33:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
31 |
32 | self
33 | .layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
34 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
35 | boundingRectArg,
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:34:17: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
32 | self
33 | .layerEffect(
34 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | boundingRectArg,
36 | .float(radius),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:43:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
41 | maxSampleOffset: CGSize(width: radius, height: 0)
42 | )
43 | .layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
45 | boundingRectArg,
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:44:17: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
42 | )
43 | .layerEffect(
44 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
45 | boundingRectArg,
46 | .float(radius),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:17:35: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
14 | /// target masks is `.effectSource()`'s job, not this shader's.
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:18:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
20 | maxSampleOffset: .zero
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:19:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | maxSampleOffset: .zero
21 | )
[39/51] Compiling Undertow View+invertedEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:16:50: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
13 | /// - Parameter strength: How strongly to add/subtract the offset pixels.
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:17:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
19 | maxSampleOffset: CGSize(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+embossEffect.swift:18:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the embossing/relief effect to this view via `.layerEffect` (see
12 | /// `Emboss.metal`).
:
14 | /// - Returns: This view with the emboss effect applied.
15 | @ViewBuilder
16 | func embossEffect(strength: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.layerEffect(
18 | ShaderLibrary.embossLibrary.emboss(.float(strength)),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | maxSampleOffset: CGSize(width: 1, height: 1)
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:24:95: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:23:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
21 | /// axis pass.
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:25:38: error: 'Shader' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
| |- error: 'Shader' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | Float(boundingRect.origin.x),
27 | Float(boundingRect.origin.y),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:33:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
31 |
32 | self
33 | .layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
34 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
35 | boundingRectArg,
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:34:17: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
32 | self
33 | .layerEffect(
34 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | boundingRectArg,
36 | .float(radius),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:43:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
41 | maxSampleOffset: CGSize(width: radius, height: 0)
42 | )
43 | .layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
44 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
45 | boundingRectArg,
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+gaussianBlurEffect.swift:44:17: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the two-pass separable Gaussian blur shader to this view via `.layerEffect` (see
12 | /// `GaussianBlur.metal`).
:
22 | /// - Returns: This view with the two-pass Gaussian blur effect applied.
23 | @ViewBuilder
24 | func gaussianBlurEffect(radius: CGFloat, boundingRect: CGRect, maxSamples: Float) -> some View {
| `- note: add '@available' attribute to enclosing instance method
25 | let boundingRectArg: SwiftUI.Shader.Argument = .float4(
26 | Float(boundingRect.origin.x),
:
42 | )
43 | .layerEffect(
44 | ShaderLibrary.gaussianBlurLibrary.gaussianBlur(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
45 | boundingRectArg,
46 | .float(radius),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:17:35: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:16:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
14 | /// target masks is `.effectSource()`'s job, not this shader's.
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:18:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
20 | maxSampleOffset: .zero
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+invertedEffect.swift:19:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the `invertColors` shader to this view via `.layerEffect`.
12 | ///
:
15 | /// - Returns: This view with the color-inversion effect applied.
16 | @ViewBuilder
17 | func invertedEffect() -> some View {
| `- note: add '@available' attribute to enclosing instance method
18 | self.layerEffect(
19 | ShaderLibrary.rgbInversionLibrary.invertColors(),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | maxSampleOffset: .zero
21 | )
[40/51] Compiling Undertow ShaderLibrary+waveLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:12:29: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Wave-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Wave-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:12:35: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "WhiteNoise-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "WhiteNoise-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:18:52: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:17:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
15 | /// to avoid clipping.
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:19:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
21 | maxSampleOffset: CGSize(width: offset.width * 2, height: offset.height * 2)
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:20:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
21 | maxSampleOffset: CGSize(width: offset.width * 2, height: offset.height * 2)
22 | )
[41/51] Compiling Undertow ShaderLibrary+whiteNoiseLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:12:29: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Wave-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Wave-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:12:35: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "WhiteNoise-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "WhiteNoise-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:18:52: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:17:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
15 | /// to avoid clipping.
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:19:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
21 | maxSampleOffset: CGSize(width: offset.width * 2, height: offset.height * 2)
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:20:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
21 | maxSampleOffset: CGSize(width: offset.width * 2, height: offset.height * 2)
22 | )
[42/51] Compiling Undertow View+colorPlanesEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:12:29: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Wave-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Wave-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waveLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the uniform wave-distortion effect.
12 | static let waveLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:12:35: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "WhiteNoise-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "WhiteNoise-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+whiteNoiseLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic grayscale-noise effect.
12 | static let whiteNoiseLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:18:52: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:17:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
15 | /// to avoid clipping.
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:19:14: error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
| |- error: 'layerEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
21 | maxSampleOffset: CGSize(width: offset.width * 2, height: offset.height * 2)
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+colorPlanesEffect.swift:20:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the RGB-shift/glitch effect to this view via `.layerEffect` (see
12 | /// `ColorPlanes.metal`.
:
16 | /// - Returns: This view with the color-planes effect applied.
17 | @ViewBuilder
18 | func colorPlanesEffect(offset: CGSize) -> some View {
| `- note: add '@available' attribute to enclosing instance method
19 | self.layerEffect(
20 | ShaderLibrary.colorPlanesLibrary.colorPlanes(.float2(Float(offset.width), Float(offset.height))),
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
21 | maxSampleOffset: CGSize(width: offset.width * 2, height: offset.height * 2)
22 | )
[43/51] Compiling Undertow ShaderLibrary+colorPlanesLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:12:36: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "ColorPlanes-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "ColorPlanes-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:12:31: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Emboss-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Emboss-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:12:37: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "GaussianBlur-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "GaussianBlur-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
[44/51] Compiling Undertow ShaderLibrary+embossLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:12:36: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "ColorPlanes-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "ColorPlanes-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:12:31: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Emboss-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Emboss-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:12:37: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "GaussianBlur-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "GaussianBlur-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
[45/51] Compiling Undertow ShaderLibrary+gaussianBlurLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:12:36: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "ColorPlanes-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "ColorPlanes-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+colorPlanesLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the RGB-shift/glitch color-planes effect
12 | static let colorPlanesLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:12:31: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Emboss-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Emboss-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+embossLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the embossing/relief effect.
12 | static let embossLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:12:37: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "GaussianBlur-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "GaussianBlur-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+gaussianBlurLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the two-pass separable Gaussian blur effect.
12 | static let gaussianBlurLibrary: ShaderLibrary = {
[46/51] Compiling Undertow ShaderLibrary+rainbowNoiseLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:12:37: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "RainbowNoise-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "RainbowNoise-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:12:32: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Shimmer-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Shimmer-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:12:30: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Water-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Water-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
[47/51] Compiling Undertow ShaderLibrary+shimmerLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:12:37: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "RainbowNoise-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "RainbowNoise-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:12:32: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Shimmer-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Shimmer-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:12:30: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Water-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Water-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
[48/51] Compiling Undertow ShaderLibrary+waterLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:12:37: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "RainbowNoise-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "RainbowNoise-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+rainbowNoiseLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the dynamic multi-colored-noise effect.
12 | static let rainbowNoiseLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:12:32: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Shimmer-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Shimmer-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+shimmerLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the shimmering gradient-sweep effect.
12 | static let shimmerLibrary: ShaderLibrary = {
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:12:30: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Water-iphonesimulator"
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:25:16: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
| `- note: add '@available' attribute to enclosing static property
13 | #if targetEnvironment(simulator)
14 | let name = "Water-iphonesimulator"
:
23 | fatalError("Undertow: missing Metal library '\(name).metallib' in bundle.")
24 | }
25 | return ShaderLibrary(url: url)
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | }()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/ShaderLibrary+waterLibrary.swift:10:11: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension ShaderLibrary {
| | `- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// The precompiled Metal shader library for the water-ripple distortion effect.
12 | static let waterLibrary: ShaderLibrary = {
[49/51] Compiling Undertow View+rainbowNoiseEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:16:57: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
13 | /// - Parameter time: Elapsed seconds since the effect's animation began.
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:17:14: error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
| |- error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
19 | )
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:18:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | )
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:25:177: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:24:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
22 | /// y-axis; only meaningful modulo 180°) — converted to radians for the shader.
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:26:14: error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
| |- error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
27 | ShaderLibrary.shimmerLibrary.shimmer(
28 | .float2(size),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:27:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | .float2(size),
29 | .float(time),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:21:119: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:20:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
18 | /// - frequency: How often ripples occur. 5–25 work best.
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:22:14: error: 'distortionEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
| |- error: 'distortionEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
23 | ShaderLibrary.waterLibrary.water(
24 | .float2(size),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:23:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | .float2(size),
25 | .float(time),
[50/51] Compiling Undertow View+shimmerEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:16:57: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
13 | /// - Parameter time: Elapsed seconds since the effect's animation began.
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:17:14: error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
| |- error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
19 | )
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:18:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | )
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:25:177: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:24:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
22 | /// y-axis; only meaningful modulo 180°) — converted to radians for the shader.
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:26:14: error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
| |- error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
27 | ShaderLibrary.shimmerLibrary.shimmer(
28 | .float2(size),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:27:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | .float2(size),
29 | .float(time),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:21:119: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:20:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
18 | /// - frequency: How often ripples occur. 5–25 work best.
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:22:14: error: 'distortionEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
| |- error: 'distortionEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
23 | ShaderLibrary.waterLibrary.water(
24 | .float2(size),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:23:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | .float2(size),
25 | .float(time),
[51/51] Compiling Undertow View+waterEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:16:57: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
13 | /// - Parameter time: Elapsed seconds since the effect's animation began.
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:17:14: error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
| |- error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
19 | )
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+rainbowNoiseEffect.swift:18:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the dynamic multi-colored-noise effect to this view via `.colorEffect` (see
12 | /// `RainbowNoise.metal`).
:
14 | /// - Returns: This view with the rainbow-noise effect applied.
15 | @ViewBuilder
16 | func rainbowNoiseEffect(time: TimeInterval) -> some View {
| `- note: add '@available' attribute to enclosing instance method
17 | self.colorEffect(
18 | ShaderLibrary.rainbowNoiseLibrary.rainbowNoise(.float(time))
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
19 | )
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:25:177: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:24:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
22 | /// y-axis; only meaningful modulo 180°) — converted to radians for the shader.
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:26:14: error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
| |- error: 'colorEffect(_:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
27 | ShaderLibrary.shimmerLibrary.shimmer(
28 | .float2(size),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+shimmerEffect.swift:27:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the shimmering gradient-sweep effect to this view via `.colorEffect` (see
12 | /// `Shimmer.metal`).
:
23 | /// - Returns: This view with the shimmer effect applied.
24 | @ViewBuilder
25 | func shimmerEffect(size: CGSize, time: TimeInterval, animationDuration: CGFloat, gradientWidth: CGFloat, maxLightness: CGFloat, direction: CGFloat, angle: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
26 | self.colorEffect(
27 | ShaderLibrary.shimmerLibrary.shimmer(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | .float2(size),
29 | .float(time),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:21:119: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:20:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
18 | /// - frequency: How often ripples occur. 5–25 work best.
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:22:14: error: 'distortionEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
| |- error: 'distortionEffect(_:maxSampleOffset:isEnabled:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
23 | ShaderLibrary.waterLibrary.water(
24 | .float2(size),
/Users/admin/builder/spi-builder-workspace/Sources/Undertow/Extensions/View+waterEffect.swift:23:13: error: 'ShaderLibrary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add '@available' attribute to enclosing extension
11 | /// Applies the water-ripple distortion effect to this view via `.distortionEffect` (see
12 | /// `Water.metal`).
:
19 | /// - Returns: This view with the water effect applied.
20 | @ViewBuilder
21 | func waterEffect(size: CGSize, time: TimeInterval, speed: CGFloat, strength: CGFloat, frequency: CGFloat) -> some View {
| `- note: add '@available' attribute to enclosing instance method
22 | self.distortionEffect(
23 | ShaderLibrary.waterLibrary.water(
| |- error: 'ShaderLibrary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | .float2(size),
25 | .float(time),
BUILD FAILURE 6.2 macosSpm