The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SUICoordinator, reference v1.0.0 (9f5a6f), with Swift 6.2 for macOS (SPM) on 27 Sep 2025 22:30:14 UTC.

Build Command

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

Build Log

 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
    |                    |- 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
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80: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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         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
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:90:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 88 |             }
 89 |         }
 90 |         .animation(animation, value: showContent)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 91 |         .onViewDidLoad { Task { @MainActor in
 92 |             await start(with: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:91:26: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 89 |         }
 90 |         .animation(animation, value: showContent)
 91 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |             await start(with: item)
 93 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:91:26: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 89 |         }
 90 |         .animation(animation, value: showContent)
 91 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |             await start(with: item)
 93 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:104:18: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
    |                  |- 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
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:105:18: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
    |                  |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
106 |                     Task { await finish() }
107 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:106:21: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:106:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
    |                     |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:102:28: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
    |                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:108:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
    :
106 |                     Task { await finish() }
107 |                 }
108 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:101:32: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         |                      |- 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
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:120:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
113 |     // ---------------------------------------------------------
114 |
115 |     private func start(with item: Item?) async {
    |                  `- note: add '@available' attribute to enclosing instance method
116 |         guard item != nil, animated else {
117 |             return await finish()
118 |         }
119 |
120 |         showContent = true
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
121 |     }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:125:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:34: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                  |- error: 'Task' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:39: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                       `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:51: error: 'seconds' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                                   |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                   `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:129:44: error: setter for 'item' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
    :
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
128 |
129 |         guard !isFullScreen else { return (item = nil) }
    |                                            |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
130 |
131 |         onDismiss?("")
[32/37] Compiling SUICoordinator ClearBackgroundViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/SheetItemType.swift:77:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
59 | /// }
60 | /// ```
61 | protocol SheetItemType: SCEquatable {
   |          `- note: add '@available' attribute to enclosing protocol
62 |
63 |     /// A string that uniquely identifies the sheet item.
   :
75 |     ///
76 |     /// - Note: The subject emits once when dismissal begins, not when it completes.
77 |     var willDismiss: PassthroughSubject<Void, Never> { get }
   |         |            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
78 |
79 |     /// Returns whether the sheet presentation should be animated.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:47: error: cannot find type 'UIView' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                               `- error: cannot find type 'UIView' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:42: error: 'some' types are only permitted in properties, subscripts, and functions
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                          `- error: 'some' types are only permitted in properties, subscripts, and functions
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:30: error: cannot find type 'Context' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                              `- error: cannot find type 'Context' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:33: error: cannot find type 'UIViewType' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                 `- error: cannot find type 'UIViewType' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:54: error: cannot find type 'Context' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                                      `- error: cannot find type 'Context' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:27:29: error: cannot find type 'UIViewRepresentable' in scope
25 | import SwiftUI
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:42:41: error: 'View' is only available in macOS 10.15 or newer
36 | }
37 |
38 | struct ClearBackgroundViewModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
39 |
40 |     let condition: Bool
41 |
42 |     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
43 |         if condition {
44 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:29:20: error: cannot find 'UIView' in scope
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:31:59: error: cannot infer contextual base in reference to member 'clear'
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
   |                                                           `- error: cannot infer contextual base in reference to member 'clear'
32 |         }
33 |         return view
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:49:22: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
47 |             } else {
48 |                 content
49 |                     .background(ClearBackgroundView())
   |                      `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
50 |             }
51 |         } else {
SwiftUI.View.background:2:36: note: where 'S' = 'ClearBackgroundView'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'ClearBackgroundView'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:33:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 31 |     // ---------------------------------------------------------
 32 |
 33 |     @Binding var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |     @State private var showContent: Bool = false
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 32 |
 33 |     @Binding var item: Item?
 34 |     @State private var showContent: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |
 36 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:43:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 41 |     var onDismiss: ActionClosure? = nil
 42 |     var content: Content?
 43 |     var transition: AnyTransition
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 44 |     var animation: Animation?
 45 |     let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:44:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 42 |     var content: Content?
 43 |     var transition: AnyTransition
 44 |     var animation: Animation?
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     let animated: Bool
 46 |     let isFullScreen: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:53:15: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:54:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 55 |         animation: Animation?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 56 |         animated: Bool,
 57 |         isFullScreen: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:60:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    :
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure? = nil,
 60 |         @ViewBuilder content: @escaping (Item) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 61 |     ) {
 62 |         self._item = item
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:79:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:101:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         |                 `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:100:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 98 |     // ---------------------------------------------------------
 99 |
100 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
101 |     var contentItem: some View {
102 |         if let item = item {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:27:59: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:9: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80: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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         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
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:81:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    |                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 82 |                 contentItem
 83 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:85:21: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 83 |             } else {
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                         .transition(transition)
 87 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:86:26: error: 'transition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
 86 |                         .transition(transition)
    |                          |- error: 'transition' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 87 |                 }
 88 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:84:32: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
 84 |                 if showContent {
    |                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 85 |                     ZStack { contentItem }
 86 |                         .transition(transition)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:87:17: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 85 |                     ZStack { contentItem }
 86 |                         .transition(transition)
 87 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 88 |             }
 89 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:20: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
    |                    |- 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
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80: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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         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
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:90:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 88 |             }
 89 |         }
 90 |         .animation(animation, value: showContent)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 91 |         .onViewDidLoad { Task { @MainActor in
 92 |             await start(with: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:91:26: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 89 |         }
 90 |         .animation(animation, value: showContent)
 91 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |             await start(with: item)
 93 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:91:26: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 89 |         }
 90 |         .animation(animation, value: showContent)
 91 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |             await start(with: item)
 93 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:104:18: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
    |                  |- 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
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:105:18: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
    |                  |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
106 |                     Task { await finish() }
107 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:106:21: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:106:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
    |                     |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:102:28: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
    |                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:108:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
    :
106 |                     Task { await finish() }
107 |                 }
108 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:101:32: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         |                      |- 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
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:120:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
113 |     // ---------------------------------------------------------
114 |
115 |     private func start(with item: Item?) async {
    |                  `- note: add '@available' attribute to enclosing instance method
116 |         guard item != nil, animated else {
117 |             return await finish()
118 |         }
119 |
120 |         showContent = true
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
121 |     }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:125:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:34: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                  |- error: 'Task' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:39: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                       `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:51: error: 'seconds' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                                   |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                   `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:129:44: error: setter for 'item' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
    :
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
128 |
129 |         guard !isFullScreen else { return (item = nil) }
    |                                            |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
