The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SUICoordinator, reference main (b55c3d), with Swift 6.0 for macOS (SPM) on 1 Jan 2025 02:13:07 UTC.

Build Command

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

Build Log

 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item, index: index)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item, index: index)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item, index: index)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item, index: index)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: 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 SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- 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
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     EmptyView()
 86 |                 }
 87 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: 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 SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- 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
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |          |- error: 'transaction' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |                           |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
100 |                 item: item,
101 |                 onDismiss: { onDismiss?(index) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
109 |         defaultView
110 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
111 |                 item: item,
112 |                 onDismiss: { onDismiss?(index) },
SwiftUI.View:4:29: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 2 | @available(macOS, unavailable)
 3 | extension View {
 4 |     nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
   |                             `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 5 |
 6 |     @available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)")
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: error: 'Color' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: error: 'blue' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
33 |     typealias View = (any SwiftUI.View)
   |               |                   `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
34 |
35 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
38 |
39 |     /// The title view for the page.
40 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
41 |     var title: View  { get }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
42 |
43 |     /// The icon view for the page.
44 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 |     var icon: View { get }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 36 |
 37 |     /// The published router associated with the coordinator.
 38 |     @Published public var router: Router<DefaultRoute>
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 39 |
 40 |     /// The array of published pages associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 39 |
 40 |     /// The array of published pages associated with the tabbar coordinator.
 41 |     @Published public var pages: [Page] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 42 |
 43 |     /// The published current page associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 42 |
 43 |     /// The published current page associated with the tabbar coordinator.
 44 |     @Published public var currentPage: Page
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 45 |
 46 |     // --------------------------------------------------------------------
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, [Page]>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Page>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:70:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 68 |
 69 |     /// A subject for setting badge values.
 70 |     public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
    |                          `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 71 |
 72 |     /// A custom view associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:92:9: error: setter for 'router' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 90 |         customView: (() -> Page.View?)? = nil
 91 |     ) {
 92 |         self.router = .init()
    |         |- error: setter for 'router' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 93 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 94 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 93 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 94 |         self.presentationStyle = presentationStyle
 95 |         self.currentPage = currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 96 |         self.customView = customView
 97 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: error: setter for 'pages' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 95 |         self.currentPage = currentPage
 96 |         self.customView = customView
 97 |         self.pages = pages
    |         |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 98 |
 99 |         router.isTabbarCoordinable = true
[29/33] Compiling SUICoordinator PageDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 33 |     // ---------------------------------------------------------
 34 |
 35 |     @Binding var items: [Item?]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
 56 |         transitionStyle: TransitionPresentationStyle?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 56 |         transitionStyle: TransitionPresentationStyle?,
 57 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:70: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  |                                                   `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 94 |     // ---------------------------------------------------------
 95 |
 96 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
    |                  |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:75: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
    |                  |                                                        `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
105 |     }
106 |
107 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:35: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
120 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        |                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                   |- error: 'indices' is only available in macOS 12.0 or newer
    |                                   `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item, index: index)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item, index: index)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item, index: index)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item, index: index)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: 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 SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- 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
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     EmptyView()
 86 |                 }
 87 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: 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 SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- 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
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |          |- error: 'transaction' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |                           |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
100 |                 item: item,
101 |                 onDismiss: { onDismiss?(index) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
109 |         defaultView
110 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
111 |                 item: item,
112 |                 onDismiss: { onDismiss?(index) },
SwiftUI.View:4:29: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 2 | @available(macOS, unavailable)
 3 | extension View {
 4 |     nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
   |                             `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 5 |
 6 |     @available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)")
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: error: 'Color' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: error: 'blue' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
33 |     typealias View = (any SwiftUI.View)
   |               |                   `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
34 |
35 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
38 |
39 |     /// The title view for the page.
40 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
41 |     var title: View  { get }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
42 |
43 |     /// The icon view for the page.
44 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 |     var icon: View { get }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 36 |
 37 |     /// The published router associated with the coordinator.
 38 |     @Published public var router: Router<DefaultRoute>
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 39 |
 40 |     /// The array of published pages associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 39 |
 40 |     /// The array of published pages associated with the tabbar coordinator.
 41 |     @Published public var pages: [Page] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 42 |
 43 |     /// The published current page associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 42 |
 43 |     /// The published current page associated with the tabbar coordinator.
 44 |     @Published public var currentPage: Page
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 45 |
 46 |     // --------------------------------------------------------------------
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, [Page]>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Page>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:70:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 68 |
 69 |     /// A subject for setting badge values.
 70 |     public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
    |                          `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 71 |
 72 |     /// A custom view associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:92:9: error: setter for 'router' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 90 |         customView: (() -> Page.View?)? = nil
 91 |     ) {
 92 |         self.router = .init()
    |         |- error: setter for 'router' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 93 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 94 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 93 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 94 |         self.presentationStyle = presentationStyle
 95 |         self.currentPage = currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 96 |         self.customView = customView
 97 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: error: setter for 'pages' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 95 |         self.currentPage = currentPage
 96 |         self.customView = customView
 97 |         self.pages = pages
    |         |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 98 |
 99 |         router.isTabbarCoordinable = true
[30/33] Compiling SUICoordinator TabbarCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 33 |     // ---------------------------------------------------------
 34 |
 35 |     @Binding var items: [Item?]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
 56 |         transitionStyle: TransitionPresentationStyle?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 56 |         transitionStyle: TransitionPresentationStyle?,
 57 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:70: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  |                                                   `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 94 |     // ---------------------------------------------------------
 95 |
 96 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
    |                  |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:75: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
    |                  |                                                        `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
105 |     }
106 |
107 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:35: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
120 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        |                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                   |- error: 'indices' is only available in macOS 12.0 or newer
    |                                   `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item, index: index)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item, index: index)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item, index: index)
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item, index: index)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item, index: index)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: 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 SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- 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
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     EmptyView()
 86 |                 }
 87 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: 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 SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- 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
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |          |- error: 'transaction' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |                           |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>, index: Int) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
100 |                 item: item,
101 |                 onDismiss: { onDismiss?(index) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
108 |     private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
109 |         defaultView
110 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
111 |                 item: item,
112 |                 onDismiss: { onDismiss?(index) },
SwiftUI.View:4:29: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 2 | @available(macOS, unavailable)
 3 | extension View {
 4 |     nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
   |                             `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 5 |
 6 |     @available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)")
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: error: 'Color' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: error: 'blue' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
116 |     }
117 |
118 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
119 |         Color.blue.frame(width: 0.3, height: 0.3)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
120 |     }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
33 |     typealias View = (any SwiftUI.View)
   |               |                   `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
34 |
35 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
38 |
39 |     /// The title view for the page.
40 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
41 |     var title: View  { get }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
42 |
43 |     /// The icon view for the page.
44 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 |     var icon: View { get }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 36 |
 37 |     /// The published router associated with the coordinator.
 38 |     @Published public var router: Router<DefaultRoute>
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 39 |
 40 |     /// The array of published pages associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 39 |
 40 |     /// The array of published pages associated with the tabbar coordinator.
 41 |     @Published public var pages: [Page] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 42 |
 43 |     /// The published current page associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 42 |
 43 |     /// The published current page associated with the tabbar coordinator.
 44 |     @Published public var currentPage: Page
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 45 |
 46 |     // --------------------------------------------------------------------
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, [Page]>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Page>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:70:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 68 |
 69 |     /// A subject for setting badge values.
 70 |     public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
    |                          `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 71 |
 72 |     /// A custom view associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:92:9: error: setter for 'router' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 90 |         customView: (() -> Page.View?)? = nil
 91 |     ) {
 92 |         self.router = .init()
    |         |- error: setter for 'router' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 93 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 94 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 93 |         self.uuid = "\(NSStringFromClass(type(of: self))) - \(UUID().uuidString)"
 94 |         self.presentationStyle = presentationStyle
 95 |         self.currentPage = currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 96 |         self.customView = customView
 97 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: error: setter for 'pages' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 84 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 85 |     ///   - customView: A custom view associated with the tabbar coordinator.
 86 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 87 |         pages: [Page],
 88 |         currentPage: Page,
    :
 95 |         self.currentPage = currentPage
 96 |         self.customView = customView
 97 |         self.pages = pages
    |         |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 98 |
 99 |         router.isTabbarCoordinable = true
[31/33] Compiling SUICoordinator TabbarCoordinatorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorType.swift:62:19: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
30 | /// Tabbar coordinator types define the interface for handling the selected page and badge updates.
31 | @MainActor
32 | public protocol TabbarCoordinatorType: ObservableObject {
   |                 `- note: add @available attribute to enclosing protocol
33 |
34 |     // ---------------------------------------------------------
   :
60 |     /// This property allows you to asynchronously assign badges to pages using a tuple containing
61 |     /// the badge value and the associated page.
62 |     var setBadge: PassthroughSubject<(String?, Page), Never> { get set }
   |         |         `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
63 |
64 |     /// An array representing all the pages managed by the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorType.swift:32:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
30 | /// Tabbar coordinator types define the interface for handling the selected page and badge updates.
31 | @MainActor
32 | public protocol TabbarCoordinatorType: ObservableObject {
   |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
33 |
34 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:37:6: error: 'StateObject' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 35 |     // ---------------------------------------------------------------------
 36 |
 37 |     @StateObject var dataSource: DataSource
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 36 |
 37 |     @StateObject var dataSource: DataSource
 38 |     @State var badges = [BadgeItem]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 39 |     @State var pages = [Page]()
 40 |     @State var currentPage: Page
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 37 |     @StateObject var dataSource: DataSource
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State var currentPage: Page
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
 40 |     @State var currentPage: Page
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |
 42 |     init(dataSource: DataSource, currentPage: Page) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:51:27: error: 'View' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:77:46: error: 'View' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          |                                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:76:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 74 |     // ---------------------------------------------------------------------
 75 |
 76 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:44:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 40 |     @State var currentPage: Page
 41 |
 42 |     init(dataSource: DataSource, currentPage: Page) {
    |     `- note: add @available attribute to enclosing initializer
 43 |         self._dataSource = .init(wrappedValue: dataSource)
 44 |         self.currentPage = dataSource.currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |     }
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:52:9: error: 'TabView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
    |         |- error: 'TabView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:52:9: error: 'init(selection:content:)' is only available in macOS 15.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
    |         |- error: 'init(selection:content:)' is only available in macOS 15.0 or newer
    |         `- note: add 'if #available' version check
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'buildExpression' is unavailable: this expression does not conform to 'TabContent'
 51 |     public var body: some View {
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'TabContent'
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
SwiftUI.TabContentBuilder:11:24: note: 'buildExpression' has been explicitly marked unavailable here
 9 |
10 |     @available(*, unavailable, message: "this expression does not conform to 'TabContent'")
11 |     public static func buildExpression(_ invalid: Any) -> some TabContent<TabValue>
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
12 |
13 |     public static func buildBlock(_ content: some TabContent<TabValue>) -> some TabContent<TabValue>
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'ForEach' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             |- error: 'ForEach' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:55:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 56 |             self.pages = pages
 57 |             badges = pages.map { (nil, $0) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:56:13: error: setter for 'pages' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
 56 |             self.pages = pages
    |             |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |             badges = pages.map { (nil, $0) }
 58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:57:13: error: setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 55 |         .onChange(of: dataSource.pages) { pages in
 56 |             self.pages = pages
 57 |             badges = pages.map { (nil, $0) }
    |             |- error: setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:59:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 57 |             badges = pages.map { (nil, $0) }
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 60 |             currentPage = page
 61 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:60:13: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
 60 |             currentPage = page
    |             |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 61 |         }
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:62:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 60 |             currentPage = page
 61 |         }
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
    |          |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 63 |             guard let index = getBadgeIndex(page: page) else { return }
 64 |             badges[index].value = value
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:64:13: error: cannot pass as inout because setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
 63 |             guard let index = getBadgeIndex(page: page) else { return }
 64 |             badges[index].value = value
    |             |- error: cannot pass as inout because setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 65 |         }
 66 |         .task {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:66:10: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 64 |             badges[index].value = value
 65 |         }
 66 |         .task {
    |          |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
 67 |             pages = dataSource.pages
 68 |             badges = pages.map { (nil, $0) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:67:13: error: setter for 'pages' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 65 |         }
 66 |         .task {
 67 |             pages = dataSource.pages
    |             |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 68 |             badges = pages.map { (nil, $0) }
 69 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:68:13: error: setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 66 |         .task {
 67 |             pages = dataSource.pages
 68 |             badges = pages.map { (nil, $0) }
    |             |- error: setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 69 |         }
 70 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:79:13: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    |             |- error: 'AnyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 80 |                 .tabItem {
 81 |                     Label(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:80:18: error: 'tabItem' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
    |                  |- error: 'tabItem' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:81:21: error: 'Label' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
 81 |                     Label(
    |                     |- error: 'Label' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         title: { AnyView(page.title) },
 83 |                         icon: { AnyView(page.icon) } )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:82:34: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
    |                                  |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 83 |                         icon: { AnyView(page.icon) } )
 84 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:83:33: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
 83 |                         icon: { AnyView(page.icon) } )
    |                                 |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:85:18: error: 'badge' is only available in macOS 12.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 83 |                         icon: { AnyView(page.icon) } )
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
    |                  |- error: 'badge' is only available in macOS 12.0 or newer
    |                  `- note: add 'if #available' version check
 86 |                 .tag(page)
 87 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:86:18: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
 86 |                 .tag(page)
    |                  |- error: 'tag(_:includeOptional:)' 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/Tabbar/TabbarCoordinatorView.swift:78:70: error: 'buildIf' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
    |                                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                      `- note: add 'if #available' version check
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:87:9: error: 'buildIf' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 85 |                 .badge(badge(of: page)?.value)
 86 |                 .tag(page)
 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/Tabbar/TabbarCoordinatorView.swift:77:51: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> 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 instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
[32/33] Compiling SUICoordinator TabbarCoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorType.swift:62:19: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
30 | /// Tabbar coordinator types define the interface for handling the selected page and badge updates.
31 | @MainActor
32 | public protocol TabbarCoordinatorType: ObservableObject {
   |                 `- note: add @available attribute to enclosing protocol
33 |
34 |     // ---------------------------------------------------------
   :
60 |     /// This property allows you to asynchronously assign badges to pages using a tuple containing
61 |     /// the badge value and the associated page.
62 |     var setBadge: PassthroughSubject<(String?, Page), Never> { get set }
   |         |         `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
63 |
64 |     /// An array representing all the pages managed by the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorType.swift:32:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
30 | /// Tabbar coordinator types define the interface for handling the selected page and badge updates.
31 | @MainActor
32 | public protocol TabbarCoordinatorType: ObservableObject {
   |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
33 |
34 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:37:6: error: 'StateObject' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 35 |     // ---------------------------------------------------------------------
 36 |
 37 |     @StateObject var dataSource: DataSource
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 36 |
 37 |     @StateObject var dataSource: DataSource
 38 |     @State var badges = [BadgeItem]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 39 |     @State var pages = [Page]()
 40 |     @State var currentPage: Page
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 37 |     @StateObject var dataSource: DataSource
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State var currentPage: Page
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
 40 |     @State var currentPage: Page
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |
 42 |     init(dataSource: DataSource, currentPage: Page) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:51:27: error: 'View' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:77:46: error: 'View' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          |                                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:76:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 74 |     // ---------------------------------------------------------------------
 75 |
 76 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:44:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 40 |     @State var currentPage: Page
 41 |
 42 |     init(dataSource: DataSource, currentPage: Page) {
    |     `- note: add @available attribute to enclosing initializer
 43 |         self._dataSource = .init(wrappedValue: dataSource)
 44 |         self.currentPage = dataSource.currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |     }
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:52:9: error: 'TabView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
    |         |- error: 'TabView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:52:9: error: 'init(selection:content:)' is only available in macOS 15.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
    |         |- error: 'init(selection:content:)' is only available in macOS 15.0 or newer
    |         `- note: add 'if #available' version check
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'buildExpression' is unavailable: this expression does not conform to 'TabContent'
 51 |     public var body: some View {
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'TabContent'
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
SwiftUI.TabContentBuilder:11:24: note: 'buildExpression' has been explicitly marked unavailable here
 9 |
10 |     @available(*, unavailable, message: "this expression does not conform to 'TabContent'")
11 |     public static func buildExpression(_ invalid: Any) -> some TabContent<TabValue>
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
12 |
13 |     public static func buildBlock(_ content: some TabContent<TabValue>) -> some TabContent<TabValue>
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'ForEach' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             |- error: 'ForEach' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:55:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 56 |             self.pages = pages
 57 |             badges = pages.map { (nil, $0) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:56:13: error: setter for 'pages' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
 56 |             self.pages = pages
    |             |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |             badges = pages.map { (nil, $0) }
 58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:57:13: error: setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 55 |         .onChange(of: dataSource.pages) { pages in
 56 |             self.pages = pages
 57 |             badges = pages.map { (nil, $0) }
    |             |- error: setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:59:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 57 |             badges = pages.map { (nil, $0) }
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 60 |             currentPage = page
 61 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:60:13: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
 60 |             currentPage = page
    |             |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 61 |         }
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:62:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 60 |             currentPage = page
 61 |         }
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
    |          |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 63 |             guard let index = getBadgeIndex(page: page) else { return }
 64 |             badges[index].value = value
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:64:13: error: cannot pass as inout because setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
 63 |             guard let index = getBadgeIndex(page: page) else { return }
 64 |             badges[index].value = value
    |             |- error: cannot pass as inout because setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 65 |         }
 66 |         .task {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:66:10: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 64 |             badges[index].value = value
 65 |         }
 66 |         .task {
    |          |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
 67 |             pages = dataSource.pages
 68 |             badges = pages.map { (nil, $0) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:67:13: error: setter for 'pages' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 65 |         }
 66 |         .task {
 67 |             pages = dataSource.pages
    |             |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 68 |             badges = pages.map { (nil, $0) }
 69 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:68:13: error: setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 66 |         .task {
 67 |             pages = dataSource.pages
 68 |             badges = pages.map { (nil, $0) }
    |             |- error: setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 69 |         }
 70 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:79:13: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    |             |- error: 'AnyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 80 |                 .tabItem {
 81 |                     Label(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:80:18: error: 'tabItem' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
    |                  |- error: 'tabItem' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:81:21: error: 'Label' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
 81 |                     Label(
    |                     |- error: 'Label' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         title: { AnyView(page.title) },
 83 |                         icon: { AnyView(page.icon) } )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:82:34: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
    |                                  |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 83 |                         icon: { AnyView(page.icon) } )
 84 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:83:33: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
 83 |                         icon: { AnyView(page.icon) } )
    |                                 |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:85:18: error: 'badge' is only available in macOS 12.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 83 |                         icon: { AnyView(page.icon) } )
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
    |                  |- error: 'badge' is only available in macOS 12.0 or newer
    |                  `- note: add 'if #available' version check
 86 |                 .tag(page)
 87 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:86:18: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
 86 |                 .tag(page)
    |                  |- error: 'tag(_:includeOptional:)' 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/Tabbar/TabbarCoordinatorView.swift:78:70: error: 'buildIf' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
    |                                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                      `- note: add 'if #available' version check
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:87:9: error: 'buildIf' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 85 |                 .badge(badge(of: page)?.value)
 86 |                 .tag(page)
 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/Tabbar/TabbarCoordinatorView.swift:77:51: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> 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 instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
[33/33] Compiling SUICoordinator TabbarNavigationRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorType.swift:62:19: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
30 | /// Tabbar coordinator types define the interface for handling the selected page and badge updates.
31 | @MainActor
32 | public protocol TabbarCoordinatorType: ObservableObject {
   |                 `- note: add @available attribute to enclosing protocol
