The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Dovetail, reference main (40aee7), with Swift 6.2 for macOS (SPM) on 31 Oct 2026 03:55:59 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

 73 |         NavigationStackIfNeededView(
 74 |             destinations: $destinations,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:93:31: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 |             `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:95:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 96 |     ) {
 97 |         let isRoot: Bool = screenDestinations.isEmpty
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:124:30: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:125:26: error: 'Color' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
126 |         transition: AnyTransition,
127 |         @ViewBuilder content: @escaping () -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:126:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
127 |         @ViewBuilder content: @escaping () -> T
128 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:127:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
127 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
128 |     ) {
129 |         modalBackgroundColor = backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:134:30: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
132 |     }
133 |
134 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
135 |         @ViewBuilder content: @escaping () -> T
136 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:135:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
132 |     }
133 |
134 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
135 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
136 |     ) {
137 |         // Reset the styling, so a previously styled modal doesn't leak into this one.
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:30:43: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               |                           `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:172:33: error: 'Color' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:173:28: error: 'AnyTransition' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
    |                |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:10:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public extension EnvironmentValues {
    |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
 11 |     /// The router of the closest enclosing ``DovetailRouterView``.
 12 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:49:24: error: 'View' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 47 |     ///   - segue: How the screen is presented. See ``SegueOption``.
 48 |     ///   - content: A view builder that receives the new screen's router and returns its content.
 49 |     func showScreen<T: View>(
    |          |             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 50 |         _ segue: SegueOption,
 51 |         @ViewBuilder content: @escaping (Router) -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:51:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 47 |     ///   - segue: How the screen is presented. See ``SegueOption``.
 48 |     ///   - content: A view builder that receives the new screen's router and returns its content.
 49 |     func showScreen<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 50 |         _ segue: SegueOption,
 51 |         @ViewBuilder content: @escaping (Router) -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 52 |     )
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:68:23: error: 'View' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          |            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
 70 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:69:26: error: 'Color' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 70 |         transition: AnyTransition,
 71 |         @ViewBuilder content: @escaping () -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:70:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
 70 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 71 |         @ViewBuilder content: @escaping () -> T
 72 |     )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:71:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
 70 |         transition: AnyTransition,
 71 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 72 |     )
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:80:23: error: 'View' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 78 |     ///
 79 |     /// - Parameter content: A view builder that returns the modal content.
 80 |     func showModal<T: View>(
    |          |            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         @ViewBuilder content: @escaping () -> T
 82 |     )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:81:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 78 |     ///
 79 |     /// - Parameter content: A view builder that returns the modal content.
 80 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 82 |     )
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:113:16: error: 'View' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
    |                 `- note: add '@available' attribute to enclosing instance method
111 |         _ segue: SegueOption,
112 |         content: @escaping (any Router) -> T
113 |     ) where T: View {
    |                `- error: 'View' is only available in macOS 10.15 or newer
