The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GSRouting, reference main (16cd6a), with Swift 6.1 for macOS (SPM) on 23 Dec 2025 09:28:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ginsudev/GSRouting.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ginsudev/GSRouting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 16cd6a3 Merge pull request #2 from ginsudev/release/2.0
Cloned https://github.com/ginsudev/GSRouting.git
Revision (git rev-parse @):
16cd6a37b8e5d4bd5a91dae8919915f4db179bba
SUCCESS checkout https://github.com/ginsudev/GSRouting.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ginsudev/GSRouting.git
https://github.com/ginsudev/GSRouting.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GSRouting",
  "name" : "GSRouting",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "GSRouting",
      "targets" : [
        "GSRouting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GSRouting",
      "module_type" : "SwiftTarget",
      "name" : "GSRouting",
      "path" : "Sources/GSRouting",
      "product_memberships" : [
        "GSRouting"
      ],
      "sources" : [
        "AppNavigationRouter.swift",
        "AppTabRouter.swift",
        "Environment/EnvironmentKeys.swift",
        "Protocols/TabRoute.swift",
        "Protocols/ViewRoute.swift",
        "Utilities/AnyRoute.swift",
        "Utilities/Router.swift",
        "ViewModifiers/Routable.swift",
        "Views/AppRouterView.swift",
        "Views/RoutableTabView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/12] Emitting module GSRouting
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published internal var fullScreenCover: AnyViewRoute?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     private let tabRouter: AppTabRouter?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:52: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
14 |
15 |     @Published public internal(set) var selectedTab: AnyTabRoute
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     internal init(tabs: [any TabRoute]) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:11:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    |             `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Environment/EnvironmentKeys.swift:10:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @Entry internal var tabRouter: AppTabRouter?
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:40:30: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:42:32: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
   |                    |           `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
43 |
44 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:50:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
48 |         - context: The context in which the tab label is being created.
49 |     */
50 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
51 |     func makeLabel(context: Context) -> TabLabel
   |          `- note: add @available attribute to enclosing instance method
52 |
53 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:59:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
57 |         - context: The context in which the tab content is being created.
58 |     */
59 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
60 |     func makeContent(context: Context) -> TabContent
   |          `- note: add @available attribute to enclosing instance method
61 |
62 |     typealias Context = RoutableTabContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:38:48: error: 'Identifiable' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:41:26: error: 'View' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
42 |
43 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:51:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   :
49 |      - Returns: A SwiftUI `View` representing the main content of the view.
50 |      */
51 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
52 |     func makeBody(context: Context) -> Body
   |          `- note: add @available attribute to enclosing instance method
53 |
54 |     typealias Context = RoutableViewContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:39:49: error: 'Identifiable' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:29: error: 'AnyView' is only available in macOS 10.15 or newer
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- note: add @available attribute to enclosing struct
13 |     public typealias Body = AnyView
   |                      |      `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
14 |
15 |     private let _route: any ViewRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
13 |     public typealias Body = AnyView
14 |
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:30:33: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
   |                      |          `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
31 |     public typealias TabContent = AnyView
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:31:35: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   |                      |            `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
32 |
33 |     private let _route: any TabRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
10 | /// A convenience propertyWrapper to access the injected `AppNavigationRouter` instance.
11 | @propertyWrapper
12 | public struct Router: DynamicProperty {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     @EnvironmentObject
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
15 |     private var router: AppNavigationRouter
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:15:37: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
13 |     private let content: Content
14 |
15 |     init(tabRouter: AppTabRouter?, @ViewBuilder _ content: @escaping () -> Content) {
   |     |                               `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
16 |         self._navigationRouter = .init(wrappedValue: .init(tabRouter: tabRouter))
17 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
   :
18 |     }
19 |
20 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |         Base(navigationRouter: navigationRouter) {
22 |             content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: error: 'ObservedObject' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        |- note: add @available attribute to enclosing struct
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
   |          `- error: 'ObservedObject' is only available in macOS 10.15 or newer
28 |
29 |         private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:31:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
29 |         private let content: Content
30 |
31 |         init(navigationRouter: AppNavigationRouter, @ViewBuilder _ content: @escaping () -> Content) {
   |         |                                            `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing initializer
32 |             self.navigationRouter = navigationRouter
33 |             self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:36:24: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
34 |         }
35 |
36 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
37 |             NavigationStack(path: $navigationRouter.path) {
38 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:46:63: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
44 |         }
45 |
46 |         private func sheetView(_ sheet: AnyViewRoute) -> some View {
   |                      |                                        `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
47 |             sheet.makeBody(context: .init(presentationMode: .sheet))
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:50:73: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
48 |         }
49 |
50 |         private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
   |                      |                                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
51 |             cover.makeBody(context: .init(presentationMode: .fullScreenCover))
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:54:85: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
52 |         }
53 |
54 |         private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
   |                      |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
55 |             destination.makeBody(context: .init(presentationMode: .destination))
56 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:49: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                |                                `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:61:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
62 |
63 |     private let content: (AppTabRouter?) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:65:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
63 |     private let content: (AppTabRouter?) -> Content
64 |
65 |     init(@ViewBuilder _ content: @escaping (AppTabRouter?) -> Content) {
   |     |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
66 |         self.content = content
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:69:20: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
   :
67 |     }
68 |
69 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
70 |         content(tabRouter)
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:60:44: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:78:36: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
77 |     /// control the navigation through usage of the ``Router`` propertyWrapper, or access via environment object.
78 |     public func routable() -> some View {
   |                 |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
79 |         AppTabRouterReader { tabRouter in
80 |             RoutableNavigationStack(tabRouter: tabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:89:75: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
   :
87 |     /// and gives subviews the ability to control the navigation through usage of the ``Router`` propertyWrapper,
88 |     /// or access via environment object.
89 |     public func routable(_ navigationRouter: AppNavigationRouter) -> some View {
   |                 |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
90 |         RoutableNavigationStack.Base(navigationRouter: navigationRouter) {
91 |             self
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:74:11: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:13:40: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |            |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
14 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .tabView(.init(tabs: tabs, content: content))))
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:17:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
15 |     }
16 |
17 |     public init(@ViewBuilder content: @escaping () -> Content) {
   |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
18 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .singlePage(.init(content: content))))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:39:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
38 |
39 |             init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |             |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing initializer
40 |                 self.tabRouter = AppTabRouter(tabs: tabs)
41 |                 self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:44:35: error: 'View' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
   :
42 |             }
43 |
44 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
45 |                 content(tabRouter)
46 |                     .environment(\.tabRouter, tabRouter)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:58:35: error: 'View' is only available in macOS 10.15 or newer
49 |
50 |         @MainActor
51 |         struct SinglePageRenderConfig {
   |                `- note: add @available attribute to enclosing struct
52 |             private let content: () -> Content
53 |
   :
56 |             }
57 |
58 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
59 |                 content()
60 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:65:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
63 |
64 |     @MainActor
65 |     private final class ViewModel: ObservableObject {
   |                         |          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                         |- note: add @available attribute to enclosing class
   |                         `- note: add @available attribute to enclosing class
66 |         let renderConfig: RenderConfig
67 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:10:38: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               |                      `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:49:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
50 |
51 |     public init(tabRouter: AppTabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:27: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
53 |     }
54 |
55 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
56 |         TabView(selection: $tabRouter.selectedTab) {
57 |             ForEach(tabRouter.tabs) { tab in
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:65:54: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
63 |     }
64 |
65 |     private func labelView(tab: AnyTabRoute) -> some View {
   |                  |                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
66 |         tab.makeLabel(context: makeContext(tab: tab))
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:69:56: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
67 |     }
68 |
69 |     private func contentView(tab: AnyTabRoute) -> some View {
   |                  |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
70 |         tab.makeContent(context: makeContext(tab: tab))
71 |     }
[4/12] Compiling GSRouting AppTabRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
14 |
15 |     @Published public internal(set) var selectedTab: AnyTabRoute
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     internal init(tabs: [any TabRoute]) {
<unknown>:0: error: cannot convert value of type 'KeyPath<AppTabRouter, AnyTabRoute>' to expected argument type 'ReferenceWritableKeyPath<AppTabRouter, AnyTabRoute>'
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:11:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    |             `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:20:9: error: setter for 'selectedTab' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
   :
15 |     @Published public internal(set) var selectedTab: AnyTabRoute
16 |
17 |     internal init(tabs: [any TabRoute]) {
   |              `- note: add @available attribute to enclosing initializer
18 |         guard let firstTab = tabs.first else { fatalError("Must have atleast 1 tab.") }
19 |         self.tabs = tabs.map(AnyTabRoute.init(erasing:))
20 |         self.selectedTab = .init(erasing: firstTab)
   |         |- error: setter for 'selectedTab' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:25:9: error: setter for 'selectedTab' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
   :
21 |     }
22 |
23 |     public func selectTab(id: String) {
   |                 `- note: add @available attribute to enclosing instance method
24 |         guard selectedTab.id != id, let newTab = tabs.first(where: { $0.id == id }) else { return }
25 |         self.selectedTab = newTab
   |         |- error: setter for 'selectedTab' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 |
[5/12] Compiling GSRouting EnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Environment/EnvironmentKeys.swift:10:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @Entry internal var tabRouter: AppTabRouter?
12 | }
[6/12] Compiling GSRouting AppNavigationRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published internal var fullScreenCover: AnyViewRoute?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     private let tabRouter: AppTabRouter?
<unknown>:0: error: cannot convert value of type 'KeyPath<AppNavigationRouter, [AnyViewRoute]>' to expected argument type 'ReferenceWritableKeyPath<AppNavigationRouter, [AnyViewRoute]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AppNavigationRouter, AnyViewRoute?>' to expected argument type 'ReferenceWritableKeyPath<AppNavigationRouter, AnyViewRoute?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AppNavigationRouter, AnyViewRoute?>' to expected argument type 'ReferenceWritableKeyPath<AppNavigationRouter, AnyViewRoute?>'
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:52: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:25:9: error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
22 |
23 |     /// Pushes the view for the given route onto the navigation stack.
24 |     public func push(_ view: some ViewRoute) {
   |                 `- note: add @available attribute to enclosing instance method
25 |         path.append(AnyViewRoute(erasing: view))
   |         |- error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:30:13: error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
27 |
28 |     /// Pops the last view route from the navigation stack.
29 |     public func pop() {
   |                 `- note: add @available attribute to enclosing instance method
30 |         _ = path.popLast()
   |             |- error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:35:9: error: setter for 'path' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
32 |
33 |     /// Resets the navigation stack, returning to the root view.
34 |     public func popToRoot() {
   |                 `- note: add @available attribute to enclosing instance method
35 |         path = []
   |         |- error: setter for 'path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:40:9: error: setter for 'sheet' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
37 |
38 |     /// Presents the view for the given route in a sheet.
39 |     public func presentSheet(_ view: some ViewRoute) {
   |                 `- note: add @available attribute to enclosing instance method
40 |         sheet = AnyViewRoute(erasing: view)
   |         |- error: setter for 'sheet' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
41 |     }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:45:9: error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
42 |
43 |     /// Presents the view for the given route in a fullScreenCover.
44 |     public func presentCover(_ view: some ViewRoute) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         fullScreenCover = AnyViewRoute(erasing: view)
   |         |- error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |     }
47 |
[7/12] Compiling GSRouting ViewRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:41:26: error: 'View' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
42 |
43 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:51:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   :
49 |      - Returns: A SwiftUI `View` representing the main content of the view.
50 |      */
51 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
52 |     func makeBody(context: Context) -> Body
   |          `- note: add @available attribute to enclosing instance method
53 |
54 |     typealias Context = RoutableViewContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:39:49: error: 'Identifiable' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
[8/12] Compiling GSRouting AnyRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:29: error: 'AnyView' is only available in macOS 10.15 or newer
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- note: add @available attribute to enclosing struct
13 |     public typealias Body = AnyView
   |                      |      `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
14 |
15 |     private let _route: any ViewRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
13 |     public typealias Body = AnyView
14 |
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:30:33: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
   |                      |          `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
31 |     public typealias TabContent = AnyView
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:31:35: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   |                      |            `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
32 |
33 |     private let _route: any TabRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:24:9: error: 'AnyView' is only available in macOS 10.15 or newer
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- note: add @available attribute to enclosing struct
13 |     public typealias Body = AnyView
14 |
   :
21 |     }
22 |
23 |     public func makeBody(context: Context) -> Self.Body {
   |                 `- note: add @available attribute to enclosing instance method
24 |         AnyView(_route.makeBody(context: context))
   |         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |     }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:42:9: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   :
39 |     }
40 |
41 |     public func makeLabel(context: Context) -> Self.TabLabel {
   |                 `- note: add @available attribute to enclosing instance method
42 |         AnyView(_route.makeLabel(context: context))
   |         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
43 |     }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:46:9: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   :
43 |     }
44 |
45 |     public func makeContent(context: Context) -> Self.TabContent {
   |                 `- note: add @available attribute to enclosing instance method
46 |         AnyView(_route.makeContent(context: context))
   |         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |     }
48 | }
[9/12] Compiling GSRouting AppRouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:13:40: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |            |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
14 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .tabView(.init(tabs: tabs, content: content))))
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:17:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
15 |     }
16 |
17 |     public init(@ViewBuilder content: @escaping () -> Content) {
   |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
18 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .singlePage(.init(content: content))))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:39:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
38 |
39 |             init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |             |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing initializer
40 |                 self.tabRouter = AppTabRouter(tabs: tabs)
41 |                 self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:44:35: error: 'View' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
   :
