The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SUICoordinator, reference 0.2.71 (038cf6), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 06:28:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    :
 71 |         super.init()
 72 |
 73 |         Task { [weak self] in
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 74 |             await self?.setPages(pages, currentPage: currentPage)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:90:36: warning: call to main actor-isolated initializer 'init(viewModel:badges:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 88 |         let route = DefaultRoute(
 89 |             presentationStyle: presentationStyle,
 90 |             content: customView ?? TabbarCoordinatorView(viewModel: self)
    |                                    `- warning: call to main actor-isolated initializer 'init(viewModel:badges:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |         )
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:28:8: note: calls to initializer 'init(viewModel:badges:)' from outside of its actor context are implicitly asynchronous
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<PAGE: TabbarPage>: View {
    |        `- note: calls to initializer 'init(viewModel:badges:)' from outside of its actor context are implicitly asynchronous
 29 |
 30 |     typealias BadgeItem = (value: String?, page: PAGE)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:120:9: error: setter for 'pages' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
115 |     ///   - values: The array of pages to set.
116 |     ///   - currentPage: The optional current page to set.
117 |     open func setPages(_ values: [Page], currentPage: Page? = nil) async {
    |               `- note: add @available attribute to enclosing instance method
118 |         await removeChildren()
119 |         setupPages(values)
120 |         pages = values
    |         |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
121 |         setCurrentPage(currentPage)
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:164:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
157 |     /// - Parameters:
158 |     ///   - value: The optional current page to set.
159 |     private func setCurrentPage(_ value: (any TabbarPage)?) {
    |                  `- note: add @available attribute to enclosing instance method
160 |         guard let value, value.position != currentPage.position,
161 |               let item = pages.first(where: { $0.position == value.position })
162 |         else { return  }
163 |
164 |         currentPage = item
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
165 |     }
166 | }
[17/28] Compiling SUICoordinator Coordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 37 |
 38 |     /// The published router associated with the coordinator.
 39 |     @Published public var router: Router<Route>
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 40 |
 41 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 71 |
 72 |     /// A computed property providing the view associated with the coordinator.
 73 |     public var view: any View {
    |                |         `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 74 |         CoordinatorView(
 75 |             viewModel: self,
<unknown>:0: error: cannot convert value of type 'KeyPath<Coordinator<Route>, Router<Route>>' to expected argument type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            |                              `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 60 |
 61 |     /// Initializes a new instance of `Coordinator`.
 62 |     public init() {
    |            `- note: add @available attribute to enclosing initializer
 63 |         self.router = .init()
    |         |- error: setter for 'router' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 64 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 65 |         self.router.coordinator = self
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:74:9: warning: call to main actor-isolated initializer 'init(viewModel:onClean:onSetTag:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |     /// A computed property providing the view associated with the coordinator.
 73 |     public var view: any View {
 74 |         CoordinatorView(
    |         `- warning: call to main actor-isolated initializer 'init(viewModel:onClean:onSetTag:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 75 |             viewModel: self,
 76 |             onClean: { [weak self] in await self?.clean() },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48:5: note: calls to initializer 'init(viewModel:onClean:onSetTag:)' from outside of its actor context are implicitly asynchronous
46 |     // --------------------------------------------------------------------
47 |
48 |     init(
   |     `- note: calls to initializer 'init(viewModel:onClean:onSetTag:)' from outside of its actor context are implicitly asynchronous
49 |         viewModel: Coordinator<Route>,
50 |         onClean: (() async -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject var viewModel: Coordinator<Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     @State private var isLoaded = false
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Coordinator<Route>
35 |     @State private var isLoaded = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: warning: main actor-isolated instance method 'clean()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |                                                  `- note: add '@preconcurrency' to the 'CoordinatorViewType' conformance to defer isolation checking to run time
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          |- warning: main actor-isolated instance method 'clean()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |          `- note: add 'nonisolated' to 'clean()' to make this instance method not isolated to the actor
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:89:10: note: mark the protocol requirement 'clean()' 'async' to allow actor-isolated conformances
87 | protocol CoordinatorViewType {
88 |     /// Cleans up resources associated with the view.
89 |     func clean() -> Void
   |          `- note: mark the protocol requirement 'clean()' 'async' to allow actor-isolated conformances
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
   |                 |- error: setter for 'isLoaded' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                 Task { await viewModel?.start() }
67 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
66 |                 Task { await viewModel?.start() }
   |                 |- error: 'Task' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
67 |             }
68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
66 |                 Task { await viewModel?.start() }
   |                 |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
67 |             }
68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          `- note: add @available attribute to enclosing instance method
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          `- note: add @available attribute to enclosing instance method
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
   |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
[18/28] Compiling SUICoordinator CoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 37 |
 38 |     /// The published router associated with the coordinator.
 39 |     @Published public var router: Router<Route>
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 40 |
 41 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 71 |
 72 |     /// A computed property providing the view associated with the coordinator.
 73 |     public var view: any View {
    |                |         `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 74 |         CoordinatorView(
 75 |             viewModel: self,
<unknown>:0: error: cannot convert value of type 'KeyPath<Coordinator<Route>, Router<Route>>' to expected argument type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            |                              `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 60 |
 61 |     /// Initializes a new instance of `Coordinator`.
 62 |     public init() {
    |            `- note: add @available attribute to enclosing initializer
 63 |         self.router = .init()
    |         |- error: setter for 'router' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 64 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 65 |         self.router.coordinator = self
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:74:9: warning: call to main actor-isolated initializer 'init(viewModel:onClean:onSetTag:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |     /// A computed property providing the view associated with the coordinator.
 73 |     public var view: any View {
 74 |         CoordinatorView(
    |         `- warning: call to main actor-isolated initializer 'init(viewModel:onClean:onSetTag:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 75 |             viewModel: self,
 76 |             onClean: { [weak self] in await self?.clean() },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48:5: note: calls to initializer 'init(viewModel:onClean:onSetTag:)' from outside of its actor context are implicitly asynchronous
46 |     // --------------------------------------------------------------------
47 |
48 |     init(
   |     `- note: calls to initializer 'init(viewModel:onClean:onSetTag:)' from outside of its actor context are implicitly asynchronous
49 |         viewModel: Coordinator<Route>,
50 |         onClean: (() async -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject var viewModel: Coordinator<Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     @State private var isLoaded = false
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Coordinator<Route>
35 |     @State private var isLoaded = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: warning: main actor-isolated instance method 'clean()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |                                                  `- note: add '@preconcurrency' to the 'CoordinatorViewType' conformance to defer isolation checking to run time
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          |- warning: main actor-isolated instance method 'clean()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |          `- note: add 'nonisolated' to 'clean()' to make this instance method not isolated to the actor
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:89:10: note: mark the protocol requirement 'clean()' 'async' to allow actor-isolated conformances
87 | protocol CoordinatorViewType {
88 |     /// Cleans up resources associated with the view.
89 |     func clean() -> Void
   |          `- note: mark the protocol requirement 'clean()' 'async' to allow actor-isolated conformances
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
   |                 |- error: setter for 'isLoaded' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                 Task { await viewModel?.start() }
67 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
66 |                 Task { await viewModel?.start() }
   |                 |- error: 'Task' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
67 |             }
68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
66 |                 Task { await viewModel?.start() }
   |                 |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
67 |             }
68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          `- note: add @available attribute to enclosing instance method
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          `- note: add @available attribute to enclosing instance method
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
   |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
[19/28] Compiling SUICoordinator CoordinatorType+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 37 |
 38 |     /// The published router associated with the coordinator.
 39 |     @Published public var router: Router<Route>
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 40 |
 41 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 71 |
 72 |     /// A computed property providing the view associated with the coordinator.
 73 |     public var view: any View {
    |                |         `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 74 |         CoordinatorView(
 75 |             viewModel: self,
<unknown>:0: error: cannot convert value of type 'KeyPath<Coordinator<Route>, Router<Route>>' to expected argument type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            |                              `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Coordinators are responsible for coordinating the navigation and flow within an application.
 32 | open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
    |            `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // --------------------------------------------------------------------
    :
 60 |
 61 |     /// Initializes a new instance of `Coordinator`.
 62 |     public init() {
    |            `- note: add @available attribute to enclosing initializer
 63 |         self.router = .init()
    |         |- error: setter for 'router' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 64 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 65 |         self.router.coordinator = self
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:74:9: warning: call to main actor-isolated initializer 'init(viewModel:onClean:onSetTag:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |     /// A computed property providing the view associated with the coordinator.
 73 |     public var view: any View {
 74 |         CoordinatorView(
    |         `- warning: call to main actor-isolated initializer 'init(viewModel:onClean:onSetTag:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 75 |             viewModel: self,
 76 |             onClean: { [weak self] in await self?.clean() },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48:5: note: calls to initializer 'init(viewModel:onClean:onSetTag:)' from outside of its actor context are implicitly asynchronous
46 |     // --------------------------------------------------------------------
47 |
48 |     init(
   |     `- note: calls to initializer 'init(viewModel:onClean:onSetTag:)' from outside of its actor context are implicitly asynchronous
49 |         viewModel: Coordinator<Route>,
50 |         onClean: (() async -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject var viewModel: Coordinator<Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     @State private var isLoaded = false
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Coordinator<Route>
35 |     @State private var isLoaded = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: warning: main actor-isolated instance method 'clean()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |                                                  `- note: add '@preconcurrency' to the 'CoordinatorViewType' conformance to defer isolation checking to run time
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          |- warning: main actor-isolated instance method 'clean()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |          `- note: add 'nonisolated' to 'clean()' to make this instance method not isolated to the actor
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:89:10: note: mark the protocol requirement 'clean()' 'async' to allow actor-isolated conformances
87 | protocol CoordinatorViewType {
88 |     /// Cleans up resources associated with the view.
89 |     func clean() -> Void
   |          `- note: mark the protocol requirement 'clean()' 'async' to allow actor-isolated conformances
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
   |                 |- error: setter for 'isLoaded' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                 Task { await viewModel?.start() }
67 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
66 |                 Task { await viewModel?.start() }
   |                 |- error: 'Task' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
67 |             }
68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
60 |     // --------------------------------------------------------------------
61 |
62 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
63 |         RouterView(viewModel: viewModel.router)
64 |             .onViewDidLoad { [weak viewModel] in
65 |                 isLoaded = true
66 |                 Task { await viewModel?.start() }
   |                 |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
67 |             }
68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          `- note: add @available attribute to enclosing instance method
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
   |               `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
72 |     // --------------------------------------------------------------------
73 |
74 |     func clean() {
   |          `- note: add @available attribute to enclosing instance method
75 |         guard isLoaded else { return }
76 |         Task { await onClean?() }
   |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
[20/28] Compiling SUICoordinator ViewDidLoadModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
   |                                            `- error: 'View' is only available in macOS 10.15 or newer
31 |         index: Int = 0,
32 |         isLast: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
33 |         onDissmis: ((Int) -> Void)? = nil,
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
36 |         modifier(
37 |             SheetCoordinatorView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          |                                                          `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
49 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
36 |         modifier(
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
37 |             SheetCoordinatorView(
38 |                 coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
36 |         modifier(
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             SheetCoordinatorView(
38 |                 coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
49 |     }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |     }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
29 |     public let action: (() -> Void)?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:48: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |                 if !viewDidLoad {
35 |                     viewDidLoad.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
34 |                 if !viewDidLoad {
35 |                     viewDidLoad.toggle()
   |                     |- error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
36 |                     action?()
37 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:46:6: error: 'Published' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 44 |
 45 |     /// The stack of sheet items managed by the coordinator.
 46 |     @Published var items: [Item?]
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 47 |
 48 |     /// A flag indicating whether the coordinator is in the process of cleaning up.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:54: error: 'ContinuousClock' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  |                                   `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
<unknown>:0: error: cannot convert value of type 'KeyPath<SheetCoordinator<T>, [SheetItem<T>?]>' to expected argument type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'ReferenceWritableKeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: error: setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 57 |
 58 |     /// Initializes a new instance of `SheetCoordinator`.
 59 |     public init() {
    |            `- note: add @available attribute to enclosing initializer
 60 |         items = []
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
 84 |         if animated {
 85 |             items.append(nil)
    |             |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 86 |             await makeDelay(animated: animated, duration: .seconds(0))
 87 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: error: 'seconds' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
 84 |         if animated {
 85 |             items.append(nil)
 86 |             await makeDelay(animated: animated, duration: .seconds(0))
    |                                                            |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                            `- note: add 'if #available' version check
 87 |         }
 88 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
    :
 87 |         }
 88 |
 89 |         items.append(sheet)
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
103 |     /// - Parameters:
104 |     ///   - index: The index of the item to remove.
105 |     @MainActor func remove(at index: Int) {
    |                     `- note: add @available attribute to enclosing instance method
106 |         guard totalItems >= index, !isCleaning else { return }
107 |         items.remove(at: index)
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
108 |     }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
125 |
126 |     /// Removes all `nil` items from the items array.
127 |     func removeAllNilItems() {
    |          `- note: add @available attribute to enclosing instance method
128 |         items.removeAll(where: { $0 == nil || $0?.view == nil })
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
129 |     }
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
133 |     /// - Parameters:
134 |     ///   - index: The index at which to remove `nil` items.
135 |     private func makeNilItem(at index: Int) {
    |                  `- note: add @available attribute to enclosing instance method
136 |         items[index] = nil
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
137 |     }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: error: setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
138 |
139 |     /// Resets values associated with the sheet coordinator.
140 |     private func resetValues() {
    |                  `- note: add @available attribute to enclosing instance method
141 |         items = []
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
142 |         lastPresentationStyle = nil
143 |         isCleaning = false
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: error: 'ContinuousClock' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
    |                             |- error: 'ContinuousClock' is only available in macOS 13.0 or newer
    |                             `- note: add 'if #available' version check
153 |
154 |         if let duration {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: error: 'seconds' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
    |                                                              |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
153 |
154 |         if let duration {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: error: 'Task' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
    :
156 |         }
157 |
158 |         try? await Task.sleep(for: finalDuration )
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
159 |     }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
    :
156 |         }
157 |
158 |         try? await Task.sleep(for: finalDuration )
    |                         |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                         `- note: add 'if #available' version check
159 |     }
160 | }
[21/28] Compiling SUICoordinator ViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
   |                                            `- error: 'View' is only available in macOS 10.15 or newer
31 |         index: Int = 0,
32 |         isLast: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
33 |         onDissmis: ((Int) -> Void)? = nil,
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
36 |         modifier(
37 |             SheetCoordinatorView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          |                                                          `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
49 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
36 |         modifier(
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
37 |             SheetCoordinatorView(
38 |                 coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
36 |         modifier(
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             SheetCoordinatorView(
38 |                 coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
49 |     }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |     }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
29 |     public let action: (() -> Void)?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:48: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |                 if !viewDidLoad {
35 |                     viewDidLoad.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
34 |                 if !viewDidLoad {
35 |                     viewDidLoad.toggle()
   |                     |- error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
36 |                     action?()
37 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:46:6: error: 'Published' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 44 |
 45 |     /// The stack of sheet items managed by the coordinator.
 46 |     @Published var items: [Item?]
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 47 |
 48 |     /// A flag indicating whether the coordinator is in the process of cleaning up.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:54: error: 'ContinuousClock' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  |                                   `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
<unknown>:0: error: cannot convert value of type 'KeyPath<SheetCoordinator<T>, [SheetItem<T>?]>' to expected argument type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'ReferenceWritableKeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: error: setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 57 |
 58 |     /// Initializes a new instance of `SheetCoordinator`.
 59 |     public init() {
    |            `- note: add @available attribute to enclosing initializer
 60 |         items = []
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
 84 |         if animated {
 85 |             items.append(nil)
    |             |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 86 |             await makeDelay(animated: animated, duration: .seconds(0))
 87 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: error: 'seconds' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
 84 |         if animated {
 85 |             items.append(nil)
 86 |             await makeDelay(animated: animated, duration: .seconds(0))
    |                                                            |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                            `- note: add 'if #available' version check
 87 |         }
 88 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
    :
 87 |         }
 88 |
 89 |         items.append(sheet)
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
103 |     /// - Parameters:
104 |     ///   - index: The index of the item to remove.
105 |     @MainActor func remove(at index: Int) {
    |                     `- note: add @available attribute to enclosing instance method
106 |         guard totalItems >= index, !isCleaning else { return }
107 |         items.remove(at: index)
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
108 |     }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
125 |
126 |     /// Removes all `nil` items from the items array.
127 |     func removeAllNilItems() {
    |          `- note: add @available attribute to enclosing instance method
128 |         items.removeAll(where: { $0 == nil || $0?.view == nil })
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
129 |     }
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
133 |     /// - Parameters:
134 |     ///   - index: The index at which to remove `nil` items.
135 |     private func makeNilItem(at index: Int) {
    |                  `- note: add @available attribute to enclosing instance method
136 |         items[index] = nil
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
137 |     }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: error: setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
138 |
139 |     /// Resets values associated with the sheet coordinator.
140 |     private func resetValues() {
    |                  `- note: add @available attribute to enclosing instance method
141 |         items = []
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
142 |         lastPresentationStyle = nil
143 |         isCleaning = false
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: error: 'ContinuousClock' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
    |                             |- error: 'ContinuousClock' is only available in macOS 13.0 or newer
    |                             `- note: add 'if #available' version check
153 |
154 |         if let duration {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: error: 'seconds' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
    |                                                              |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
153 |
154 |         if let duration {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: error: 'Task' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
    :
156 |         }
157 |
158 |         try? await Task.sleep(for: finalDuration )
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
159 |     }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
    :
156 |         }
157 |
158 |         try? await Task.sleep(for: finalDuration )
    |                         |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                         `- note: add 'if #available' version check
159 |     }
160 | }
[22/28] Compiling SUICoordinator SheetCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
   |                                            `- error: 'View' is only available in macOS 10.15 or newer
31 |         index: Int = 0,
32 |         isLast: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
33 |         onDissmis: ((Int) -> Void)? = nil,
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
36 |         modifier(
37 |             SheetCoordinatorView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          |                                                          `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
49 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
36 |         modifier(
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
37 |             SheetCoordinatorView(
38 |                 coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   |          `- note: add @available attribute to enclosing instance method
30 |         coordinator: SheetCoordinator<(any View)>,
31 |         index: Int = 0,
   :
34 |         onDidLoad: ((Int) -> Void)? = nil
35 |     ) -> some View {
36 |         modifier(
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             SheetCoordinatorView(
38 |                 coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
49 |     }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public extension View {
   |        `- note: add @available attribute to enclosing extension
28 |
29 |     func sheetCoordinator(
   :
45 |     }
46 |
47 |     func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
   |          `- note: add @available attribute to enclosing instance method
48 |         self.modifier(ViewDidLoadModifier(action: action))
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |     }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
29 |     public let action: (() -> Void)?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:48: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |                 if !viewDidLoad {
35 |                     viewDidLoad.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | struct ViewDidLoadModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
28 |     @State private var viewDidLoad = false
29 |     public let action: (() -> Void)?
30 |
31 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
32 |         content
33 |             .onAppear {
34 |                 if !viewDidLoad {
35 |                     viewDidLoad.toggle()
   |                     |- error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
36 |                     action?()
37 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:46:6: error: 'Published' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 44 |
 45 |     /// The stack of sheet items managed by the coordinator.
 46 |     @Published var items: [Item?]
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 47 |
 48 |     /// A flag indicating whether the coordinator is in the process of cleaning up.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:54: error: 'ContinuousClock' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  |                                   `- error: 'ContinuousClock' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
<unknown>:0: error: cannot convert value of type 'KeyPath<SheetCoordinator<T>, [SheetItem<T>?]>' to expected argument type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'ReferenceWritableKeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: error: setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 57 |
 58 |     /// Initializes a new instance of `SheetCoordinator`.
 59 |     public init() {
    |            `- note: add @available attribute to enclosing initializer
 60 |         items = []
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
 84 |         if animated {
 85 |             items.append(nil)
    |             |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 86 |             await makeDelay(animated: animated, duration: .seconds(0))
 87 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: error: 'seconds' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
 84 |         if animated {
 85 |             items.append(nil)
 86 |             await makeDelay(animated: animated, duration: .seconds(0))
    |                                                            |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                            `- note: add 'if #available' version check
 87 |         }
 88 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
 79 |     ///   - sheet: The item representing the sheet to present.
 80 |     ///   - animated: A boolean value indicating whether to animate the sheet presentation.
 81 |     @MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
 82 |         lastPresentationStyle = sheet.presentationStyle
 83 |
    :
 87 |         }
 88 |
 89 |         items.append(sheet)
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
103 |     /// - Parameters:
104 |     ///   - index: The index of the item to remove.
105 |     @MainActor func remove(at index: Int) {
    |                     `- note: add @available attribute to enclosing instance method
106 |         guard totalItems >= index, !isCleaning else { return }
107 |         items.remove(at: index)
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
108 |     }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
125 |
126 |     /// Removes all `nil` items from the items array.
127 |     func removeAllNilItems() {
    |          `- note: add @available attribute to enclosing instance method
128 |         items.removeAll(where: { $0 == nil || $0?.view == nil })
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
129 |     }
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
133 |     /// - Parameters:
134 |     ///   - index: The index at which to remove `nil` items.
135 |     private func makeNilItem(at index: Int) {
    |                  `- note: add @available attribute to enclosing instance method
136 |         items[index] = nil
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
137 |     }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: error: setter for 'items' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
138 |
139 |     /// Resets values associated with the sheet coordinator.
140 |     private func resetValues() {
    |                  `- note: add @available attribute to enclosing instance method
141 |         items = []
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
142 |         lastPresentationStyle = nil
143 |         isCleaning = false
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: error: 'ContinuousClock' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
    |                             |- error: 'ContinuousClock' is only available in macOS 13.0 or newer
    |                             `- note: add 'if #available' version check
153 |
154 |         if let duration {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: error: 'seconds' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
    |                                                              |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                              `- note: add 'if #available' version check
153 |
154 |         if let duration {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: error: 'Task' is only available in macOS 10.15 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
    :
156 |         }
157 |
158 |         try? await Task.sleep(for: finalDuration )
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
159 |     }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 30 | ///
 31 | /// Sheet coordinators handle the presentation and removal of sheets in a coordinator-based architecture.
 32 | final public class SheetCoordinator<T>: ObservableObject {
    |                    `- note: add @available attribute to enclosing generic class
 33 |
 34 |     // ---------------------------------------------------------
    :
149 |     ///   - animated: A boolean value indicating whether to animate the delay.
150 |     ///   - customTime: An optional custom time for the delay.
151 |     private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
    |                  `- note: add @available attribute to enclosing instance method
152 |         var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
153 |
    :
156 |         }
157 |
158 |         try? await Task.sleep(for: finalDuration )
    |                         |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                         `- note: add 'if #available' version check
159 |     }
160 | }
[23/28] Compiling SUICoordinator RouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject var viewModel: Router
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     @State private var mainView: AnyView?
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Router
35 |     @State private var mainView: AnyView?
   |                                  `- error: 'AnyView' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Router
35 |     @State private var mainView: AnyView?
   |      `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                                    `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
67 |     // --------------------------------------------------------------------
68 |
69 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |         |- 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
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
   |                 |- warning: conformance of 'Optional<Wrapped>' 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
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
52 |                 addSheetTo(view: mainView)
53 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
   |                            |- error: 'NavigationStack' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
55 |                     mainView.navigationDestination(for: Router.Route.self) {
56 |                         AnyView($0.view)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
   |                              |- error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
   |                              `- note: add 'if #available' version check
56 |                         AnyView($0.view)
57 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
56 |                         AnyView($0.view)
   |                         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
57 |                     }
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
53 |             } else {
   |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |                |- 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
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
60 |             }
61 |
62 |         }.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
   |           |- 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
63 |     }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
73 |             .sheetCoordinator(
74 |                 coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
78 |     }
79 |
80 |     private func onChangeFirstView(_ value: Router.Route?)  {
   |                  `- note: add @available attribute to enclosing instance method
81 |         guard let view = value?.view else { return }
82 |         mainView = AnyView(view)
   |         |- error: setter for 'mainView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
83 |     }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
78 |     }
79 |
80 |     private func onChangeFirstView(_ value: Router.Route?)  {
   |                  `- note: add @available attribute to enclosing instance method
81 |         guard let view = value?.view else { return }
82 |         mainView = AnyView(view)
   |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
83 |     }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {}
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |
53 | extension SCIdentifiable {
[24/28] Compiling SUICoordinator TransitionPresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject var viewModel: Router
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     @State private var mainView: AnyView?
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Router
35 |     @State private var mainView: AnyView?
   |                                  `- error: 'AnyView' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Router
35 |     @State private var mainView: AnyView?
   |      `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                                    `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
67 |     // --------------------------------------------------------------------
68 |
69 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |         |- 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
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
   |                 |- warning: conformance of 'Optional<Wrapped>' 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
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
52 |                 addSheetTo(view: mainView)
53 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
   |                            |- error: 'NavigationStack' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
55 |                     mainView.navigationDestination(for: Router.Route.self) {
56 |                         AnyView($0.view)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
   |                              |- error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
   |                              `- note: add 'if #available' version check
56 |                         AnyView($0.view)
57 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
56 |                         AnyView($0.view)
   |                         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
57 |                     }
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
53 |             } else {
   |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |                |- 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
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
60 |             }
61 |
62 |         }.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
   |           |- 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
63 |     }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
73 |             .sheetCoordinator(
74 |                 coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
78 |     }
79 |
80 |     private func onChangeFirstView(_ value: Router.Route?)  {
   |                  `- note: add @available attribute to enclosing instance method
81 |         guard let view = value?.view else { return }
82 |         mainView = AnyView(view)
   |         |- error: setter for 'mainView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
83 |     }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
78 |     }
79 |
80 |     private func onChangeFirstView(_ value: Router.Route?)  {
   |                  `- note: add @available attribute to enclosing instance method
81 |         guard let view = value?.view else { return }
82 |         mainView = AnyView(view)
   |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
83 |     }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {}
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |
53 | extension SCIdentifiable {
[25/28] Compiling SUICoordinator Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject var viewModel: Router
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     @State private var mainView: AnyView?
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Router
35 |     @State private var mainView: AnyView?
   |                                  `- error: 'AnyView' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
33 |
34 |     @StateObject var viewModel: Router
35 |     @State private var mainView: AnyView?
   |      `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  |                                    `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
67 |     // --------------------------------------------------------------------
68 |
69 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |         |- 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
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
   |                 |- warning: conformance of 'Optional<Wrapped>' 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
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
52 |                 addSheetTo(view: mainView)
53 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
   |                            |- error: 'NavigationStack' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
55 |                     mainView.navigationDestination(for: Router.Route.self) {
56 |                         AnyView($0.view)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
53 |             } else {
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
   |                              |- error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
   |                              `- note: add 'if #available' version check
56 |                         AnyView($0.view)
57 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
56 |                         AnyView($0.view)
   |                         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
57 |                     }
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
53 |             } else {
   |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
54 |                 let view = NavigationStack(path: $viewModel.items) {
55 |                     mainView.navigationDestination(for: Router.Route.self) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
   |                |- 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
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
52 |                 addSheetTo(view: mainView)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: 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
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
47 |     // --------------------------------------------------------------------
48 |
49 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
50 |         ZStack {
51 |             if viewModel.coordinator?.isTabbarCoordinable == true {
   :
60 |             }
61 |
62 |         }.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
   |           |- 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
63 |     }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
68 |
69 |     @ViewBuilder
70 |     private func addSheetTo(view: some View ) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
71 |         view
72 |             .onChange(of: viewModel.mainView, perform: onChangeFirstView)
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
73 |             .sheetCoordinator(
74 |                 coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
78 |     }
79 |
80 |     private func onChangeFirstView(_ value: Router.Route?)  {
   |                  `- note: add @available attribute to enclosing instance method
81 |         guard let view = value?.view else { return }
82 |         mainView = AnyView(view)
   |         |- error: setter for 'mainView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
83 |     }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<Router: RouterType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
78 |     }
79 |
80 |     private func onChangeFirstView(_ value: Router.Route?)  {
   |                  `- note: add @available attribute to enclosing instance method
81 |         guard let view = value?.view else { return }
82 |         mainView = AnyView(view)
   |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
83 |     }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {}
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |
53 | extension SCIdentifiable {
[26/28] Compiling SUICoordinator CoordinatorType+Navigation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
32 | ///
33 | /// - Important: Adopt this protocol in your custom coordinator implementations.
34 | public protocol CoordinatorType: SCHashable, AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
35 |
36 |     // ---------------------------------------------------------
   :
68 |
69 |     /// The view associated with the coordinator.
70 |     var view: (any View) { get }
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
71 |
72 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
37 |
38 |     /// The content view for the route.
39 |     public var content: any View
   |                             `- error: 'View' is only available in macOS 10.15 or newer
40 |
41 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
48 |     ///   - presentationStyle: The presentation style for the route transition.
49 |     ///   - content: The content view for the route.
50 |     public init(
   |            `- note: add @available attribute to enclosing initializer
51 |         presentationStyle: TransitionPresentationStyle,
52 |         content: (any View)
   |                       `- error: 'View' is only available in macOS 10.15 or newer
53 |     ) {
54 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:26: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
67 |     /// The view to be presented for the route.
68 |     @ViewBuilder
69 |     public var view: any View {
   |                |         `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
70 |         content
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
66 |
67 |     /// The view to be presented for the route.
68 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
69 |     public var view: any View {
70 |         content
[27/28] Compiling SUICoordinator CoordinatorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
32 | ///
33 | /// - Important: Adopt this protocol in your custom coordinator implementations.
34 | public protocol CoordinatorType: SCHashable, AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
35 |
36 |     // ---------------------------------------------------------
   :
68 |
69 |     /// The view associated with the coordinator.
70 |     var view: (any View) { get }
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
71 |
72 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
37 |
38 |     /// The content view for the route.
39 |     public var content: any View
   |                             `- error: 'View' is only available in macOS 10.15 or newer
40 |
41 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
48 |     ///   - presentationStyle: The presentation style for the route transition.
49 |     ///   - content: The content view for the route.
50 |     public init(
   |            `- note: add @available attribute to enclosing initializer
51 |         presentationStyle: TransitionPresentationStyle,
52 |         content: (any View)
   |                       `- error: 'View' is only available in macOS 10.15 or newer
53 |     ) {
54 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:26: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
67 |     /// The view to be presented for the route.
68 |     @ViewBuilder
69 |     public var view: any View {
   |                |         `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
70 |         content
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
66 |
67 |     /// The view to be presented for the route.
68 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
69 |     public var view: any View {
70 |         content
[28/28] Compiling SUICoordinator DefaultRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
32 | ///
33 | /// - Important: Adopt this protocol in your custom coordinator implementations.
34 | public protocol CoordinatorType: SCHashable, AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
35 |
36 |     // ---------------------------------------------------------
   :
68 |
69 |     /// The view associated with the coordinator.
70 |     var view: (any View) { get }
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
71 |
72 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
37 |
38 |     /// The content view for the route.
39 |     public var content: any View
   |                             `- error: 'View' is only available in macOS 10.15 or newer
40 |
41 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
48 |     ///   - presentationStyle: The presentation style for the route transition.
49 |     ///   - content: The content view for the route.
50 |     public init(
   |            `- note: add @available attribute to enclosing initializer
51 |         presentationStyle: TransitionPresentationStyle,
52 |         content: (any View)
   |                       `- error: 'View' is only available in macOS 10.15 or newer
53 |     ) {
54 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:26: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
67 |     /// The view to be presented for the route.
68 |     @ViewBuilder
69 |     public var view: any View {
   |                |         `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
70 |         content
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |
28 | /// A struct representing a default route with a specified presentation style and content view.
29 | public struct DefaultRoute: RouteType {
   |               `- note: add @available attribute to enclosing struct
30 |
31 |     // ---------------------------------------------------------
   :
66 |
67 |     /// The view to be presented for the route.
68 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
69 |     public var view: any View {
70 |         content
BUILD FAILURE 6.0 macosSpm