33 |
34 |     // ---------------------------------------------------------
   :
60 |     /// This property allows you to asynchronously assign badges to pages using a tuple containing
61 |     /// the badge value and the associated page.
62 |     var setBadge: PassthroughSubject<(String?, Page), Never> { get set }
   |         |         `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
63 |
64 |     /// An array representing all the pages managed by the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorType.swift:32:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
30 | /// Tabbar coordinator types define the interface for handling the selected page and badge updates.
31 | @MainActor
32 | public protocol TabbarCoordinatorType: ObservableObject {
   |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
33 |
34 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:37:6: error: 'StateObject' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 35 |     // ---------------------------------------------------------------------
 36 |
 37 |     @StateObject var dataSource: DataSource
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 36 |
 37 |     @StateObject var dataSource: DataSource
 38 |     @State var badges = [BadgeItem]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 39 |     @State var pages = [Page]()
 40 |     @State var currentPage: Page
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 37 |     @StateObject var dataSource: DataSource
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State var currentPage: Page
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 38 |     @State var badges = [BadgeItem]()
 39 |     @State var pages = [Page]()
 40 |     @State var currentPage: Page
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |
 42 |     init(dataSource: DataSource, currentPage: Page) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:51:27: error: 'View' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:77:46: error: 'View' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          |                                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:76:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 74 |     // ---------------------------------------------------------------------
 75 |
 76 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:44:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 40 |     @State var currentPage: Page
 41 |
 42 |     init(dataSource: DataSource, currentPage: Page) {
    |     `- note: add @available attribute to enclosing initializer
 43 |         self._dataSource = .init(wrappedValue: dataSource)
 44 |         self.currentPage = dataSource.currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |     }
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:52:9: error: 'TabView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
    |         |- error: 'TabView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:52:9: error: 'init(selection:content:)' is only available in macOS 15.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
    |         |- error: 'init(selection:content:)' is only available in macOS 15.0 or newer
    |         `- note: add 'if #available' version check
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'buildExpression' is unavailable: this expression does not conform to 'TabContent'
 51 |     public var body: some View {
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'TabContent'
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
SwiftUI.TabContentBuilder:11:24: note: 'buildExpression' has been explicitly marked unavailable here
 9 |
10 |     @available(*, unavailable, message: "this expression does not conform to 'TabContent'")
11 |     public static func buildExpression(_ invalid: Any) -> some TabContent<TabValue>
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
12 |
13 |     public static func buildBlock(_ content: some TabContent<TabValue>) -> some TabContent<TabValue>
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'ForEach' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             |- error: 'ForEach' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:53:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:55:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 56 |             self.pages = pages
 57 |             badges = pages.map { (nil, $0) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:56:13: error: setter for 'pages' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
 54 |         }
 55 |         .onChange(of: dataSource.pages) { pages in
 56 |             self.pages = pages
    |             |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |             badges = pages.map { (nil, $0) }
 58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:57:13: error: setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 55 |         .onChange(of: dataSource.pages) { pages in
 56 |             self.pages = pages
 57 |             badges = pages.map { (nil, $0) }
    |             |- error: setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:59:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 57 |             badges = pages.map { (nil, $0) }
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 60 |             currentPage = page
 61 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:60:13: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 58 |         }
 59 |         .onChange(of: dataSource.currentPage) { page in
 60 |             currentPage = page
    |             |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 61 |         }
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:62:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 60 |             currentPage = page
 61 |         }
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
    |          |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 63 |             guard let index = getBadgeIndex(page: page) else { return }
 64 |             badges[index].value = value
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:64:13: error: cannot pass as inout because setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 62 |         .onReceive(dataSource.setBadge) { (value, page) in
 63 |             guard let index = getBadgeIndex(page: page) else { return }
 64 |             badges[index].value = value
    |             |- error: cannot pass as inout because setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 65 |         }
 66 |         .task {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:66:10: error: 'task(priority:_:)' is only available in macOS 12.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 64 |             badges[index].value = value
 65 |         }
 66 |         .task {
    |          |- error: 'task(priority:_:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
 67 |             pages = dataSource.pages
 68 |             badges = pages.map { (nil, $0) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:67:13: error: setter for 'pages' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 65 |         }
 66 |         .task {
 67 |             pages = dataSource.pages
    |             |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 68 |             badges = pages.map { (nil, $0) }
 69 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:68:13: error: setter for 'badges' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 49 |     // ---------------------------------------------------------------------
 50 |
 51 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 52 |         TabView(selection: $dataSource.currentPage){
 53 |             ForEach(pages, id: \.id, content: tabBarItem)
    :
 66 |         .task {
 67 |             pages = dataSource.pages
 68 |             badges = pages.map { (nil, $0) }
    |             |- error: setter for 'badges' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 69 |         }
 70 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:79:13: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    |             |- error: 'AnyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 80 |                 .tabItem {
 81 |                     Label(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:80:18: error: 'tabItem' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
    |                  |- error: 'tabItem' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:81:21: error: 'Label' is only available in macOS 11.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
 81 |                     Label(
    |                     |- error: 'Label' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         title: { AnyView(page.title) },
 83 |                         icon: { AnyView(page.icon) } )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:82:34: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
    |                                  |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 83 |                         icon: { AnyView(page.icon) } )
 84 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:83:33: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 81 |                     Label(
 82 |                         title: { AnyView(page.title) },
 83 |                         icon: { AnyView(page.icon) } )
    |                                 |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:85:18: error: 'badge' is only available in macOS 12.0 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 83 |                         icon: { AnyView(page.icon) } )
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
    |                  |- error: 'badge' is only available in macOS 12.0 or newer
    |                  `- note: add 'if #available' version check
 86 |                 .tag(page)
 87 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:86:18: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 84 |                 }
 85 |                 .badge(badge(of: page)?.value)
 86 |                 .tag(page)
    |                  |- error: 'tag(_:includeOptional:)' 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/Tabbar/TabbarCoordinatorView.swift:78:70: error: 'buildIf' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
    |                                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                      `- note: add 'if #available' version check
 79 |             AnyView( item.getView() )
 80 |                 .tabItem {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:87:9: error: 'buildIf' is only available in macOS 10.15 or newer
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
    :
 85 |                 .badge(badge(of: page)?.value)
 86 |                 .tag(page)
 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/Tabbar/TabbarCoordinatorView.swift:77:51: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<DataSource: TabbarCoordinatorType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 29 |
 30 |     typealias Page = DataSource.Page
    :
 75 |
 76 |     @ViewBuilder
 77 |     func tabBarItem(with page: Page) -> 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 instance method
 78 |         if let item = dataSource.getCoordinator(with: page.position) {
 79 |             AnyView( item.getView() )
BUILD FAILURE 6.0 macosSpm