The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Voyager, reference main (5edf97), with Swift 6.0 for macOS (SPM) on 13 Sep 2025 13:12:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bryan-vh/voyager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bryan-vh/voyager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5edf970 Move content and update TabVoyagerView
Cloned https://github.com/bryan-vh/voyager.git
Revision (git rev-parse @):
5edf97063145f601149f0943ded79c546518f0c6
SUCCESS checkout https://github.com/bryan-vh/voyager.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bryan-vh/voyager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/12] Compiling Voyager TabVoyagerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 6 |     private var router: TabRouter<T>
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
11 |     private let tabBar: () -> TabBar
12 |
13 |     @State
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |     private var customTabBarHeight: CGFloat = 0
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:20:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
22 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:21:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
22 |     ) {
23 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:21:57: error: 'EmptyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
   |                                                         |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                                         `- note: add 'if #available' version check
22 |     ) {
23 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
28 |     }
29 |
30 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
31 |         ZStack {
32 |             TabView(selection: $router.selected) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               |                                 `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               |                                                `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:78: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:23:9: error: setter for 'router' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
   :
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
22 |     ) {
23 |         self.router = router
   |         |- error: setter for 'router' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         self.shouldUseCustomTabBar = shouldUseCustomTabBar
25 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:32:40: error: cannot assign to property: '$router' is immutable
30 |     public var body: some View {
31 |         ZStack {
32 |             TabView(selection: $router.selected) {
   |                                        `- error: cannot assign to property: '$router' is immutable
33 |                 ForEach(router.tabs) { tab in
34 |                     NavVoyagerView(router: getRouter(for: tab)) { route in
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:63:9: error: setter for 'customTabBarHeight' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
60 |     }
61 |
62 |     private func updateTabBarHeight(_ height: CGFloat) {
   |                  `- note: add @available attribute to enclosing instance method
63 |         customTabBarHeight = height
   |         |- error: setter for 'customTabBarHeight' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
64 |     }
65 |
[5/12] Compiling Voyager Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:45: error: 'Identifiable' is only available in macOS 10.15 or newer
1 | import Foundation
2 |
3 | public protocol Route: Equatable, Hashable, Identifiable {}
  |                 |                           `- error: 'Identifiable' is only available in macOS 10.15 or newer
  |                 `- note: add @available attribute to enclosing protocol
4 |
5 | public extension Route {
[6/12] Compiling Voyager TabRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:5:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 6 |     @Published public var selected: T
 7 |     @Published var routers: [Router<T>]
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:6:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
 6 |     @Published public var selected: T
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 7 |     @Published var routers: [Router<T>]
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
 6 |     @Published public var selected: T
 7 |     @Published var routers: [Router<T>]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 8 |
 9 |     public init(tabs: [T], selected: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
<unknown>:0: error: cannot convert value of type 'KeyPath<TabRouter<T>, [T]>' to expected argument type 'ReferenceWritableKeyPath<TabRouter<T>, [T]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabRouter<T>, T>' to expected argument type 'ReferenceWritableKeyPath<TabRouter<T>, T>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabRouter<T>, [Router<T>]>' to expected argument type 'ReferenceWritableKeyPath<TabRouter<T>, [Router<T>]>'
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:10:9: error: setter for 'tabs' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
   :
 7 |     @Published var routers: [Router<T>]
 8 |
 9 |     public init(tabs: [T], selected: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
   |            `- note: add @available attribute to enclosing initializer
10 |         self.tabs = tabs
   |         |- error: setter for 'tabs' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
11 |         self.selected = selected
12 |         self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:11:9: error: setter for 'selected' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
   :
 7 |     @Published var routers: [Router<T>]
 8 |
 9 |     public init(tabs: [T], selected: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
   |            `- note: add @available attribute to enclosing initializer
10 |         self.tabs = tabs
11 |         self.selected = selected
   |         |- error: setter for 'selected' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
12 |         self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:12:9: error: setter for 'routers' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
   :
 7 |     @Published var routers: [Router<T>]
 8 |
 9 |     public init(tabs: [T], selected: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
   |            `- note: add @available attribute to enclosing initializer
10 |         self.tabs = tabs
11 |         self.selected = selected
12 |         self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
   |         |- error: setter for 'routers' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |     }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:16:9: error: setter for 'selected' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
   :
13 |     }
14 |
15 |     public func updateSelectedTab(_ to: T) {
   |                 `- note: add @available attribute to enclosing instance method
16 |         selected = to
   |         |- error: setter for 'selected' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |     }
18 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/12] Compiling Voyager PresentationOption.swift
[8/12] Emitting module Voyager
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 6 |     private let content: (T) -> Content
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
 6 |     private let content: (T) -> Content
 7 |
 8 |     public init(
   |            `- note: add @available attribute to enclosing initializer
 9 |         router: Router<T>,
10 |         @ViewBuilder content: @escaping (T) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |     ) {
12 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
17 |         content(router.root)
18 |             .sheet(item: $router.sheet) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:50: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 6 |     private let content: (T) -> Content
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
 6 |     private let content: (T) -> Content
 7 |
 8 |     public init(
   |            `- note: add @available attribute to enclosing initializer
 9 |         router: Router<T>,
10 |         @ViewBuilder content: @escaping (T) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |     ) {
12 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
17 |         NavigationStack(path: $router.routes) {
18 |             content(router.root)
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               |                                 `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:45: error: 'Identifiable' is only available in macOS 10.15 or newer
1 | import Foundation
2 |
3 | public protocol Route: Equatable, Hashable, Identifiable {}
  |                 |                           `- error: 'Identifiable' is only available in macOS 10.15 or newer
  |                 `- note: add @available attribute to enclosing protocol
4 |
5 | public extension Route {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
 6 |
 7 |     @Published var root: T
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 8 |     @Published var routes: [T]
 9 |     @Published var sheet: T?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
 6 |
 7 |     @Published var root: T
 8 |     @Published var routes: [T]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |     @Published var sheet: T?
10 |     @Published var fullscreenCover: T?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
 7 |     @Published var root: T
 8 |     @Published var routes: [T]
 9 |     @Published var sheet: T?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
10 |     @Published var fullscreenCover: T?
11 |     @Published var popover: T?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:10:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
 8 |     @Published var routes: [T]
 9 |     @Published var sheet: T?
10 |     @Published var fullscreenCover: T?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
11 |     @Published var popover: T?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
 9 |     @Published var sheet: T?
10 |     @Published var fullscreenCover: T?
11 |     @Published var popover: T?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
12 |
13 |     var onDismiss: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:5:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 6 |     @Published public var selected: T
 7 |     @Published var routers: [Router<T>]
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:6:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
 6 |     @Published public var selected: T
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 7 |     @Published var routers: [Router<T>]
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
 6 |     @Published public var selected: T
 7 |     @Published var routers: [Router<T>]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 8 |
 9 |     public init(tabs: [T], selected: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class TabRouter<T: Route>: ObservableObject {
   |              |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     @Published public var tabs: [T]
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 6 |     private var router: TabRouter<T>
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
11 |     private let tabBar: () -> TabBar
12 |
13 |     @State
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |     private var customTabBarHeight: CGFloat = 0
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:20:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
22 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:21:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
22 |     ) {
23 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:21:57: error: 'EmptyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
14 |     private var customTabBarHeight: CGFloat = 0
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         router: TabRouter<T>,
18 |         shouldUseCustomTabBar: Bool = false,
19 |         @ViewBuilder content: @escaping (T) -> Content,
20 |         @ViewBuilder tabItem: @escaping (T) -> TabItem,
21 |         @ViewBuilder tabBar: @escaping () -> TabBar = { EmptyView() }
   |                                                         |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                                         `- note: add 'if #available' version check
22 |     ) {
23 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
   :
28 |     }
29 |
30 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
31 |         ZStack {
32 |             TabView(selection: $router.selected) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               |                                 `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               |                                                `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:78: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TabVoyagerView<T: Route, Content: View, TabItem: View, TabBar: View>: View {
   |               |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject
[9/12] Compiling Voyager DeeplinkHandler.swift
[10/12] Compiling Voyager Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
 6 |
 7 |     @Published var root: T
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 8 |     @Published var routes: [T]
 9 |     @Published var sheet: T?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
 6 |
 7 |     @Published var root: T
 8 |     @Published var routes: [T]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |     @Published var sheet: T?
10 |     @Published var fullscreenCover: T?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
 7 |     @Published var root: T
 8 |     @Published var routes: [T]
 9 |     @Published var sheet: T?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
10 |     @Published var fullscreenCover: T?
11 |     @Published var popover: T?
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:10:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
 8 |     @Published var routes: [T]
 9 |     @Published var sheet: T?
10 |     @Published var fullscreenCover: T?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
11 |     @Published var popover: T?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
 9 |     @Published var sheet: T?
10 |     @Published var fullscreenCover: T?
11 |     @Published var popover: T?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
12 |
13 |     var onDismiss: (() -> Void)?
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<T>, T>' to expected argument type 'ReferenceWritableKeyPath<Router<T>, T>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<T>, [T]>' to expected argument type 'ReferenceWritableKeyPath<Router<T>, [T]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<T>, T?>' to expected argument type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<T>, T?>' to expected argument type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<T>, T?>' to expected argument type 'ReferenceWritableKeyPath<Router<T>, T?>'
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:19:9: error: setter for 'root' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
16 |     // MARK: - Initializer
17 |
18 |     public init(root: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
   |            `- note: add @available attribute to enclosing initializer
19 |         self.root = root
   |         |- error: setter for 'root' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |         self.routes = []
21 |         self.deeplinkHandler = deeplinkHandler
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:20:9: error: setter for 'routes' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
16 |     // MARK: - Initializer
17 |
18 |     public init(root: T, deeplinkHandler: (any DeeplinkHandler)? = nil) {
   |            `- note: add @available attribute to enclosing initializer
19 |         self.root = root
20 |         self.routes = []
   |         |- error: setter for 'routes' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |         self.deeplinkHandler = deeplinkHandler
22 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:27:9: error: setter for 'root' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
24 |     // MARK: -
25 |
26 |     public func updateRoot(_ route: T) {
   |                 `- note: add @available attribute to enclosing instance method
27 |         root = route
   |         |- error: setter for 'root' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
28 |         routes.removeAll()
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:28:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
24 |     // MARK: -
25 |
26 |     public func updateRoot(_ route: T) {
   |                 `- note: add @available attribute to enclosing instance method
27 |         root = route
28 |         routes.removeAll()
   |         |- error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
29 |     }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:47:13: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
42 |     }
43 |
44 |     public func dismiss(_ option: PresentationOption? = nil) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         switch option {
46 |         case .fullscreenCover:
47 |             fullscreenCover = nil
   |             |- error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
48 |         case .navigation:
49 |             pop()
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:51:13: error: setter for 'popover' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
42 |     }
43 |
44 |     public func dismiss(_ option: PresentationOption? = nil) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         switch option {
46 |         case .fullscreenCover:
   :
49 |             pop()
50 |         case .popover:
51 |             popover = nil
   |             |- error: setter for 'popover' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
52 |         case .sheet:
53 |             sheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:53:13: error: setter for 'sheet' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
42 |     }
43 |
44 |     public func dismiss(_ option: PresentationOption? = nil) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         switch option {
46 |         case .fullscreenCover:
   :
51 |             popover = nil
52 |         case .sheet:
53 |             sheet = nil
   |             |- error: setter for 'sheet' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
54 |         case .none:
55 |             if sheet != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:56:17: error: setter for 'sheet' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
42 |     }
43 |
44 |     public func dismiss(_ option: PresentationOption? = nil) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         switch option {
46 |         case .fullscreenCover:
   :
54 |         case .none:
55 |             if sheet != nil {
56 |                 sheet = nil
   |                 |- error: setter for 'sheet' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
57 |             } else if fullscreenCover != nil {
58 |                 fullscreenCover = nil
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:58:17: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
42 |     }
43 |
44 |     public func dismiss(_ option: PresentationOption? = nil) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         switch option {
46 |         case .fullscreenCover:
   :
56 |                 sheet = nil
57 |             } else if fullscreenCover != nil {
58 |                 fullscreenCover = nil
   |                 |- error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
59 |             } else if popover != nil {
60 |                 popover = nil
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:60:17: error: setter for 'popover' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
42 |     }
43 |
44 |     public func dismiss(_ option: PresentationOption? = nil) {
   |                 `- note: add @available attribute to enclosing instance method
45 |         switch option {
46 |         case .fullscreenCover:
   :
58 |                 fullscreenCover = nil
59 |             } else if popover != nil {
60 |                 popover = nil
   |                 |- error: setter for 'popover' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
61 |             } else {
62 |                 pop()
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:76:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
73 |     // MARK: - Private
74 |
75 |     private func push(_ route: T) {
   |                  `- note: add @available attribute to enclosing instance method
76 |         routes.append(route)
   |         |- error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:80:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
77 |     }
78 |
79 |     private func pop() {
   |                  `- note: add @available attribute to enclosing instance method
80 |         routes.removeLast()
   |         |- error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
81 |     }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:84:9: error: setter for 'sheet' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
81 |     }
82 |
83 |     private func presentSheet(_ route: T, onDismiss: (() -> Void)? = nil) {
   |                  `- note: add @available attribute to enclosing instance method
84 |         sheet = route
   |         |- error: setter for 'sheet' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
85 |         self.onDismiss = onDismiss
86 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:89:9: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
86 |     }
87 |
88 |     private func presentFullscreenCover(_ route: T, onDismiss: (() -> Void)? = nil) {
   |                  `- note: add @available attribute to enclosing instance method
89 |         fullscreenCover = route
   |         |- error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
90 |         self.onDismiss = onDismiss
91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/Router.swift:94:9: error: setter for 'popover' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public class Router<T: Route>: ObservableObject {
   |              `- note: add @available attribute to enclosing generic class
 4 |
 5 |     // MARK: -
   :
91 |     }
92 |
93 |     private func presentPopover(_ route: T) {
   |                  `- note: add @available attribute to enclosing instance method
94 |         popover = route
   |         |- error: setter for 'popover' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
95 |     }
96 | }
[11/12] Compiling Voyager BaseVoyagerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 6 |     private let content: (T) -> Content
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
 6 |     private let content: (T) -> Content
 7 |
 8 |     public init(
   |            `- note: add @available attribute to enclosing initializer
 9 |         router: Router<T>,
10 |         @ViewBuilder content: @escaping (T) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |     ) {
12 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
17 |         content(router.root)
18 |             .sheet(item: $router.sheet) {
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:50: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:12:9: error: setter for 'router' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BaseVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
 6 |     private let content: (T) -> Content
 7 |
 8 |     public init(
   |            `- note: add @available attribute to enclosing initializer
 9 |         router: Router<T>,
10 |         @ViewBuilder content: @escaping (T) -> Content
11 |     ) {
12 |         self.router = router
   |         |- error: setter for 'router' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |         self.content = content
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:18:34: error: cannot assign to property: '$router' is immutable
16 |     public var body: some View {
17 |         content(router.root)
18 |             .sheet(item: $router.sheet) {
   |                                  `- error: cannot assign to property: '$router' is immutable
19 |                 router.onDismiss?()
20 |             } content: { route in
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:23:44: error: cannot assign to property: '$router' is immutable
21 |                 content(route)
22 |             }
23 |             .fullScreenCover(item: $router.fullscreenCover) {
   |                                            `- error: cannot assign to property: '$router' is immutable
24 |                 router.onDismiss?()
25 |             } content: { route in
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:28:36: error: cannot assign to property: '$router' is immutable
26 |                 content(route)
27 |             }
28 |             .popover(item: $router.popover) { route in
   |                                    `- error: cannot assign to property: '$router' is immutable
29 |                 content(route)
30 |             }
[12/12] Compiling Voyager NavVoyagerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 6 |     private let content: (T) -> Content
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
 6 |     private let content: (T) -> Content
 7 |
 8 |     public init(
   |            `- note: add @available attribute to enclosing initializer
 9 |         router: Router<T>,
10 |         @ViewBuilder content: @escaping (T) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |     ) {
12 |         self.router = router
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
17 |         NavigationStack(path: $router.routes) {
18 |             content(router.root)
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               |                                 `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:12:9: error: setter for 'router' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavVoyagerView<T: Route, Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 |     @ObservedObject private var router: Router<T>
 6 |     private let content: (T) -> Content
 7 |
 8 |     public init(
   |            `- note: add @available attribute to enclosing initializer
 9 |         router: Router<T>,
10 |         @ViewBuilder content: @escaping (T) -> Content
11 |     ) {
12 |         self.router = router
   |         |- error: setter for 'router' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |         self.content = content
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:17:39: error: cannot assign to property: '$router' is immutable
15 |
16 |     public var body: some View {
17 |         NavigationStack(path: $router.routes) {
   |                                       `- error: cannot assign to property: '$router' is immutable
18 |             content(router.root)
19 |                 .navigationDestination(for: T.self) { route in
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:23:30: error: cannot assign to property: '$router' is immutable
21 |                 }
22 |         }
23 |         .sheet(item: $router.sheet) {
   |                              `- error: cannot assign to property: '$router' is immutable
24 |             router.onDismiss?()
25 |         } content: { route in
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:28:40: error: cannot assign to property: '$router' is immutable
26 |             content(route)
27 |         }
28 |         .fullScreenCover(item: $router.fullscreenCover) {
   |                                        `- error: cannot assign to property: '$router' is immutable
29 |             router.onDismiss?()
30 |         } content: { route in
/Users/admin/builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:33:32: error: cannot assign to property: '$router' is immutable
31 |             content(route)
32 |         }
33 |         .popover(item: $router.popover) { route in
   |                                `- error: cannot assign to property: '$router' is immutable
34 |             content(route)
35 |         }
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Example/Assets.xcassets
    /Users/admin/builder/spi-builder-workspace/Sources/Example/Preview Content/Preview Assets.xcassets
BUILD FAILURE 6.0 macosSpm