42 |             }
43 |
44 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
45 |                 content(tabRouter)
46 |                     .environment(\.tabRouter, tabRouter)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:58:35: error: 'View' is only available in macOS 10.15 or newer
49 |
50 |         @MainActor
51 |         struct SinglePageRenderConfig {
   |                `- note: add @available attribute to enclosing struct
52 |             private let content: () -> Content
53 |
   :
56 |             }
57 |
58 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
59 |                 content()
60 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:65:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
63 |
64 |     @MainActor
65 |     private final class ViewModel: ObservableObject {
   |                         |          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                         |- note: add @available attribute to enclosing class
   |                         `- note: add @available attribute to enclosing class
66 |         let renderConfig: RenderConfig
67 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:10:38: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               |                      `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:24:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
24 |             config.render()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
25 |         case let .tabView(config):
26 |             config.render()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:26:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
24 |             config.render()
25 |         case let .tabView(config):
26 |             config.render()
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
27 |         }
28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:21:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |               `- note: add 'if #available' version check
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:46:22: error: 'environment' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
   :
42 |             }
43 |
44 |             func render() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
45 |                 content(tabRouter)
46 |                     .environment(\.tabRouter, tabRouter)
   |                      |- error: 'environment' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
47 |             }
48 |         }
[10/12] Compiling GSRouting Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
10 | /// A convenience propertyWrapper to access the injected `AppNavigationRouter` instance.
11 | @propertyWrapper
12 | public struct Router: DynamicProperty {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     @EnvironmentObject
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
15 |     private var router: AppNavigationRouter
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:17:52: warning: main actor-isolated property 'router' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
13 |
14 |     @EnvironmentObject
15 |     private var router: AppNavigationRouter
   |                 `- note: property declared here
16 |
17 |     public var wrappedValue: AppNavigationRouter { router }
   |                                                    `- warning: main actor-isolated property 'router' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 |
19 |     public init() { }
[11/12] Compiling GSRouting TabRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:40:30: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:42:32: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
   |                    |           `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
43 |
44 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:50:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
48 |         - context: The context in which the tab label is being created.
49 |     */
50 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
51 |     func makeLabel(context: Context) -> TabLabel
   |          `- note: add @available attribute to enclosing instance method
52 |
53 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:59:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
57 |         - context: The context in which the tab content is being created.
58 |     */
59 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
60 |     func makeContent(context: Context) -> TabContent
   |          `- note: add @available attribute to enclosing instance method
61 |
62 |     typealias Context = RoutableTabContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:38:48: error: 'Identifiable' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
[12/12] Compiling GSRouting Routable.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:15:37: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
13 |     private let content: Content
14 |
15 |     init(tabRouter: AppTabRouter?, @ViewBuilder _ content: @escaping () -> Content) {
   |     |                               `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
16 |         self._navigationRouter = .init(wrappedValue: .init(tabRouter: tabRouter))
17 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
   :
18 |     }
19 |
20 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |         Base(navigationRouter: navigationRouter) {
22 |             content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: error: 'ObservedObject' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        |- note: add @available attribute to enclosing struct
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
   |          `- error: 'ObservedObject' is only available in macOS 10.15 or newer
28 |
29 |         private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:31:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
29 |         private let content: Content
30 |
31 |         init(navigationRouter: AppNavigationRouter, @ViewBuilder _ content: @escaping () -> Content) {
   |         |                                            `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing initializer
32 |             self.navigationRouter = navigationRouter
33 |             self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:36:24: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
34 |         }
35 |
36 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
37 |             NavigationStack(path: $navigationRouter.path) {
38 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:46:63: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
44 |         }
45 |
46 |         private func sheetView(_ sheet: AnyViewRoute) -> some View {
   |                      |                                        `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
47 |             sheet.makeBody(context: .init(presentationMode: .sheet))
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:50:73: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
48 |         }
49 |
50 |         private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
   |                      |                                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
51 |             cover.makeBody(context: .init(presentationMode: .fullScreenCover))
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:54:85: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
52 |         }
53 |
54 |         private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
   |                      |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
55 |             destination.makeBody(context: .init(presentationMode: .destination))
56 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:49: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                |                                `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:61:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
62 |
63 |     private let content: (AppTabRouter?) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:65:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
63 |     private let content: (AppTabRouter?) -> Content
64 |
65 |     init(@ViewBuilder _ content: @escaping (AppTabRouter?) -> Content) {
   |     |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
66 |         self.content = content
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:69:20: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
   :
67 |     }
68 |
69 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
70 |         content(tabRouter)
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:60:44: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:78:36: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
77 |     /// control the navigation through usage of the ``Router`` propertyWrapper, or access via environment object.
78 |     public func routable() -> some View {
   |                 |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
79 |         AppTabRouterReader { tabRouter in
80 |             RoutableNavigationStack(tabRouter: tabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:89:75: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
   :
87 |     /// and gives subviews the ability to control the navigation through usage of the ``Router`` propertyWrapper,
88 |     /// or access via environment object.
89 |     public func routable(_ navigationRouter: AppNavigationRouter) -> some View {
   |                 |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
90 |         RoutableNavigationStack.Base(navigationRouter: navigationRouter) {
91 |             self
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:74:11: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:32:13: error: setter for 'navigationRouter' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
29 |         private let content: Content
30 |
31 |         init(navigationRouter: AppNavigationRouter, @ViewBuilder _ content: @escaping () -> Content) {
   |         `- note: add @available attribute to enclosing initializer
32 |             self.navigationRouter = navigationRouter
   |             |- error: setter for 'navigationRouter' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
33 |             self.content = content()
34 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:37:53: error: cannot assign to property: '$navigationRouter' is immutable
35 |
36 |         var body: some View {
37 |             NavigationStack(path: $navigationRouter.path) {
   |                                                     `- error: cannot assign to property: '$navigationRouter' is immutable
38 |                 content
39 |                     .sheet(item: $navigationRouter.sheet, content: sheetView)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:39:52: error: cannot assign to property: '$navigationRouter' is immutable
37 |             NavigationStack(path: $navigationRouter.path) {
38 |                 content
39 |                     .sheet(item: $navigationRouter.sheet, content: sheetView)
   |                                                    `- error: cannot assign to property: '$navigationRouter' is immutable
40 |                     .fullScreenCover(item: $navigationRouter.fullScreenCover, content: fullScreenCoverView)
41 |                     .navigationDestination(for: AnyViewRoute.self, destination: navigationDestinationView)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:40:62: error: cannot assign to property: '$navigationRouter' is immutable
38 |                 content
39 |                     .sheet(item: $navigationRouter.sheet, content: sheetView)
40 |                     .fullScreenCover(item: $navigationRouter.fullScreenCover, content: fullScreenCoverView)
   |                                                              `- error: cannot assign to property: '$navigationRouter' is immutable
41 |                     .navigationDestination(for: AnyViewRoute.self, destination: navigationDestinationView)
42 |             }
[13/13] Compiling GSRouting RoutableTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:49:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
50 |
51 |     public init(tabRouter: AppTabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:27: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
53 |     }
54 |
55 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
56 |         TabView(selection: $tabRouter.selectedTab) {
57 |             ForEach(tabRouter.tabs) { tab in
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:65:54: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
63 |     }
64 |
65 |     private func labelView(tab: AnyTabRoute) -> some View {
   |                  |                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
66 |         tab.makeLabel(context: makeContext(tab: tab))
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:69:56: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
67 |     }
68 |
69 |     private func contentView(tab: AnyTabRoute) -> some View {
   |                  |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
70 |         tab.makeContent(context: makeContext(tab: tab))
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:52:9: error: setter for 'tabRouter' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
51 |     public init(tabRouter: AppTabRouter) {
   |            `- note: add @available attribute to enclosing initializer
52 |         self.tabRouter = tabRouter
   |         |- error: setter for 'tabRouter' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 |     }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:56:39: error: cannot assign to property: '$tabRouter' is immutable
54 |
55 |     public var body: some View {
56 |         TabView(selection: $tabRouter.selectedTab) {
   |                                       `- error: cannot assign to property: '$tabRouter' is immutable
57 |             ForEach(tabRouter.tabs) { tab in
58 |                 contentView(tab: tab)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling GSRouting AppTabRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
14 |
15 |     @Published public internal(set) var selectedTab: AnyTabRoute
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     internal init(tabs: [any TabRoute]) {
<unknown>:0: error: cannot convert value of type 'KeyPath<AppTabRouter, AnyTabRoute>' to expected argument type 'ReferenceWritableKeyPath<AppTabRouter, AnyTabRoute>'
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:11:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    |             `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:20:9: error: setter for 'selectedTab' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
   :
15 |     @Published public internal(set) var selectedTab: AnyTabRoute
16 |
17 |     internal init(tabs: [any TabRoute]) {
   |              `- note: add @available attribute to enclosing initializer
18 |         guard let firstTab = tabs.first else { fatalError("Must have atleast 1 tab.") }
19 |         self.tabs = tabs.map(AnyTabRoute.init(erasing:))
20 |         self.selectedTab = .init(erasing: firstTab)
   |         |- error: setter for 'selectedTab' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:25:9: error: setter for 'selectedTab' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
   :
21 |     }
22 |
23 |     public func selectTab(id: String) {
   |                 `- note: add @available attribute to enclosing instance method
24 |         guard selectedTab.id != id, let newTab = tabs.first(where: { $0.id == id }) else { return }
25 |         self.selectedTab = newTab
   |         |- error: setter for 'selectedTab' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 |
[3/11] Compiling GSRouting AppNavigationRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published internal var fullScreenCover: AnyViewRoute?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     private let tabRouter: AppTabRouter?
<unknown>:0: error: cannot convert value of type 'KeyPath<AppNavigationRouter, [AnyViewRoute]>' to expected argument type 'ReferenceWritableKeyPath<AppNavigationRouter, [AnyViewRoute]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AppNavigationRouter, AnyViewRoute?>' to expected argument type 'ReferenceWritableKeyPath<AppNavigationRouter, AnyViewRoute?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AppNavigationRouter, AnyViewRoute?>' to expected argument type 'ReferenceWritableKeyPath<AppNavigationRouter, AnyViewRoute?>'
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:52: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:25:9: error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
22 |
23 |     /// Pushes the view for the given route onto the navigation stack.
24 |     public func push(_ view: some ViewRoute) {
   |                 `- note: add @available attribute to enclosing instance method
25 |         path.append(AnyViewRoute(erasing: view))
   |         |- error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:30:13: error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
27 |
28 |     /// Pops the last view route from the navigation stack.
29 |     public func pop() {
   |                 `- note: add @available attribute to enclosing instance method
30 |         _ = path.popLast()
   |             |- error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:35:9: error: setter for 'path' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
32 |
33 |     /// Resets the navigation stack, returning to the root view.
34 |     public func popToRoot() {
   |                 `- note: add @available attribute to enclosing instance method
35 |         path = []
   |         |- error: setter for 'path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
36 |     }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:40:9: error: setter for 'sheet' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
37 |
38 |     /// Presents the view for the given route in a sheet.
39 |     public func presentSheet(_ view: some ViewRoute) {
   |                 `- note: add @available attribute to enclosing instance method
40 |         sheet = AnyViewRoute(erasing: view)
   |         |- error: setter for 'sheet' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
41 |     }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:45:9: error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   :
42 |
43 |     /// Presents the view for the given route in a fullScreenCover.
44 |     public func presentCover(_ view: some ViewRoute) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         fullScreenCover = AnyViewRoute(erasing: view)
   |         |- error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |     }
47 |
[4/11] Compiling GSRouting AppRouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:13:40: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |            |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
14 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .tabView(.init(tabs: tabs, content: content))))
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:17:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
15 |     }
16 |
17 |     public init(@ViewBuilder content: @escaping () -> Content) {
   |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
18 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .singlePage(.init(content: content))))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:39:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
38 |
39 |             init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |             |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing initializer
40 |                 self.tabRouter = AppTabRouter(tabs: tabs)
41 |                 self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:44:35: error: 'View' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
   :
42 |             }
43 |
44 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
45 |                 content(tabRouter)
46 |                     .environment(\.tabRouter, tabRouter)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:58:35: error: 'View' is only available in macOS 10.15 or newer
49 |
50 |         @MainActor
51 |         struct SinglePageRenderConfig {
   |                `- note: add @available attribute to enclosing struct
52 |             private let content: () -> Content
53 |
   :
56 |             }
57 |
58 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
59 |                 content()
60 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:65:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
63 |
64 |     @MainActor
65 |     private final class ViewModel: ObservableObject {
   |                         |          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                         |- note: add @available attribute to enclosing class
   |                         `- note: add @available attribute to enclosing class
66 |         let renderConfig: RenderConfig
67 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:10:38: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               |                      `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:24:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
24 |             config.render()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
25 |         case let .tabView(config):
26 |             config.render()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:26:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
24 |             config.render()
25 |         case let .tabView(config):
26 |             config.render()
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
27 |         }
28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:21:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |               `- note: add 'if #available' version check
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:46:22: error: 'environment' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
   :
42 |             }
43 |
44 |             func render() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
45 |                 content(tabRouter)
46 |                     .environment(\.tabRouter, tabRouter)
   |                      |- error: 'environment' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
47 |             }
48 |         }
[5/11] Compiling GSRouting EnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Environment/EnvironmentKeys.swift:10:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @Entry internal var tabRouter: AppTabRouter?
12 | }
[6/11] Compiling GSRouting ViewRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:41:26: error: 'View' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
42 |
43 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:51:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   :
49 |      - Returns: A SwiftUI `View` representing the main content of the view.
50 |      */
51 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
52 |     func makeBody(context: Context) -> Body
   |          `- note: add @available attribute to enclosing instance method
53 |
54 |     typealias Context = RoutableViewContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:39:49: error: 'Identifiable' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
[7/11] Compiling GSRouting AnyRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:29: error: 'AnyView' is only available in macOS 10.15 or newer
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- note: add @available attribute to enclosing struct
13 |     public typealias Body = AnyView
   |                      |      `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
14 |
15 |     private let _route: any ViewRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
13 |     public typealias Body = AnyView
14 |
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:30:33: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
   |                      |          `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
31 |     public typealias TabContent = AnyView
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:31:35: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   |                      |            `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
32 |
33 |     private let _route: any TabRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:24:9: error: 'AnyView' is only available in macOS 10.15 or newer
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- note: add @available attribute to enclosing struct
13 |     public typealias Body = AnyView
14 |
   :
21 |     }
22 |
23 |     public func makeBody(context: Context) -> Self.Body {
   |                 `- note: add @available attribute to enclosing instance method
24 |         AnyView(_route.makeBody(context: context))
   |         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |     }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:42:9: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   :
39 |     }
40 |
41 |     public func makeLabel(context: Context) -> Self.TabLabel {
   |                 `- note: add @available attribute to enclosing instance method
42 |         AnyView(_route.makeLabel(context: context))
   |         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
43 |     }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:46:9: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   :
43 |     }
44 |
45 |     public func makeContent(context: Context) -> Self.TabContent {
   |                 `- note: add @available attribute to enclosing instance method
46 |         AnyView(_route.makeContent(context: context))
   |         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |     }
48 | }
[8/11] Compiling GSRouting Routable.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:15:37: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
13 |     private let content: Content
14 |
15 |     init(tabRouter: AppTabRouter?, @ViewBuilder _ content: @escaping () -> Content) {
   |     |                               `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
16 |         self._navigationRouter = .init(wrappedValue: .init(tabRouter: tabRouter))
17 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
   :
18 |     }
19 |
20 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |         Base(navigationRouter: navigationRouter) {
22 |             content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: error: 'ObservedObject' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        |- note: add @available attribute to enclosing struct
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
   |          `- error: 'ObservedObject' is only available in macOS 10.15 or newer
28 |
29 |         private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:31:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
29 |         private let content: Content
30 |
31 |         init(navigationRouter: AppNavigationRouter, @ViewBuilder _ content: @escaping () -> Content) {
   |         |                                            `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing initializer
32 |             self.navigationRouter = navigationRouter
33 |             self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:36:24: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
34 |         }
35 |
36 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
37 |             NavigationStack(path: $navigationRouter.path) {
38 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:46:63: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
44 |         }
45 |
46 |         private func sheetView(_ sheet: AnyViewRoute) -> some View {
   |                      |                                        `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
47 |             sheet.makeBody(context: .init(presentationMode: .sheet))
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:50:73: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
48 |         }
49 |
50 |         private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
   |                      |                                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
51 |             cover.makeBody(context: .init(presentationMode: .fullScreenCover))
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:54:85: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
52 |         }
53 |
54 |         private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
   |                      |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
55 |             destination.makeBody(context: .init(presentationMode: .destination))
56 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:49: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                |                                `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:61:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
62 |
63 |     private let content: (AppTabRouter?) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:65:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
63 |     private let content: (AppTabRouter?) -> Content
64 |
65 |     init(@ViewBuilder _ content: @escaping (AppTabRouter?) -> Content) {
   |     |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
66 |         self.content = content
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:69:20: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
   :
67 |     }
68 |
69 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
70 |         content(tabRouter)
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:60:44: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:78:36: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
77 |     /// control the navigation through usage of the ``Router`` propertyWrapper, or access via environment object.
78 |     public func routable() -> some View {
   |                 |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
79 |         AppTabRouterReader { tabRouter in
80 |             RoutableNavigationStack(tabRouter: tabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:89:75: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
   :
87 |     /// and gives subviews the ability to control the navigation through usage of the ``Router`` propertyWrapper,
88 |     /// or access via environment object.
89 |     public func routable(_ navigationRouter: AppNavigationRouter) -> some View {
   |                 |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
90 |         RoutableNavigationStack.Base(navigationRouter: navigationRouter) {
91 |             self
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:74:11: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:32:13: error: setter for 'navigationRouter' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
29 |         private let content: Content
30 |
31 |         init(navigationRouter: AppNavigationRouter, @ViewBuilder _ content: @escaping () -> Content) {
   |         `- note: add @available attribute to enclosing initializer
32 |             self.navigationRouter = navigationRouter
   |             |- error: setter for 'navigationRouter' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
33 |             self.content = content()
34 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:37:53: error: cannot assign to property: '$navigationRouter' is immutable
35 |
36 |         var body: some View {
37 |             NavigationStack(path: $navigationRouter.path) {
   |                                                     `- error: cannot assign to property: '$navigationRouter' is immutable
38 |                 content
39 |                     .sheet(item: $navigationRouter.sheet, content: sheetView)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:39:52: error: cannot assign to property: '$navigationRouter' is immutable
37 |             NavigationStack(path: $navigationRouter.path) {
38 |                 content
39 |                     .sheet(item: $navigationRouter.sheet, content: sheetView)
   |                                                    `- error: cannot assign to property: '$navigationRouter' is immutable
40 |                     .fullScreenCover(item: $navigationRouter.fullScreenCover, content: fullScreenCoverView)
41 |                     .navigationDestination(for: AnyViewRoute.self, destination: navigationDestinationView)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:40:62: error: cannot assign to property: '$navigationRouter' is immutable
38 |                 content
39 |                     .sheet(item: $navigationRouter.sheet, content: sheetView)
40 |                     .fullScreenCover(item: $navigationRouter.fullScreenCover, content: fullScreenCoverView)
   |                                                              `- error: cannot assign to property: '$navigationRouter' is immutable
41 |                     .navigationDestination(for: AnyViewRoute.self, destination: navigationDestinationView)
42 |             }
[9/11] Compiling GSRouting Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
10 | /// A convenience propertyWrapper to access the injected `AppNavigationRouter` instance.
11 | @propertyWrapper
12 | public struct Router: DynamicProperty {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     @EnvironmentObject
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
15 |     private var router: AppNavigationRouter
16 |
[10/11] Compiling GSRouting TabRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:40:30: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:42:32: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
   |                    |           `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
43 |
44 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:50:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
48 |         - context: The context in which the tab label is being created.
49 |     */
50 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
51 |     func makeLabel(context: Context) -> TabLabel
   |          `- note: add @available attribute to enclosing instance method
52 |
53 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:59:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
57 |         - context: The context in which the tab content is being created.
58 |     */
59 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
60 |     func makeContent(context: Context) -> TabContent
   |          `- note: add @available attribute to enclosing instance method
61 |
62 |     typealias Context = RoutableTabContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:38:48: error: 'Identifiable' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Emitting module GSRouting
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published internal var fullScreenCover: AnyViewRoute?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
15 |     @Published internal var fullScreenCover: AnyViewRoute?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     private let tabRouter: AppTabRouter?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:52: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | /// A class to handle navigation routing operations, such as presenting sheets,
11 | /// switching tabs, pushing onto the nav stack etc.
12 | @MainActor public final class AppNavigationRouter: ObservableObject {
   |                               |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                               `- note: add @available attribute to enclosing class
13 |     @Published internal var path: [AnyViewRoute] = []
14 |     @Published internal var sheet: AnyViewRoute?
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
14 |
15 |     @Published public internal(set) var selectedTab: AnyTabRoute
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |
17 |     internal init(tabs: [any TabRoute]) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:11:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | public final class AppTabRouter: ObservableObject {
   |                    |             `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing class
12 |     public let tabs: [AnyTabRoute]
13 |     private var routerForTab: [String: WeakBox] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Environment/EnvironmentKeys.swift:10:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @Entry internal var tabRouter: AppTabRouter?
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:40:30: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:42:32: error: 'View' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
41 |     /// The type of view representing the content of this TabRoute.
42 |     associatedtype TabContent: View
   |                    |           `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
43 |
44 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:50:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
48 |         - context: The context in which the tab label is being created.
49 |     */
50 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
51 |     func makeLabel(context: Context) -> TabLabel
   |          `- note: add @available attribute to enclosing instance method
52 |
53 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:59:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
   :
57 |         - context: The context in which the tab content is being created.
58 |     */
59 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
60 |     func makeContent(context: Context) -> TabContent
   |          `- note: add @available attribute to enclosing instance method
61 |
62 |     typealias Context = RoutableTabContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:38:48: error: 'Identifiable' is only available in macOS 10.15 or newer
36 |  ```
37 |  */
38 | public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
39 |     /// The type of view representing the label of this TabRoute.
40 |     associatedtype TabLabel: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:41:26: error: 'View' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
42 |
43 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:51:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
   :
49 |      - Returns: A SwiftUI `View` representing the main content of the view.
50 |      */
51 |     @MainActor @ViewBuilder
   |                 `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
52 |     func makeBody(context: Context) -> Body
   |          `- note: add @available attribute to enclosing instance method
53 |
54 |     typealias Context = RoutableViewContext
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:39:49: error: 'Identifiable' is only available in macOS 10.15 or newer
37 |  ```
38 |  */
39 | public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
   |                 |                               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
40 |     /// The type of view representing the body of this ViewRoute.
41 |     associatedtype Body: View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:29: error: 'AnyView' is only available in macOS 10.15 or newer
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- note: add @available attribute to enclosing struct
13 |     public typealias Body = AnyView
   |                      |      `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
14 |
15 |     private let _route: any ViewRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
10 |
11 | /// A type-erased ViewRoute.
12 | public struct AnyViewRoute: ViewRoute {
   |               `- warning: protocol 'ViewRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
13 |     public typealias Body = AnyView
14 |
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:30:33: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
   |                      |          `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
31 |     public typealias TabContent = AnyView
32 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:31:35: error: 'AnyView' is only available in macOS 10.15 or newer
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- note: add @available attribute to enclosing struct
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
   |                      |            `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing type alias
32 |
33 |     private let _route: any TabRoute
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:29:15: warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
27 |
28 | /// A type-erased TabRoute.
29 | public struct AnyTabRoute: TabRoute {
   |               `- warning: protocol 'TabRoute' requires 'AnyView' to be available in macOS 10.13 and newer; this will be an error in a future Swift language mode
30 |     public typealias TabLabel = AnyView
31 |     public typealias TabContent = AnyView
SwiftUICore.AnyView:2:23: note: 'AnyView' declared here
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct AnyView : View {
   |                       `- note: 'AnyView' declared here
 3 |     public init<V>(_ view: V) where V : View
 4 |     public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
10 | /// A convenience propertyWrapper to access the injected `AppNavigationRouter` instance.
11 | @propertyWrapper
12 | public struct Router: DynamicProperty {
   |               `- note: add @available attribute to enclosing struct
13 |
14 |     @EnvironmentObject
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
15 |     private var router: AppNavigationRouter
16 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:15:37: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
13 |     private let content: Content
14 |
15 |     init(tabRouter: AppTabRouter?, @ViewBuilder _ content: @escaping () -> Content) {
   |     |                               `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
16 |         self._navigationRouter = .init(wrappedValue: .init(tabRouter: tabRouter))
17 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
   :
18 |     }
19 |
20 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |         Base(navigationRouter: navigationRouter) {
22 |             content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: error: 'ObservedObject' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        |- note: add @available attribute to enclosing struct
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
   |          `- error: 'ObservedObject' is only available in macOS 10.15 or newer
28 |
29 |         private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:31:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
29 |         private let content: Content
30 |
31 |         init(navigationRouter: AppNavigationRouter, @ViewBuilder _ content: @escaping () -> Content) {
   |         |                                            `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing initializer
32 |             self.navigationRouter = navigationRouter
33 |             self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:36:24: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
34 |         }
35 |
36 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
37 |             NavigationStack(path: $navigationRouter.path) {
38 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:46:63: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
44 |         }
45 |
46 |         private func sheetView(_ sheet: AnyViewRoute) -> some View {
   |                      |                                        `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
47 |             sheet.makeBody(context: .init(presentationMode: .sheet))
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:50:73: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
48 |         }
49 |
50 |         private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
   |                      |                                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
51 |             cover.makeBody(context: .init(presentationMode: .fullScreenCover))
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:54:85: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 |
26 |     fileprivate struct Base: View {
   |                        `- note: add @available attribute to enclosing struct
27 |         @ObservedObject private var navigationRouter: AppNavigationRouter
28 |
   :
52 |         }
53 |
54 |         private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
   |                      |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
55 |             destination.makeBody(context: .init(presentationMode: .destination))
56 |         }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:49: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct RoutableNavigationStack<Content: View>: View {
   |                |                                `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var navigationRouter: AppNavigationRouter
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:61:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
62 |
63 |     private let content: (AppTabRouter?) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:65:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
63 |     private let content: (AppTabRouter?) -> Content
64 |
65 |     init(@ViewBuilder _ content: @escaping (AppTabRouter?) -> Content) {
   |     |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
66 |         self.content = content
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:69:20: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
   :
67 |     }
68 |
69 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
70 |         content(tabRouter)
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:60:44: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | private struct AppTabRouterReader<Content: View>: View {
   |                |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing generic struct
61 |     @Environment(\.tabRouter) private var tabRouter
62 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:78:36: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
77 |     /// control the navigation through usage of the ``Router`` propertyWrapper, or access via environment object.
78 |     public func routable() -> some View {
   |                 |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
79 |         AppTabRouterReader { tabRouter in
80 |             RoutableNavigationStack(tabRouter: tabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:89:75: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
   :
87 |     /// and gives subviews the ability to control the navigation through usage of the ``Router`` propertyWrapper,
88 |     /// or access via environment object.
89 |     public func routable(_ navigationRouter: AppNavigationRouter) -> some View {
   |                 |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
90 |         RoutableNavigationStack.Base(navigationRouter: navigationRouter) {
91 |             self
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:74:11: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
75 |
76 |     /// Marks this view as the "root view" of a new navigation stack and gives subviews the ability to
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:11:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:13:40: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
13 |     public init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |            |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
14 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .tabView(.init(tabs: tabs, content: content))))
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:17:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
15 |     }
16 |
17 |     public init(@ViewBuilder content: @escaping () -> Content) {
   |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
18 |         self._viewModel = .init(wrappedValue: .init(renderConfig: .singlePage(.init(content: content))))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:21:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
   :
19 |     }
20 |
21 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
22 |         switch viewModel.renderConfig {
23 |         case let .singlePage(config):
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:39:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
38 |
39 |             init(tabs: [any TabRoute], @ViewBuilder content: @escaping (_ tabRouter: AppTabRouter) -> Content) {
   |             |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing initializer
40 |                 self.tabRouter = AppTabRouter(tabs: tabs)
41 |                 self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:44:35: error: 'View' is only available in macOS 10.15 or newer
33 |
34 |         @MainActor
35 |         struct TabViewRenderConfig {
   |                `- note: add @available attribute to enclosing struct
36 |             private let tabRouter: AppTabRouter
37 |             private let content: (_ tabRouter: AppTabRouter) -> Content
   :
42 |             }
43 |
44 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
45 |                 content(tabRouter)
46 |                     .environment(\.tabRouter, tabRouter)
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:58:35: error: 'View' is only available in macOS 10.15 or newer
49 |
50 |         @MainActor
51 |         struct SinglePageRenderConfig {
   |                `- note: add @available attribute to enclosing struct
52 |             private let content: () -> Content
53 |
   :
56 |             }
57 |
58 |             func render() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
59 |                 content()
60 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:65:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
63 |
64 |     @MainActor
65 |     private final class ViewModel: ObservableObject {
   |                         |          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                         |- note: add @available attribute to enclosing class
   |                         `- note: add @available attribute to enclosing class
66 |         let renderConfig: RenderConfig
67 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/AppRouterView.swift:10:38: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct AppRouterView<Content: View>: View {
   |               |                      `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |     @StateObject private var viewModel: ViewModel
12 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:49:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
50 |
51 |     public init(tabRouter: AppTabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:27: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
53 |     }
54 |
55 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
56 |         TabView(selection: $tabRouter.selectedTab) {
57 |             ForEach(tabRouter.tabs) { tab in
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:65:54: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
63 |     }
64 |
65 |     private func labelView(tab: AnyTabRoute) -> some View {
   |                  |                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
66 |         tab.makeLabel(context: makeContext(tab: tab))
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:69:56: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
67 |     }
68 |
69 |     private func contentView(tab: AnyTabRoute) -> some View {
   |                  |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
70 |         tab.makeContent(context: makeContext(tab: tab))
71 |     }
[12/12] Compiling GSRouting RoutableTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:49:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
50 |
51 |     public init(tabRouter: AppTabRouter) {
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:27: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
53 |     }
54 |
55 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
56 |         TabView(selection: $tabRouter.selectedTab) {
57 |             ForEach(tabRouter.tabs) { tab in
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:65:54: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
63 |     }
64 |
65 |     private func labelView(tab: AnyTabRoute) -> some View {
   |                  |                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
66 |         tab.makeLabel(context: makeContext(tab: tab))
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:69:56: error: 'View' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
   :
67 |     }
68 |
69 |     private func contentView(tab: AnyTabRoute) -> some View {
   |                  |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
70 |         tab.makeContent(context: makeContext(tab: tab))
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:52:9: error: setter for 'tabRouter' is only available in macOS 10.15 or newer
46 | ///
47 | /// ```
48 | public struct RoutableTabView: View {
   |               `- note: add @available attribute to enclosing struct
49 |     @ObservedObject private var tabRouter: AppTabRouter
50 |
51 |     public init(tabRouter: AppTabRouter) {
   |            `- note: add @available attribute to enclosing initializer
52 |         self.tabRouter = tabRouter
   |         |- error: setter for 'tabRouter' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 |     }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:56:39: error: cannot assign to property: '$tabRouter' is immutable
54 |
55 |     public var body: some View {
56 |         TabView(selection: $tabRouter.selectedTab) {
   |                                       `- error: cannot assign to property: '$tabRouter' is immutable
57 |             ForEach(tabRouter.tabs) { tab in
58 |                 contentView(tab: tab)
BUILD FAILURE 6.1 macosSpm