130 |
131 |         onDismiss?("")
[33/37] Compiling SUICoordinator CustomTransitionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/SheetItemType.swift:77:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
59 | /// }
60 | /// ```
61 | protocol SheetItemType: SCEquatable {
   |          `- note: add '@available' attribute to enclosing protocol
62 |
63 |     /// A string that uniquely identifies the sheet item.
   :
75 |     ///
76 |     /// - Note: The subject emits once when dismissal begins, not when it completes.
77 |     var willDismiss: PassthroughSubject<Void, Never> { get }
   |         |            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
78 |
79 |     /// Returns whether the sheet presentation should be animated.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:47: error: cannot find type 'UIView' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                               `- error: cannot find type 'UIView' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:42: error: 'some' types are only permitted in properties, subscripts, and functions
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                          `- error: 'some' types are only permitted in properties, subscripts, and functions
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:30: error: cannot find type 'Context' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                              `- error: cannot find type 'Context' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:33: error: cannot find type 'UIViewType' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                 `- error: cannot find type 'UIViewType' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:54: error: cannot find type 'Context' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                                      `- error: cannot find type 'Context' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:27:29: error: cannot find type 'UIViewRepresentable' in scope
25 | import SwiftUI
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:42:41: error: 'View' is only available in macOS 10.15 or newer
36 | }
37 |
38 | struct ClearBackgroundViewModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
39 |
40 |     let condition: Bool
41 |
42 |     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
43 |         if condition {
44 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:29:20: error: cannot find 'UIView' in scope
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:31:59: error: cannot infer contextual base in reference to member 'clear'
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
   |                                                           `- error: cannot infer contextual base in reference to member 'clear'
32 |         }
33 |         return view
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:49:22: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
47 |             } else {
48 |                 content
49 |                     .background(ClearBackgroundView())
   |                      `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
50 |             }
51 |         } else {
SwiftUI.View.background:2:36: note: where 'S' = 'ClearBackgroundView'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'ClearBackgroundView'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:33:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 31 |     // ---------------------------------------------------------
 32 |
 33 |     @Binding var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |     @State private var showContent: Bool = false
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 32 |
 33 |     @Binding var item: Item?
 34 |     @State private var showContent: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |
 36 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:43:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 41 |     var onDismiss: ActionClosure? = nil
 42 |     var content: Content?
 43 |     var transition: AnyTransition
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 44 |     var animation: Animation?
 45 |     let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:44:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 42 |     var content: Content?
 43 |     var transition: AnyTransition
 44 |     var animation: Animation?
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     let animated: Bool
 46 |     let isFullScreen: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:53:15: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:54:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 55 |         animation: Animation?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 56 |         animated: Bool,
 57 |         isFullScreen: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:60:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add '@available' attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    :
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure? = nil,
 60 |         @ViewBuilder content: @escaping (Item) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 61 |     ) {
 62 |         self._item = item
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:79:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:101:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         |                 `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:100:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 98 |     // ---------------------------------------------------------
 99 |
100 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
101 |     var contentItem: some View {
102 |         if let item = item {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:27:59: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:9: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80: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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         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
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:81:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    |                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 82 |                 contentItem
 83 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:85:21: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 83 |             } else {
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                         .transition(transition)
 87 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:86:26: error: 'transition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
 86 |                         .transition(transition)
    |                          |- error: 'transition' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 87 |                 }
 88 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:84:32: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
 84 |                 if showContent {
    |                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 85 |                     ZStack { contentItem }
 86 |                         .transition(transition)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:87:17: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 85 |                     ZStack { contentItem }
 86 |                         .transition(transition)
 87 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 88 |             }
 89 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:20: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
    |                    |- 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
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
 82 |                 contentItem
 83 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 84 |                 if showContent {
 85 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80: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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         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
 81 |             if !animated {
 82 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:90:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 88 |             }
 89 |         }
 90 |         .animation(animation, value: showContent)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 91 |         .onViewDidLoad { Task { @MainActor in
 92 |             await start(with: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:91:26: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 89 |         }
 90 |         .animation(animation, value: showContent)
 91 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |             await start(with: item)
 93 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:91:26: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 77 |     // ---------------------------------------------------------
 78 |
 79 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 80 |         ZStack {
 81 |             if !animated {
    :
 89 |         }
 90 |         .animation(animation, value: showContent)
 91 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |             await start(with: item)
 93 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:104:18: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
    |                  |- 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
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:105:18: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
    |                  |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
106 |                     Task { await finish() }
107 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:106:21: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:106:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
105 |                 .onReceive(item.willDismiss) { _ in
106 |                     Task { await finish() }
    |                     |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:102:28: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
    |                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
103 |             content
104 |                 .onViewDidLoad { onDidLoad?("") }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:108:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
    :
106 |                     Task { await finish() }
107 |                 }
108 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:101:32: 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
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 99 |
100 |     @ViewBuilder
101 |     var contentItem: some View {
    |         |                      |- 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
    |         `- note: add '@available' attribute to enclosing property
102 |         if let item = item {
103 |             content
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:120:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
113 |     // ---------------------------------------------------------
114 |
115 |     private func start(with item: Item?) async {
    |                  `- note: add '@available' attribute to enclosing instance method
116 |         guard item != nil, animated else {
117 |             return await finish()
118 |         }
119 |
120 |         showContent = true
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
121 |     }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:125:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:34: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                  |- error: 'Task' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:39: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                       `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:127:51: error: 'seconds' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
126 |
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                                   |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                   `- note: add 'if #available' version check
128 |
129 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:129:44: error: setter for 'item' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
121 |     }
122 |
123 |     private func finish() async {
    |                  `- note: add '@available' attribute to enclosing instance method
124 |         let duration = 0.3
125 |         showContent = false
    :
127 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
128 |
129 |         guard !isFullScreen else { return (item = nil) }
    |                                            |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
130 |
131 |         onDismiss?("")
[34/37] Compiling SUICoordinator Router+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:69:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 67 |     /// This represents the root view of the navigation hierarchy. When set, it becomes
 68 |     /// the base view from which all other navigation operations occur.
 69 |     @Published public var mainView: Route?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 70 |
 71 |     /// The array of routes managed by the navigation router.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:76:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 74 |     /// corresponds to a view in the navigation hierarchy, with the last item being
 75 |     /// the currently visible view.
 76 |     @Published public var items: [Route] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 77 |
 78 |     /// The sheet coordinator for presenting sheets.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:82:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 80 |     /// This coordinator manages all modal presentations (sheets, full-screen covers, etc.)
 81 |     /// and provides a unified interface for modal navigation operations.
 82 |     @Published public var sheetCoordinator: SheetCoordinator<AnyViewAlias> = .init()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 83 |
 84 |     /// Controls whether navigation operations should be animated.
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, Route?>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, Route?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, [Route]>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'KeyPath<Router<Route>, SheetCoordinator<any View>>') to expected argument type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:232:9: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
    |         |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
233 |
234 |         if withMainView { mainView = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234:27: error: setter for 'mainView' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
233 |
234 |         if withMainView { mainView = nil }
    |                           |- error: setter for 'mainView' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:258:13: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
242 |     /// - Parameters:
243 |     ///   - animated: A boolean value indicating whether to animate the restart action.
244 |     @MainActor public func restart(animated: Bool) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
245 |         if sheetCoordinator.items.isEmpty {
246 |             await popToRoot(animated: animated)
    :
256 |             self.animated = animated
257 |
258 |             sheetCoordinator = .init()
    |             |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
259 |         }
260 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:293:9: error: setter for 'items' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
286 |     /// item manager state, triggering UI updates when the navigation stack changes.
287 |     @MainActor
288 |     func updateItems() async {
    |          `- note: add '@available' attribute to enclosing instance method
289 |         let itemsManager = await itemManager.getAllItems()
290 |
291 |         guard items != itemsManager else { return }
292 |
293 |         items = itemsManager
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
294 |     }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:28: error: 'Task' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:33: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                 |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                 `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:45: error: 'milliseconds' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                             |- error: 'milliseconds' is only available in macOS 13.0 or newer
    |                                             `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 31 | /// Routers are responsible for the actual navigation and presentation of
 32 | /// views or coordinators within a coordinator-based architecture.
 33 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 34 |
 35 |     // --------------------------------------------------------------------
/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<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject private var viewModel: Router<C.Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     private  let coordinator: C
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
52 |             .clearModalBackground(coordinator.isTabCoordinable)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:38: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
59 |
60 |     @ViewBuilder
61 |     private func buildBody() -> some View {
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
58 |
59 |
60 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 |     private func buildBody() -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:57: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:78:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
76 |     }
77 |
78 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |             .clearModalBackground(coordinator.isTabCoordinable)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:67:38: error: cannot assign to property: '$viewModel' is immutable
65 |             } else if let mainView = viewModel.mainView  {
66 |                 let view = NavigationStack(
67 |                     path: $viewModel.items,
   |                                      `- error: cannot assign to property: '$viewModel' is immutable
68 |                     root: { mainView.navigationDestination(for: C.Route.self) { $0 } }
69 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:14: error: 'environmentObject' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
   |              |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'Task' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
[35/37] Compiling SUICoordinator Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:69:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 67 |     /// This represents the root view of the navigation hierarchy. When set, it becomes
 68 |     /// the base view from which all other navigation operations occur.
 69 |     @Published public var mainView: Route?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 70 |
 71 |     /// The array of routes managed by the navigation router.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:76:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 74 |     /// corresponds to a view in the navigation hierarchy, with the last item being
 75 |     /// the currently visible view.
 76 |     @Published public var items: [Route] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 77 |
 78 |     /// The sheet coordinator for presenting sheets.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:82:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 80 |     /// This coordinator manages all modal presentations (sheets, full-screen covers, etc.)
 81 |     /// and provides a unified interface for modal navigation operations.
 82 |     @Published public var sheetCoordinator: SheetCoordinator<AnyViewAlias> = .init()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 83 |
 84 |     /// Controls whether navigation operations should be animated.
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, Route?>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, Route?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, [Route]>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'KeyPath<Router<Route>, SheetCoordinator<any View>>') to expected argument type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:232:9: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
    |         |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
233 |
234 |         if withMainView { mainView = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234:27: error: setter for 'mainView' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
233 |
234 |         if withMainView { mainView = nil }
    |                           |- error: setter for 'mainView' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:258:13: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
242 |     /// - Parameters:
243 |     ///   - animated: A boolean value indicating whether to animate the restart action.
244 |     @MainActor public func restart(animated: Bool) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
245 |         if sheetCoordinator.items.isEmpty {
246 |             await popToRoot(animated: animated)
    :
256 |             self.animated = animated
257 |
258 |             sheetCoordinator = .init()
    |             |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
259 |         }
260 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:293:9: error: setter for 'items' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
286 |     /// item manager state, triggering UI updates when the navigation stack changes.
287 |     @MainActor
288 |     func updateItems() async {
    |          `- note: add '@available' attribute to enclosing instance method
289 |         let itemsManager = await itemManager.getAllItems()
290 |
291 |         guard items != itemsManager else { return }
292 |
293 |         items = itemsManager
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
294 |     }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:28: error: 'Task' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:33: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                 |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                 `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:45: error: 'milliseconds' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                             |- error: 'milliseconds' is only available in macOS 13.0 or newer
    |                                             `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 31 | /// Routers are responsible for the actual navigation and presentation of
 32 | /// views or coordinators within a coordinator-based architecture.
 33 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 34 |
 35 |     // --------------------------------------------------------------------
/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<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject private var viewModel: Router<C.Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     private  let coordinator: C
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
52 |             .clearModalBackground(coordinator.isTabCoordinable)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:38: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
59 |
60 |     @ViewBuilder
61 |     private func buildBody() -> some View {
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
58 |
59 |
60 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 |     private func buildBody() -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:57: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:78:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
76 |     }
77 |
78 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |             .clearModalBackground(coordinator.isTabCoordinable)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:67:38: error: cannot assign to property: '$viewModel' is immutable
65 |             } else if let mainView = viewModel.mainView  {
66 |                 let view = NavigationStack(
67 |                     path: $viewModel.items,
   |                                      `- error: cannot assign to property: '$viewModel' is immutable
68 |                     root: { mainView.navigationDestination(for: C.Route.self) { $0 } }
69 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:14: error: 'environmentObject' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
   |              |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'Task' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
[36/37] Compiling SUICoordinator RouterType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:69:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 67 |     /// This represents the root view of the navigation hierarchy. When set, it becomes
 68 |     /// the base view from which all other navigation operations occur.
 69 |     @Published public var mainView: Route?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 70 |
 71 |     /// The array of routes managed by the navigation router.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:76:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 74 |     /// corresponds to a view in the navigation hierarchy, with the last item being
 75 |     /// the currently visible view.
 76 |     @Published public var items: [Route] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 77 |
 78 |     /// The sheet coordinator for presenting sheets.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:82:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 80 |     /// This coordinator manages all modal presentations (sheets, full-screen covers, etc.)
 81 |     /// and provides a unified interface for modal navigation operations.
 82 |     @Published public var sheetCoordinator: SheetCoordinator<AnyViewAlias> = .init()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 83 |
 84 |     /// Controls whether navigation operations should be animated.
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, Route?>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, Route?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, [Route]>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'KeyPath<Router<Route>, SheetCoordinator<any View>>') to expected argument type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:232:9: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
    |         |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
233 |
234 |         if withMainView { mainView = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234:27: error: setter for 'mainView' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
233 |
234 |         if withMainView { mainView = nil }
    |                           |- error: setter for 'mainView' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:258:13: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
242 |     /// - Parameters:
243 |     ///   - animated: A boolean value indicating whether to animate the restart action.
244 |     @MainActor public func restart(animated: Bool) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
245 |         if sheetCoordinator.items.isEmpty {
246 |             await popToRoot(animated: animated)
    :
256 |             self.animated = animated
257 |
258 |             sheetCoordinator = .init()
    |             |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
259 |         }
260 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:293:9: error: setter for 'items' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
286 |     /// item manager state, triggering UI updates when the navigation stack changes.
287 |     @MainActor
288 |     func updateItems() async {
    |          `- note: add '@available' attribute to enclosing instance method
289 |         let itemsManager = await itemManager.getAllItems()
290 |
291 |         guard items != itemsManager else { return }
292 |
293 |         items = itemsManager
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
294 |     }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:28: error: 'Task' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:33: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                 |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                 `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:45: error: 'milliseconds' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                             |- error: 'milliseconds' is only available in macOS 13.0 or newer
    |                                             `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 31 | /// Routers are responsible for the actual navigation and presentation of
 32 | /// views or coordinators within a coordinator-based architecture.
 33 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 34 |
 35 |     // --------------------------------------------------------------------
/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<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject private var viewModel: Router<C.Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     private  let coordinator: C
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
52 |             .clearModalBackground(coordinator.isTabCoordinable)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:38: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
59 |
60 |     @ViewBuilder
61 |     private func buildBody() -> some View {
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
58 |
59 |
60 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 |     private func buildBody() -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:57: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:78:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
76 |     }
77 |
78 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |             .clearModalBackground(coordinator.isTabCoordinable)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:67:38: error: cannot assign to property: '$viewModel' is immutable
65 |             } else if let mainView = viewModel.mainView  {
66 |                 let view = NavigationStack(
67 |                     path: $viewModel.items,
   |                                      `- error: cannot assign to property: '$viewModel' is immutable
68 |                     root: { mainView.navigationDestination(for: C.Route.self) { $0 } }
69 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:14: error: 'environmentObject' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
   |              |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'Task' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
[37/37] Compiling SUICoordinator RouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:69:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 67 |     /// This represents the root view of the navigation hierarchy. When set, it becomes
 68 |     /// the base view from which all other navigation operations occur.
 69 |     @Published public var mainView: Route?
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 70 |
 71 |     /// The array of routes managed by the navigation router.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:76:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 74 |     /// corresponds to a view in the navigation hierarchy, with the last item being
 75 |     /// the currently visible view.
 76 |     @Published public var items: [Route] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 77 |
 78 |     /// The sheet coordinator for presenting sheets.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:82:6: error: 'Published' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
 80 |     /// This coordinator manages all modal presentations (sheets, full-screen covers, etc.)
 81 |     /// and provides a unified interface for modal navigation operations.
 82 |     @Published public var sheetCoordinator: SheetCoordinator<AnyViewAlias> = .init()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 83 |
 84 |     /// Controls whether navigation operations should be animated.
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, Route?>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, Route?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, [Route]>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'KeyPath<Router<Route>, SheetCoordinator<any View>>') to expected argument type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<AnyViewAlias>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:232:9: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
    |         |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
233 |
234 |         if withMainView { mainView = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234:27: error: setter for 'mainView' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
228 |     ///   - withMainView: A boolean value indicating whether to clear the main view.
229 |     ///                   When `true`, the main view is also set to `nil`.
230 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
231 |         await popToRoot(animated: false)
232 |         sheetCoordinator = .init()
233 |
234 |         if withMainView { mainView = nil }
    |                           |- error: setter for 'mainView' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
235 |     }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:258:13: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
242 |     /// - Parameters:
243 |     ///   - animated: A boolean value indicating whether to animate the restart action.
244 |     @MainActor public func restart(animated: Bool) async -> Void {
    |                            `- note: add '@available' attribute to enclosing instance method
245 |         if sheetCoordinator.items.isEmpty {
246 |             await popToRoot(animated: animated)
    :
256 |             self.animated = animated
257 |
258 |             sheetCoordinator = .init()
    |             |- error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
259 |         }
260 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:293:9: error: setter for 'items' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
286 |     /// item manager state, triggering UI updates when the navigation stack changes.
287 |     @MainActor
288 |     func updateItems() async {
    |          `- note: add '@available' attribute to enclosing instance method
289 |         let itemsManager = await itemManager.getAllItems()
290 |
291 |         guard items != itemsManager else { return }
292 |
293 |         items = itemsManager
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
294 |     }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:28: error: 'Task' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:33: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                 |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                 `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:45: error: 'milliseconds' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add '@available' attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add '@available' attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                             |- error: 'milliseconds' is only available in macOS 13.0 or newer
    |                                             `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 31 | /// Routers are responsible for the actual navigation and presentation of
 32 | /// views or coordinators within a coordinator-based architecture.
 33 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 34 |
 35 |     // --------------------------------------------------------------------
/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<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject private var viewModel: Router<C.Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     private  let coordinator: C
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
52 |             .clearModalBackground(coordinator.isTabCoordinable)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:38: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
59 |
60 |     @ViewBuilder
61 |     private func buildBody() -> some View {
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
58 |
59 |
60 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 |     private func buildBody() -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:57: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     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
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:78:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
76 |     }
77 |
78 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
51 |         ZStack { buildBody() }
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |             .clearModalBackground(coordinator.isTabCoordinable)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:67:38: error: cannot assign to property: '$viewModel' is immutable
65 |             } else if let mainView = viewModel.mainView  {
66 |                 let view = NavigationStack(
67 |                     path: $viewModel.items,
   |                                      `- error: cannot assign to property: '$viewModel' is immutable
68 |                     root: { mainView.navigationDestination(for: C.Route.self) { $0 } }
69 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:14: error: 'environmentObject' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
   |              |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'Task' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add '@available' attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
BUILD FAILURE 6.2 macosSpm