114 |         print("The Router Environment is not initialized.")
115 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:121:30: error: 'View' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
119 |     }
120 |
121 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
122 |         @ViewBuilder content: @escaping () -> T
123 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:122:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
119 |     }
120 |
121 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
122 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
123 |     ) {
124 |         print("The Router Environment is not initialized.")
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:127:30: error: 'View' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
129 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:128:26: error: 'Color' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
129 |         transition: AnyTransition,
130 |         @ViewBuilder content: @escaping () -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:129:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
129 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
130 |         @ViewBuilder content: @escaping () -> T
131 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:130:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
129 |         transition: AnyTransition,
130 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
131 |     ) {
132 |         print("The Router Environment is not initialized.")
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:13:36: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                         `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         sheet(item: screen) { screen in
 15 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:13:70: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                                                           `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         sheet(item: screen) { screen in
 15 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:21:46: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 19 |     }
 20 |
 21 |     func fullScreenCoverViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 22 |         fullScreenCover(item: screen) { screen in
 23 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:21:80: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 19 |     }
 20 |
 21 |     func fullScreenCoverViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 22 |         fullScreenCover(item: screen) { screen in
 23 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:32:26: error: 'Color' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 33 |         transition: AnyTransition,
 34 |         screen: Binding<AnyDestination?>,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:33:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 34 |         screen: Binding<AnyDestination?>,
 35 |         onOutsidePress: @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:34:17: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
 34 |         screen: Binding<AnyDestination?>,
    |                 `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |         onOutsidePress: @escaping () -> Void
 36 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:36:15: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
 34 |         screen: Binding<AnyDestination?>,
 35 |         onOutsidePress: @escaping () -> Void
 36 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 37 |         overlay {
 38 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:55:37: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          |                          `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:55:69: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          |                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:73:50: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          |                                       `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:73:95: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          |                                                                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:12:11: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:95:20: error: 'View' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:26:25: error: 'AnyView' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
25 |     /// An optional view shown below the title.
26 |     public let message: AnyView?
   |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
27 |     /// The buttons of the alert, in display order.
28 |     public let actions: [ButtonContent]
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:38:18: error: 'AnyView' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
   :
34 |     ///   - message: An optional view shown below the title.
35 |     ///   - actions: The buttons of the alert, in display order. When empty, a single OK button is shown.
36 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
37 |         title: String,
38 |         message: AnyView? = nil,
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
39 |         actions: [ButtonContent]
40 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:16:22: error: 'ButtonRole' is only available in macOS 12.0 or newer
 8 |
 9 | /// A button shown in an ``AlertContent`` or a ``ConfirmationDialogContent``.
10 | public struct ButtonContent: Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
11 |     /// A unique identifier, generated when the button is created.
12 |     public let id = UUID().uuidString
   :
14 |     public let label: String
15 |     /// The role of the button, such as `.cancel` or `.destructive`, if any.
16 |     public let role: ButtonRole?
   |                      `- error: 'ButtonRole' is only available in macOS 12.0 or newer
17 |     /// The closure to run when the button is tapped.
18 |     public let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:30:15: error: 'ButtonRole' is only available in macOS 12.0 or newer
 8 |
 9 | /// A button shown in an ``AlertContent`` or a ``ConfirmationDialogContent``.
10 | public struct ButtonContent: Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
11 |     /// A unique identifier, generated when the button is created.
12 |     public let id = UUID().uuidString
   :
26 |     ///   - action: The closure to run when the button is tapped. The alert or dialog is dismissed
27 |     ///     automatically.
28 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
29 |         label: String,
30 |         role: ButtonRole? = nil,
   |               `- error: 'ButtonRole' is only available in macOS 12.0 or newer
31 |         action: @escaping () -> Void
32 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:43:35: error: 'AnyView' is only available in macOS 10.15 or newer
37 | }
38 |
39 | extension Array where Element == ButtonContent {
   | `- note: add '@available' attribute to enclosing extension
40 |     /// Builds a SwiftUI `Button` for each element, in order.
41 |     ///
42 |     /// - Returns: A type-erased view containing the buttons.
43 |     func generateButtonsView() -> AnyView {
   |          |                        `- error: 'AnyView' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
44 |         AnyView(ForEach(self) { action in
45 |             Button(action.label, role: action.role, action: action.action)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:25:25: error: 'AnyView' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
24 |     /// An optional view shown below the title.
25 |     public let message: AnyView?
   |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
26 |     /// The buttons of the dialog, in display order.
27 |     public let actions: [ButtonContent]
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:37:18: error: 'AnyView' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
   :
33 |     ///   - message: An optional view shown below the title.
34 |     ///   - actions: The buttons of the dialog, in display order. When empty, a single OK button is shown.
35 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
36 |         title: String,
37 |         message: AnyView? = nil,
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
38 |         actions: [ButtonContent]
39 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AnyDestination.swift:16:22: error: 'AnyView' is only available in macOS 10.15 or newer
12 | /// Each destination gets a unique ``id`` when it's created. Two destinations are equal only if they
13 | /// share that identifier, even when they wrap the same view.
14 | public struct AnyDestination: Hashable, Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
15 |
16 |     var destination: AnyView
   |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
17 |
18 |     /// Creates a destination that wraps the given view.
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AnyDestination.swift:21:20: error: 'View' is only available in macOS 10.15 or newer
12 | /// Each destination gets a unique ``id`` when it's created. Two destinations are equal only if they
13 | /// share that identifier, even when they wrap the same view.
14 | public struct AnyDestination: Hashable, Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
15 |
16 |     var destination: AnyView
   :
19 |     ///
20 |     /// - Parameter destination: The view to show when the destination is presented.
21 |     public init<T: View>(destination: T) {
   |            |       `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
22 |         self.destination = AnyView(destination)
23 |     }
[4/12] Compiling DovetailRouter AlertContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:26:25: error: 'AnyView' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
25 |     /// An optional view shown below the title.
26 |     public let message: AnyView?
   |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
27 |     /// The buttons of the alert, in display order.
28 |     public let actions: [ButtonContent]
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:38:18: error: 'AnyView' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
   :
34 |     ///   - message: An optional view shown below the title.
35 |     ///   - actions: The buttons of the alert, in display order. When empty, a single OK button is shown.
36 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
37 |         title: String,
38 |         message: AnyView? = nil,
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
39 |         actions: [ButtonContent]
40 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:57:42: error: 'AnyView' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
   :
50 |     ///   - message: The text shown below the title.
51 |     ///   - actions: The buttons of the alert, in display order. When empty, a single OK button is shown.
52 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
53 |         title: String,
54 |         message: String,
55 |         actions: [ButtonContent]
56 |     ) {
57 |         self.init(title: title, message: AnyView(Text(message)), actions: actions)
   |                                          |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
58 |     }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:57:42: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
   :
50 |     ///   - message: The text shown below the title.
51 |     ///   - actions: The buttons of the alert, in display order. When empty, a single OK button is shown.
52 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
53 |         title: String,
54 |         message: String,
55 |         actions: [ButtonContent]
56 |     ) {
57 |         self.init(title: title, message: AnyView(Text(message)), actions: actions)
   |                                          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
58 |     }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/AlertContent.swift:57:50: error: 'Text' is only available in macOS 10.15 or newer
20 | /// ))
21 | /// ```
22 | public struct AlertContent {
   |               `- note: add '@available' attribute to enclosing struct
23 |     /// The title of the alert.
24 |     public let title: String
   :
50 |     ///   - message: The text shown below the title.
51 |     ///   - actions: The buttons of the alert, in display order. When empty, a single OK button is shown.
52 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
53 |         title: String,
54 |         message: String,
55 |         actions: [ButtonContent]
56 |     ) {
57 |         self.init(title: title, message: AnyView(Text(message)), actions: actions)
   |                                                  |- error: 'Text' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
58 |     }
59 | }
[5/12] Compiling DovetailRouter CustomModalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   |                          `- error: 'Color' is only available in macOS 10.15 or newer
13 |     var transition: AnyTransition
14 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:13:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
13 |     var transition: AnyTransition
   |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
14 |
15 |     var modalContentView: AnyView?
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:15:27: error: 'AnyView' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
13 |     var transition: AnyTransition
14 |
15 |     var modalContentView: AnyView?
   |                           `- error: 'AnyView' is only available in macOS 10.15 or newer
16 |     var onOutsidePress: () -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:18:20: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:19:9: error: 'ZStack' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |             if let modalContentView {
21 |                 backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:19:9: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
   |         |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |             if let modalContentView {
21 |                 backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:22:22: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
21 |                 backgroundColor
22 |                     .ignoresSafeArea(.all)
   |                      |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
23 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
24 |                     .transition(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:23:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
21 |                 backgroundColor
22 |                     .ignoresSafeArea(.all)
23 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
   |                      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
24 |                     .transition(
25 |                         .asymmetric(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:24:22: error: 'transition' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
22 |                     .ignoresSafeArea(.all)
23 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
24 |                     .transition(
   |                      |- error: 'transition' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
25 |                         .asymmetric(
26 |                             insertion: .opacity.animation(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:25:26: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
23 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
24 |                     .transition(
25 |                         .asymmetric(
   |                          |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
26 |                             insertion: .opacity.animation(
27 |                                 .linear
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:26:41: error: 'opacity' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
24 |                     .transition(
25 |                         .asymmetric(
26 |                             insertion: .opacity.animation(
   |                                         |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
27 |                                 .linear
28 |                             ),
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:26:49: error: 'animation' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
24 |                     .transition(
25 |                         .asymmetric(
26 |                             insertion: .opacity.animation(
   |                                                 |- error: 'animation' is only available in macOS 10.15 or newer
   |                                                 `- note: add 'if #available' version check
27 |                                 .linear
28 |                             ),
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:27:34: error: 'linear' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
25 |                         .asymmetric(
26 |                             insertion: .opacity.animation(
27 |                                 .linear
   |                                  |- error: 'linear' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
28 |                             ),
29 |                             removal: .opacity.animation(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:29:39: error: 'opacity' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
27 |                                 .linear
28 |                             ),
29 |                             removal: .opacity.animation(
   |                                       |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                       `- note: add 'if #available' version check
30 |                                 .linear.delay(
31 |                                     0.1
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:29:47: error: 'animation' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
27 |                                 .linear
28 |                             ),
29 |                             removal: .opacity.animation(
   |                                               |- error: 'animation' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
30 |                                 .linear.delay(
31 |                                     0.1
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:30:34: error: 'linear' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
28 |                             ),
29 |                             removal: .opacity.animation(
30 |                                 .linear.delay(
   |                                  |- error: 'linear' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
31 |                                     0.1
32 |                                 )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:30:41: error: 'delay' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
28 |                             ),
29 |                             removal: .opacity.animation(
30 |                                 .linear.delay(
   |                                         |- error: 'delay' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
31 |                                     0.1
32 |                                 )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:36:22: error: 'zIndex' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
34 |                         )
35 |                     )
36 |                     .zIndex(10)
   |                      |- error: 'zIndex' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
37 |                     .onTapGesture {
38 |                         onOutsidePress()
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:37:22: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
35 |                     )
36 |                     .zIndex(10)
37 |                     .onTapGesture {
   |                      |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
38 |                         onOutsidePress()
39 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:42:22: error: 'transition' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
40 |
41 |                 modalContentView
42 |                     .transition(transition)
   |                      |- error: 'transition' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
43 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
44 |                     .zIndex(20)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:43:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
41 |                 modalContentView
42 |                     .transition(transition)
43 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
   |                      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
44 |                     .zIndex(20)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:44:22: error: 'zIndex' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
42 |                     .transition(transition)
43 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
44 |                     .zIndex(20)
   |                      |- error: 'zIndex' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
45 |
46 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:20:37: error: 'buildIf' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   |                                     |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
21 |                 backgroundColor
22 |                     .ignoresSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:46:13: error: 'buildIf' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
44 |                     .zIndex(20)
45 |
46 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
47 |         }
48 |         .zIndex(999999)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:19:16: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
   |                |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
20 |             if let modalContentView {
21 |                 backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:48:10: error: 'zIndex' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
46 |             }
47 |         }
48 |         .zIndex(999999)
   |          |- error: 'zIndex' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
49 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
50 |         .animation(.spring(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:49:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
47 |         }
48 |         .zIndex(999999)
49 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
   |          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
50 |         .animation(.spring(
51 |             response: 0.3,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:50:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
48 |         .zIndex(999999)
49 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
50 |         .animation(.spring(
   |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
51 |             response: 0.3,
52 |             dampingFraction: 0.8
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/CustomModalView.swift:50:21: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 8 |
 9 | /// Draws a custom modal: a full-screen background that dismisses on tap, with the content above it.
10 | struct CustomModalView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |
12 |     var backgroundColor: Color
   :
16 |     var onOutsidePress: () -> Void
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         ZStack {
20 |             if let modalContentView {
   :
48 |         .zIndex(999999)
49 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
50 |         .animation(.spring(
   |                     |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
51 |             response: 0.3,
52 |             dampingFraction: 0.8
[6/12] Compiling DovetailRouter NavigationStackIfNeededView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     var addNavigationStack: Bool
14 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:15:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
14 |
15 |     @ViewBuilder var content: Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 |
17 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
   :
15 |     @ViewBuilder var content: Content
16 |
17 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
18 |         if addNavigationStack {
19 |             NavigationStack(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:11:45: error: 'View' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        |                                    `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:19:13: error: 'NavigationStack' is only available in macOS 13.0 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
   :
15 |     @ViewBuilder var content: Content
16 |
17 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
18 |         if addNavigationStack {
19 |             NavigationStack(
   |             |- error: 'NavigationStack' is only available in macOS 13.0 or newer
   |             `- note: add 'if #available' version check
20 |                 path: $destinations,
21 |                 root: ({
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:23:26: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
   :
15 |     @ViewBuilder var content: Content
16 |
17 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
18 |         if addNavigationStack {
19 |             NavigationStack(
   :
21 |                 root: ({
22 |                     content
23 |                         .navigationDestination(for: AnyDestination.self, destination: ({ destination in
   |                          |- error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
   |                          `- note: add 'if #available' version check
24 |                             destination.destination
25 |                         }))
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:18:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
   :
15 |     @ViewBuilder var content: Content
16 |
17 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
18 |         if addNavigationStack {
   |                               |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
19 |             NavigationStack(
20 |                 path: $destinations,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:28:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
   :
15 |     @ViewBuilder var content: Content
16 |
17 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
18 |         if addNavigationStack {
19 |             NavigationStack(
   :
26 |                 })
27 |             )
28 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
29 |             content
30 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Components/NavigationStackIfNeededView.swift:17:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 9 | /// Wraps `content` in a `NavigationStack` bound to `destinations`, or shows it as is when the
10 | /// view is already inside a stack.
11 | struct NavigationStackIfNeededView<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
12 |     @Binding var destinations: [AnyDestination]
13 |     var addNavigationStack: Bool
   :
15 |     @ViewBuilder var content: Content
16 |
17 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add '@available' attribute to enclosing property
18 |         if addNavigationStack {
19 |             NavigationStack(
[7/12] Compiling DovetailRouter View+RouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:13:36: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                         `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         sheet(item: screen) { screen in
 15 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:13:70: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                                                           `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         sheet(item: screen) { screen in
 15 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:21:46: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 19 |     }
 20 |
 21 |     func fullScreenCoverViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 22 |         fullScreenCover(item: screen) { screen in
 23 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:21:80: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 19 |     }
 20 |
 21 |     func fullScreenCoverViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 22 |         fullScreenCover(item: screen) { screen in
 23 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:32:26: error: 'Color' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 33 |         transition: AnyTransition,
 34 |         screen: Binding<AnyDestination?>,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:33:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 34 |         screen: Binding<AnyDestination?>,
 35 |         onOutsidePress: @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:34:17: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
 34 |         screen: Binding<AnyDestination?>,
    |                 `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |         onOutsidePress: @escaping () -> Void
 36 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:36:15: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
 34 |         screen: Binding<AnyDestination?>,
 35 |         onOutsidePress: @escaping () -> Void
 36 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 37 |         overlay {
 38 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:55:37: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          |                          `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:55:69: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          |                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:73:50: error: 'Binding' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          |                                       `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:73:95: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          |                                                                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:12:11: error: 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:95:20: error: 'View' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:14:9: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         sheet(item: screen) { screen in
    |         |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 15 |             ZStack {
 16 |                 screen.destination
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:15:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         sheet(item: screen) { screen in
 15 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 16 |                 screen.destination
 17 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:22:9: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
 20 |
 21 |     func fullScreenCoverViewModifier(screen: Binding<AnyDestination?>) -> some View {
 22 |         fullScreenCover(item: screen) { screen in
    |         `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
 23 |             ZStack {
 24 |                 screen.destination
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
  |                         `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:23:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 19 |     }
 20 |
 21 |     func fullScreenCoverViewModifier(screen: Binding<AnyDestination?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 22 |         fullScreenCover(item: screen) { screen in
 23 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 24 |                 screen.destination
 25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:37:9: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
    :
 35 |         onOutsidePress: @escaping () -> Void
 36 |     ) -> some View {
 37 |         overlay {
    |         |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |         `- note: add 'if #available' version check
 38 |             ZStack {
 39 |                 CustomModalView(
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:38:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
    :
 36 |     ) -> some View {
 37 |         overlay {
 38 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 39 |                 CustomModalView(
 40 |                     backgroundColor: backgroundColor,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:46:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 29 |     /// Overlays a ``CustomModalView`` that shows `screen` and calls `onOutsidePress` when the
 30 |     /// background is tapped.
 31 |     func customModalViewModifier(
    |          `- note: add '@available' attribute to enclosing instance method
 32 |         backgroundColor: Color,
 33 |         transition: AnyTransition,
    :
 44 |                 )
 45 |             }
 46 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 47 |
 48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:56:9: error: 'alert(_:isPresented:presenting:actions:message:)' is only available in macOS 12.0 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
    |         |- error: 'alert(_:isPresented:presenting:actions:message:)' is only available in macOS 12.0 or newer
    |         `- note: add 'if #available' version check
 57 |             content.wrappedValue?.title ?? "",
 58 |             isPresented: content.isPresented,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:61:42: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
    :
 59 |             presenting: content.wrappedValue,
 60 |             actions: { item in
 61 |                 if !item.actions.isEmpty {
    |                                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
 62 |                     item.actions.generateButtonsView()
 63 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:63:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
    :
 61 |                 if !item.actions.isEmpty {
 62 |                     item.actions.generateButtonsView()
 63 |                 } else {
    |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 64 |                     DefaultDismissButton()
 65 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:60:22: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
 58 |             isPresented: content.isPresented,
 59 |             presenting: content.wrappedValue,
 60 |             actions: { item in
    |                      |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 61 |                 if !item.actions.isEmpty {
 62 |                     item.actions.generateButtonsView()
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:68:17: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
    :
 66 |             },
 67 |             message: { item in
 68 |                 item.message
    |                 |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 69 |             })
 70 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:67:22: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 53 |
 54 |     /// Shows an alert for `content`, with a single OK button when it has no actions.
 55 |     func alertViewModifier(content: Binding<AlertContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         alert(
 57 |             content.wrappedValue?.title ?? "",
    :
 65 |                 }
 66 |             },
 67 |             message: { item in
    |                      |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 68 |                 item.message
 69 |             })
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:74:9: error: 'confirmationDialog(_:isPresented:titleVisibility:presenting:actions:message:)' is only available in macOS 12.0 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
    |         |- error: 'confirmationDialog(_:isPresented:titleVisibility:presenting:actions:message:)' is only available in macOS 12.0 or newer
    |         `- note: add 'if #available' version check
 75 |             content.wrappedValue?.title ?? "",
 76 |             isPresented: content.isPresented,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:79:42: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
    :
 77 |             presenting: content.wrappedValue,
 78 |             actions: { item in
 79 |                 if !item.actions.isEmpty {
    |                                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
 80 |                     item.actions.generateButtonsView()
 81 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:81:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
    :
 79 |                 if !item.actions.isEmpty {
 80 |                     item.actions.generateButtonsView()
 81 |                 } else {
    |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 82 |                     DefaultDismissButton()
 83 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:78:22: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
 76 |             isPresented: content.isPresented,
 77 |             presenting: content.wrappedValue,
 78 |             actions: { item in
    |                      |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 79 |                 if !item.actions.isEmpty {
 80 |                     item.actions.generateButtonsView()
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:86:17: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
    :
 84 |             },
 85 |             message: { item in
 86 |                 item.message
    |                 |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 87 |             }
 88 |         )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:85:22: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 10 | /// Presentation modifiers used by ``DovetailRouterView``. Each one presents while its binding is
 11 | /// non-`nil` and resets the binding to `nil` when dismissed.
 12 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 13 |     func sheetViewModifier(screen: Binding<AnyDestination?>) -> some View {
 14 |         sheet(item: screen) { screen in
    :
 71 |
 72 |     /// Shows a confirmation dialog for `content`, with a single OK button when it has no actions.
 73 |     func confirmationDialogViewModifier(content: Binding<ConfirmationDialogContent?>) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 74 |         confirmationDialog(
 75 |             content.wrappedValue?.title ?? "",
    :
 83 |                 }
 84 |             },
 85 |             message: { item in
    |                      |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 86 |                 item.message
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:98:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
    |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
 99 |             Button("OK", role: .close, action: {})
100 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:99:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
 99 |             Button("OK", role: .close, action: {})
    |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
100 |         } else {
101 |             Button("OK", action: {})
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:99:13: error: 'Button' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
 99 |             Button("OK", role: .close, action: {})
    |             |- error: 'Button' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
100 |         } else {
101 |             Button("OK", action: {})
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:99:13: error: 'init(_:role:action:)' is only available in macOS 12.0 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
 99 |             Button("OK", role: .close, action: {})
    |             |- error: 'init(_:role:action:)' is only available in macOS 12.0 or newer
    |             `- note: add 'if #available' version check
100 |         } else {
101 |             Button("OK", action: {})
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:99:20: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
 99 |             Button("OK", role: .close, action: {})
    |                    |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
100 |         } else {
101 |             Button("OK", action: {})
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:99:33: error: 'close' is only available in macOS 26.0 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
 99 |             Button("OK", role: .close, action: {})
    |                                 |- error: 'close' is only available in macOS 26.0 or newer
    |                                 `- note: add 'if #available' version check
100 |         } else {
101 |             Button("OK", action: {})
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:98:36: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
    |                                    |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 99 |             Button("OK", role: .close, action: {})
100 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:98:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
    |                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                    `- note: add 'if #available' version check
 99 |             Button("OK", role: .close, action: {})
100 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:98:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
    |                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 99 |             Button("OK", role: .close, action: {})
100 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:100:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
 98 |         if #available(iOS 26.0, *) {
 99 |             Button("OK", role: .close, action: {})
100 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
101 |             Button("OK", action: {})
102 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Extensions/View+RouterView.swift:95:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 92 |
 93 | /// The OK button shown when an alert or dialog has no actions.
 94 | private struct DefaultDismissButton: View {
    |                `- note: add '@available' attribute to enclosing struct
 95 |     var body: some View {
    |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    |         |               `- note: add 'if #available' version check
    |         `- note: add '@available' attribute to enclosing property
 96 |         // `ButtonRole.close` is only in the iOS 26 SDK, which ships with Swift 6.2.
 97 |         #if compiler(>=6.2)
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[8/12] Compiling DovetailRouter ConfirmationDialogContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:25:25: error: 'AnyView' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
24 |     /// An optional view shown below the title.
25 |     public let message: AnyView?
   |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
26 |     /// The buttons of the dialog, in display order.
27 |     public let actions: [ButtonContent]
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:37:18: error: 'AnyView' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
   :
33 |     ///   - message: An optional view shown below the title.
34 |     ///   - actions: The buttons of the dialog, in display order. When empty, a single OK button is shown.
35 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
36 |         title: String,
37 |         message: AnyView? = nil,
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
38 |         actions: [ButtonContent]
39 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:56:42: error: 'AnyView' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
   :
49 |     ///   - message: The text shown below the title.
50 |     ///   - actions: The buttons of the dialog, in display order. When empty, a single OK button is shown.
51 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
52 |         title: String,
53 |         message: String,
54 |         actions: [ButtonContent]
55 |     ) {
56 |         self.init(title: title, message: AnyView(Text(message)), actions: actions)
   |                                          |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
57 |     }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:56:42: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
   :
49 |     ///   - message: The text shown below the title.
50 |     ///   - actions: The buttons of the dialog, in display order. When empty, a single OK button is shown.
51 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
52 |         title: String,
53 |         message: String,
54 |         actions: [ButtonContent]
55 |     ) {
56 |         self.init(title: title, message: AnyView(Text(message)), actions: actions)
   |                                          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
57 |     }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ConfirmationDialogContent.swift:56:50: error: 'Text' is only available in macOS 10.15 or newer
19 | /// ))
20 | /// ```
21 | public struct ConfirmationDialogContent {
   |               `- note: add '@available' attribute to enclosing struct
22 |     /// The title of the dialog.
23 |     public let title: String
   :
49 |     ///   - message: The text shown below the title.
50 |     ///   - actions: The buttons of the dialog, in display order. When empty, a single OK button is shown.
51 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
52 |         title: String,
53 |         message: String,
54 |         actions: [ButtonContent]
55 |     ) {
56 |         self.init(title: title, message: AnyView(Text(message)), actions: actions)
   |                                                  |- error: 'Text' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
57 |     }
58 | }
[9/12] Compiling DovetailRouter DovetailRouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:31:20: error: 'dismiss' is only available in macOS 12.0 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
    |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
 32 |
 33 |     @State private var destinations: [AnyDestination] = []
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:31:6: error: 'Environment' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 32 |
 33 |     @State private var destinations: [AnyDestination] = []
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
 33 |     @State private var destinations: [AnyDestination] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |     @Binding private var screenDestinations: [AnyDestination]
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:34:6: error: 'Binding' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
 33 |     @State private var destinations: [AnyDestination] = []
 34 |     @Binding private var screenDestinations: [AnyDestination]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |
 36 |     @State private var sheetScreen: AnyDestination?
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 34 |     @Binding private var screenDestinations: [AnyDestination]
 35 |
 36 |     @State private var sheetScreen: AnyDestination?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |     @State private var fullScreenCover: AnyDestination?
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 35 |
 36 |     @State private var sheetScreen: AnyDestination?
 37 |     @State private var fullScreenCover: AnyDestination?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 38 |
 39 |     // Modal, Alerts and Dialog
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:40:46: error: 'Color' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 38 |
 39 |     // Modal, Alerts and Dialog
 40 |     @State private var modalBackgroundColor: Color = ModalDefaults.backgroundColor
    |                                              `- error: 'Color' is only available in macOS 10.15 or newer
 41 |     @State private var modalTransition: AnyTransition = ModalDefaults.transition
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 38 |
 39 |     // Modal, Alerts and Dialog
 40 |     @State private var modalBackgroundColor: Color = ModalDefaults.backgroundColor
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |     @State private var modalTransition: AnyTransition = ModalDefaults.transition
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:41:41: error: 'AnyTransition' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 39 |     // Modal, Alerts and Dialog
 40 |     @State private var modalBackgroundColor: Color = ModalDefaults.backgroundColor
 41 |     @State private var modalTransition: AnyTransition = ModalDefaults.transition
    |                                         `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 42 |
 43 |     @State private var customModal: AnyDestination?
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 39 |     // Modal, Alerts and Dialog
 40 |     @State private var modalBackgroundColor: Color = ModalDefaults.backgroundColor
 41 |     @State private var modalTransition: AnyTransition = ModalDefaults.transition
    |      `- error: 'State' is only available in macOS 10.15 or newer
 42 |
 43 |     @State private var customModal: AnyDestination?
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 41 |     @State private var modalTransition: AnyTransition = ModalDefaults.transition
 42 |
 43 |     @State private var customModal: AnyDestination?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 44 |
 45 |     @State private var alertContent: AlertContent?
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:45:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 43 |     @State private var customModal: AnyDestination?
 44 |
 45 |     @State private var alertContent: AlertContent?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 46 |     @State private var confirmationDialogContent: ConfirmationDialogContent?
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:46:6: error: 'State' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 44 |
 45 |     @State private var alertContent: AlertContent?
 46 |     @State private var confirmationDialogContent: ConfirmationDialogContent?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 47 |
 48 |     private var addNavigationStack: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:50:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 48 |     private var addNavigationStack: Bool = true
 49 |
 50 |     @ViewBuilder var content: (_ router: Router) -> Content
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 51 |
 52 |     /// Creates a router view.
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:64:30: error: 'Binding' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 60 |     ///     `addNavigationStack` is `false` so pushed screens join that stack. Pass `nil` for a root router.
 61 |     ///   - content: A view builder that receives this router and returns the screen's content.
 62 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 63 |         addNavigationStack: Bool = true,
 64 |         screenDestinations: (Binding<[AnyDestination]>)? = nil,
    |                              `- error: 'Binding' is only available in macOS 10.15 or newer
 65 |         content: @escaping (_ router: Router) -> Content
 66 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:72:27: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 70 |     }
 71 |
 72 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 73 |         NavigationStackIfNeededView(
 74 |             destinations: $destinations,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:93:31: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 |             `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:95:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 96 |     ) {
 97 |         let isRoot: Bool = screenDestinations.isEmpty
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:124:30: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:125:26: error: 'Color' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
126 |         transition: AnyTransition,
127 |         @ViewBuilder content: @escaping () -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:126:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
127 |         @ViewBuilder content: @escaping () -> T
128 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:127:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
127 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
128 |     ) {
129 |         modalBackgroundColor = backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:134:30: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
132 |     }
133 |
134 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
135 |         @ViewBuilder content: @escaping () -> T
136 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:135:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
132 |     }
133 |
134 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
135 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
136 |     ) {
137 |         // Reset the styling, so a previously styled modal doesn't leak into this one.
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:30:43: error: 'View' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               |                           `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:172:33: error: 'Color' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
    |                |                `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:173:28: error: 'AnyTransition' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
    |                |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:90:10: error: 'environment' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 70 |     }
 71 |
 72 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 73 |         NavigationStackIfNeededView(
 74 |             destinations: $destinations,
    :
 88 |             screen: $customModal, onOutsidePress: dismissModal
 89 |         )
 90 |         .environment(\.dovetailRouter, self)
    |          |- error: 'environment' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:111:17: error: cannot pass as inout because setter for 'destinations' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
    :
109 |             if isRoot {
110 |                 /// The destinations contains the initial screen added to the router
111 |                 destinations.append(destination)
    |                 |- error: cannot pass as inout because setter for 'destinations' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
112 |             } else {
113 |                 /// The screenDestinations contains the secondary screens added when routing
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:114:17: error: cannot pass as inout because setter for 'screenDestinations' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
    :
112 |             } else {
113 |                 /// The screenDestinations contains the secondary screens added when routing
114 |                 screenDestinations.append(destination)
    |                 |- error: cannot pass as inout because setter for 'screenDestinations' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
115 |             }
116 |         case .sheet:
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:117:13: error: setter for 'sheetScreen' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
    :
115 |             }
116 |         case .sheet:
117 |             sheetScreen = destination
    |             |- error: setter for 'sheetScreen' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
118 |
119 |         case .fullScreenCover:
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:120:13: error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
 91 |     }
 92 |
 93 |     public func showScreen<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
 94 |         _ segue: SegueOption,
 95 |         @ViewBuilder content: @escaping (Router) -> T
    :
118 |
119 |         case .fullScreenCover:
120 |             fullScreenCover = destination
    |             |- error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
121 |         }
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:129:9: error: setter for 'modalBackgroundColor' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
127 |         @ViewBuilder content: @escaping () -> T
128 |     ) {
129 |         modalBackgroundColor = backgroundColor
    |         |- error: setter for 'modalBackgroundColor' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
130 |         modalTransition = transition
131 |         customModal = AnyDestination(destination: content())
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:130:9: error: setter for 'modalTransition' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
    :
128 |     ) {
129 |         modalBackgroundColor = backgroundColor
130 |         modalTransition = transition
    |         |- error: setter for 'modalTransition' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
131 |         customModal = AnyDestination(destination: content())
132 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:131:9: error: setter for 'customModal' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
122 |     }
123 |
124 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
125 |         backgroundColor: Color,
126 |         transition: AnyTransition,
    :
129 |         modalBackgroundColor = backgroundColor
130 |         modalTransition = transition
131 |         customModal = AnyDestination(destination: content())
    |         |- error: setter for 'customModal' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
132 |     }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:146:9: error: setter for 'customModal' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
143 |     }
144 |
145 |     public func dismissModal() {
    |                 `- note: add '@available' attribute to enclosing instance method
146 |         customModal = nil
    |         |- error: setter for 'customModal' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
147 |     }
148 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:150:9: error: setter for 'alertContent' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
147 |     }
148 |
149 |     public func showAlert(content: AlertContent) {
    |                 `- note: add '@available' attribute to enclosing instance method
150 |         alertContent = content
    |         |- error: setter for 'alertContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
151 |     }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:154:9: error: setter for 'alertContent' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
151 |     }
152 |
153 |     public func dismissAlert() {
    |                 `- note: add '@available' attribute to enclosing instance method
154 |         alertContent = nil
    |         |- error: setter for 'alertContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
155 |     }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:158:9: error: setter for 'confirmationDialogContent' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
155 |     }
156 |
157 |     public func showConfirmationDialog(content: ConfirmationDialogContent) {
    |                 `- note: add '@available' attribute to enclosing instance method
158 |         confirmationDialogContent = content
    |         |- error: setter for 'confirmationDialogContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
159 |     }
160 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:162:9: error: setter for 'confirmationDialogContent' is only available in macOS 10.15 or newer
 28 | /// The router is passed to `content` and also injected as
 29 | /// ``SwiftUICore/EnvironmentValues/dovetailRouter``, so nested views can read it from the environment.
 30 | public struct DovetailRouterView<Content: View>: View, Router {
    |               `- note: add '@available' attribute to enclosing generic struct
 31 |     @Environment(\.dismiss) private var dismiss
 32 |
    :
159 |     }
160 |
161 |     public func dismissConfirmationDialog() {
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         confirmationDialogContent = nil
    |         |- error: setter for 'confirmationDialogContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
163 |     }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:172:41: error: 'Color' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
    |                |                        |- error: 'Color' is only available in macOS 10.15 or newer
    |                |                        `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:172:47: error: 'black' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
    |                |                              |- error: 'black' is only available in macOS 10.15 or newer
    |                |                              `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:172:53: error: 'opacity' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
    |                |                                    |- error: 'opacity' is only available in macOS 10.15 or newer
    |                |                                    `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:173:44: error: 'AnyTransition' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
    |                |                           |- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |                |                           `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:173:58: error: 'scale(scale:anchor:)' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
    |                |                                         |- error: 'scale(scale:anchor:)' is only available in macOS 10.15 or newer
    |                |                                         `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:173:76: error: 'combined(with:)' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
    |                |                                                           |- error: 'combined(with:)' is only available in macOS 10.15 or newer
    |                |                                                           `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/DovetailRouterView.swift:173:92: error: 'opacity' is only available in macOS 10.15 or newer
169 |
170 | /// The styling of a custom modal shown with ``Router/showModal(content:)``.
171 | enum ModalDefaults {
    |      `- note: add '@available' attribute to enclosing enum
172 |     static var backgroundColor: Color { Color.black.opacity(0.25) }
173 |     static var transition: AnyTransition { AnyTransition.scale(scale: 0.9).combined(with: .opacity) }
    |                |                                                                           |- error: 'opacity' is only available in macOS 10.15 or newer
    |                |                                                                           `- note: add 'if #available' version check
    |                `- note: add '@available' attribute to enclosing static property
174 | }
175 |
[10/12] Compiling DovetailRouter Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:10:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public extension EnvironmentValues {
    |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
 11 |     /// The router of the closest enclosing ``DovetailRouterView``.
 12 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:49:24: error: 'View' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 47 |     ///   - segue: How the screen is presented. See ``SegueOption``.
 48 |     ///   - content: A view builder that receives the new screen's router and returns its content.
 49 |     func showScreen<T: View>(
    |          |             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 50 |         _ segue: SegueOption,
 51 |         @ViewBuilder content: @escaping (Router) -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:51:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 47 |     ///   - segue: How the screen is presented. See ``SegueOption``.
 48 |     ///   - content: A view builder that receives the new screen's router and returns its content.
 49 |     func showScreen<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 50 |         _ segue: SegueOption,
 51 |         @ViewBuilder content: @escaping (Router) -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 52 |     )
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:68:23: error: 'View' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          |            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
 70 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:69:26: error: 'Color' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 70 |         transition: AnyTransition,
 71 |         @ViewBuilder content: @escaping () -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:70:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
 70 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 71 |         @ViewBuilder content: @escaping () -> T
 72 |     )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:71:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 66 |     ///   - transition: The transition used to insert and remove the modal content.
 67 |     ///   - content: A view builder that returns the modal content.
 68 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 69 |         backgroundColor: Color,
 70 |         transition: AnyTransition,
 71 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 72 |     )
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:80:23: error: 'View' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 78 |     ///
 79 |     /// - Parameter content: A view builder that returns the modal content.
 80 |     func showModal<T: View>(
    |          |            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         @ViewBuilder content: @escaping () -> T
 82 |     )
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:81:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 | /// Screens shown with ``showScreen(_:content:)`` get their own router, passed to the `content` closure.
 39 | @MainActor
 40 | public protocol Router {
    |                 `- note: add '@available' attribute to enclosing protocol
 41 |     /// Presents a new screen.
 42 |     ///
    :
 78 |     ///
 79 |     /// - Parameter content: A view builder that returns the modal content.
 80 |     func showModal<T: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 82 |     )
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:113:16: error: 'View' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
    |                 `- note: add '@available' attribute to enclosing instance method
111 |         _ segue: SegueOption,
112 |         content: @escaping (any Router) -> T
113 |     ) where T: View {
    |                `- error: 'View' is only available in macOS 10.15 or newer
114 |         print("The Router Environment is not initialized.")
115 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:121:30: error: 'View' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
119 |     }
120 |
121 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
122 |         @ViewBuilder content: @escaping () -> T
123 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:122:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
119 |     }
120 |
121 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
122 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
123 |     ) {
124 |         print("The Router Environment is not initialized.")
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:127:30: error: 'View' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 |            `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
129 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:128:26: error: 'Color' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
129 |         transition: AnyTransition,
130 |         @ViewBuilder content: @escaping () -> T
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:129:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
129 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
130 |         @ViewBuilder content: @escaping () -> T
131 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Core/Router.swift:130:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
107 | /// ``DovetailRouterView``. It is also useful in SwiftUI previews and tests, where real navigation
108 | /// isn't needed.
109 | public final class MockRouter: Router {
    |                    `- note: add '@available' attribute to enclosing class
110 |     public func showScreen<T>(
111 |         _ segue: SegueOption,
    :
125 |     }
126 |
127 |     public func showModal<T: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
128 |         backgroundColor: Color,
129 |         transition: AnyTransition,
130 |         @ViewBuilder content: @escaping () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
131 |     ) {
132 |         print("The Router Environment is not initialized.")
[11/12] Compiling DovetailRouter ButtonContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:16:22: error: 'ButtonRole' is only available in macOS 12.0 or newer
 8 |
 9 | /// A button shown in an ``AlertContent`` or a ``ConfirmationDialogContent``.
10 | public struct ButtonContent: Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
11 |     /// A unique identifier, generated when the button is created.
12 |     public let id = UUID().uuidString
   :
14 |     public let label: String
15 |     /// The role of the button, such as `.cancel` or `.destructive`, if any.
16 |     public let role: ButtonRole?
   |                      `- error: 'ButtonRole' is only available in macOS 12.0 or newer
17 |     /// The closure to run when the button is tapped.
18 |     public let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:30:15: error: 'ButtonRole' is only available in macOS 12.0 or newer
 8 |
 9 | /// A button shown in an ``AlertContent`` or a ``ConfirmationDialogContent``.
10 | public struct ButtonContent: Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
11 |     /// A unique identifier, generated when the button is created.
12 |     public let id = UUID().uuidString
   :
26 |     ///   - action: The closure to run when the button is tapped. The alert or dialog is dismissed
27 |     ///     automatically.
28 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
29 |         label: String,
30 |         role: ButtonRole? = nil,
   |               `- error: 'ButtonRole' is only available in macOS 12.0 or newer
31 |         action: @escaping () -> Void
32 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:43:35: error: 'AnyView' is only available in macOS 10.15 or newer
37 | }
38 |
39 | extension Array where Element == ButtonContent {
   | `- note: add '@available' attribute to enclosing extension
40 |     /// Builds a SwiftUI `Button` for each element, in order.
41 |     ///
42 |     /// - Returns: A type-erased view containing the buttons.
43 |     func generateButtonsView() -> AnyView {
   |          |                        `- error: 'AnyView' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
44 |         AnyView(ForEach(self) { action in
45 |             Button(action.label, role: action.role, action: action.action)
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AlertAndDialog/ButtonContent.swift:44:9: error: conflicting arguments to generic parameter 'V' ('ForEach<Array<ButtonContent>, String, Button<Text>>' vs. 'ForEach<[ButtonContent], String, Button<Text>>')
42 |     /// - Returns: A type-erased view containing the buttons.
43 |     func generateButtonsView() -> AnyView {
44 |         AnyView(ForEach(self) { action in
   |         `- error: conflicting arguments to generic parameter 'V' ('ForEach<Array<ButtonContent>, String, Button<Text>>' vs. 'ForEach<[ButtonContent], String, Button<Text>>')
45 |             Button(action.label, role: action.role, action: action.action)
46 |         })
[12/12] Compiling DovetailRouter AnyDestination.swift
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AnyDestination.swift:16:22: error: 'AnyView' is only available in macOS 10.15 or newer
12 | /// Each destination gets a unique ``id`` when it's created. Two destinations are equal only if they
13 | /// share that identifier, even when they wrap the same view.
14 | public struct AnyDestination: Hashable, Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
15 |
16 |     var destination: AnyView
   |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
17 |
18 |     /// Creates a destination that wraps the given view.
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AnyDestination.swift:21:20: error: 'View' is only available in macOS 10.15 or newer
12 | /// Each destination gets a unique ``id`` when it's created. Two destinations are equal only if they
13 | /// share that identifier, even when they wrap the same view.
14 | public struct AnyDestination: Hashable, Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
15 |
16 |     var destination: AnyView
   :
19 |     ///
20 |     /// - Parameter destination: The view to show when the destination is presented.
21 |     public init<T: View>(destination: T) {
   |            |       `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
22 |         self.destination = AnyView(destination)
23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DovetailRouter/Models/AnyDestination.swift:22:28: error: 'AnyView' is only available in macOS 10.15 or newer
12 | /// Each destination gets a unique ``id`` when it's created. Two destinations are equal only if they
13 | /// share that identifier, even when they wrap the same view.
14 | public struct AnyDestination: Hashable, Identifiable {
   |               `- note: add '@available' attribute to enclosing struct
15 |
16 |     var destination: AnyView
   :
19 |     ///
20 |     /// - Parameter destination: The view to show when the destination is presented.
21 |     public init<T: View>(destination: T) {
   |            `- note: add '@available' attribute to enclosing initializer
22 |         self.destination = AnyView(destination)
   |                            |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
23 |     }
24 |
[13/13] Compiling DovetailRouter SegueOption.swift
BUILD FAILURE 6.2 macosSpm