The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SUICoordinator, reference v1.0.0 (9f5a6f), with Swift 6.1 for macOS (SPM) on 26 Sep 2025 05:08:39 UTC.

Build Command

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

Build Log

290 |
291 |         guard items != itemsManager else { return }
292 |
293 |         items = itemsManager
    |         |- error: setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
294 |     }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:28: error: 'Task' is only available in macOS 10.15 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add @available attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:33: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add @available attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                 |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                 `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:333:45: error: 'milliseconds' is only available in macOS 13.0 or newer
 57 | /// await router.pop(animated: true)
 58 | /// ```
 59 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 60 |
 61 |     // --------------------------------------------------------------------
    :
327 |     ///   - finishFlow: A boolean value indicating whether to finish the associated flow.
328 |     ///                 Currently unused but reserved for future functionality.
329 |     @MainActor internal func close(animated: Bool, finishFlow: Bool) async -> Void {
    |                              `- note: add @available attribute to enclosing instance method
330 |         if !(await sheetCoordinator.areEmptyItems) {
331 |             await dismiss(animated: animated)
332 |             if finishFlow {
333 |                 try? await Task.sleep(for: .milliseconds(animated ? 600 : 100))
    |                                             |- error: 'milliseconds' is only available in macOS 13.0 or newer
    |                                             `- note: add 'if #available' version check
334 |             }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 31 | /// Routers are responsible for the actual navigation and presentation of
 32 | /// views or coordinators within a coordinator-based architecture.
 33 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 34 |
 35 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
32 |     // --------------------------------------------------------------------
33 |
34 |     @StateObject private var viewModel: Router<C.Route>
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |     private  let coordinator: C
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
51 |         ZStack { buildBody() }
52 |             .clearModalBackground(coordinator.isTabCoordinable)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:38: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
59 |
60 |     @ViewBuilder
61 |     private func buildBody() -> some View {
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
58 |
59 |
60 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
61 |     private func buildBody() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
62 |         Group {
63 |             if coordinator.isTabCoordinable {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  |                      `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:41: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  |                      `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:57: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  |                                      `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:78:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
76 |     }
77 |
78 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
48 |     // --------------------------------------------------------------------
49 |
50 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
51 |         ZStack { buildBody() }
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |             .clearModalBackground(coordinator.isTabCoordinable)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:67:38: error: cannot assign to property: '$viewModel' is immutable
65 |             } else if let mainView = viewModel.mainView  {
66 |                 let view = NavigationStack(
67 |                     path: $viewModel.items,
   |                                      `- error: cannot assign to property: '$viewModel' is immutable
68 |                     root: { mainView.navigationDestination(for: C.Route.self) { $0 } }
69 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:14: error: 'environmentObject' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
   |              |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'Task' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
77 |
78 |     @ViewBuilder
79 |     private func addSheetTo(view: (some View)?) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
80 |         view.environmentObject(coordinator)
81 |             .sheetCoordinator(
82 |             coordinator: viewModel.sheetCoordinator,
83 |             onDissmis: { index in Task(priority: .high) { @MainActor [weak viewModel] in
   |                                   |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
84 |                 await viewModel?.removeItemFromSheetCoordinator(at: index)
85 |             }},
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'Task' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add @available attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:95:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | struct RouterView<C: CoordinatorType>: View {
   |        `- note: add @available attribute to enclosing generic struct
29 |
30 |     // --------------------------------------------------------------------
   :
92 |     // --------------------------------------------------------------------
93 |
94 |     private func onChangeItems(_ value: [C.Route]) {
   |                  `- note: add @available attribute to enclosing instance method
95 |         Task { await viewModel.syncItems() }
   |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
96 |     }
97 | }
[31/36] Compiling SUICoordinator TabCoordinatorType+TabCoordinatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabCoordinatorType.swift:99:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 49 | /// ```
 50 | @MainActor
 51 | public protocol TabCoordinatorType: ObservableObject {
    |                 `- note: add @available attribute to enclosing protocol
 52 |
 53 |     // ---------------------------------------------------------
    :
 97 |     /// setBadge.send((nil, myPage)) // Remove badge
 98 |     /// ```
 99 |     var badge: PassthroughSubject<(String?, Page), Never> { get }
    |         |      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
100 |
101 |     /// An array containing all pages managed by the tab coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabCoordinatorType.swift:51:37: error: 'ObservableObject' is only available in macOS 10.15 or newer
 49 | /// ```
 50 | @MainActor
 51 | public protocol TabCoordinatorType: ObservableObject {
    |                 |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 52 |
 53 |     // ---------------------------------------------------------
[32/36] Compiling SUICoordinator TabCoordinatorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabCoordinatorType.swift:99:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 49 | /// ```
 50 | @MainActor
 51 | public protocol TabCoordinatorType: ObservableObject {
    |                 `- note: add @available attribute to enclosing protocol
 52 |
 53 |     // ---------------------------------------------------------
    :
 97 |     /// setBadge.send((nil, myPage)) // Remove badge
 98 |     /// ```
 99 |     var badge: PassthroughSubject<(String?, Page), Never> { get }
    |         |      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
100 |
101 |     /// An array containing all pages managed by the tab coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabCoordinatorType.swift:51:37: error: 'ObservableObject' is only available in macOS 10.15 or newer
 49 | /// ```
 50 | @MainActor
 51 | public protocol TabCoordinatorType: ObservableObject {
    |                 |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 52 |
 53 |     // ---------------------------------------------------------
[33/36] Compiling SUICoordinator TabNavigationRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabCoordinatorType.swift:99:16: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 49 | /// ```
 50 | @MainActor
 51 | public protocol TabCoordinatorType: ObservableObject {
    |                 `- note: add @available attribute to enclosing protocol
 52 |
 53 |     // ---------------------------------------------------------
    :
 97 |     /// setBadge.send((nil, myPage)) // Remove badge
 98 |     /// ```
 99 |     var badge: PassthroughSubject<(String?, Page), Never> { get }
    |         |      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
100 |
101 |     /// An array containing all pages managed by the tab coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabCoordinatorType.swift:51:37: error: 'ObservableObject' is only available in macOS 10.15 or newer
 49 | /// ```
 50 | @MainActor
 51 | public protocol TabCoordinatorType: ObservableObject {
    |                 |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 52 |
 53 |     // ---------------------------------------------------------
[34/36] Compiling SUICoordinator SheetItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetItem.swift:78:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 40 | /// - Built-in dismissal lifecycle management
 41 | /// - Type-safe view/coordinator handling
 42 | public struct SheetItem<T>:SCEquatable, SheetItemType {
    |               `- note: add @available attribute to enclosing generic struct
 43 |
 44 |     // ---------------------------------------------------------
    :
 76 |     /// This publisher allows observers to react to sheet dismissal events,
 77 |     /// enabling cleanup operations or state updates before the sheet disappears.
 78 |     let willDismiss: PassthroughSubject<Void, Never> = .init()
    |                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 79 |
 80 |     /// A boolean value indicating whether the sheet item contains a coordinator.
/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 |         transitionStyle: TransitionPresentationStyle?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:57: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 |         transitionStyle: TransitionPresentationStyle?,
 56 |         animated: Bool,
 57 |         @ViewBuilder content: @escaping (Int, Item) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure?
/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:113:15: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
114 |         index: Int,
115 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:115:21: error: 'AnyTransition' 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
115 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
116 |         animation: Animation?,
117 |         isFullScreen: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:116:20: error: 'Animation' 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
115 |         transition: AnyTransition,
116 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
120 |         if items.indices.contains(index)  {
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:111: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
    :
109 |     // ---------------------------------------------------------
110 |
111 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:150:15: 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
    :
147 |
148 |     @ViewBuilder
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
151 |         index: Int,
152 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:153:15: 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
    :
147 |
148 |     @ViewBuilder
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
151 |         index: Int,
152 |         onDismiss: ActionClosure?
153 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
154 |         sheetContainer(
155 |             item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:148: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
    :
146 |     }
147 |
148 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
151 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:165:15: 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
    :
162 |
163 |     @ViewBuilder
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
166 |         index: Int,
167 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:168:15: 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
    :
162 |
163 |     @ViewBuilder
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
166 |         index: Int,
167 |         onDismiss: ActionClosure?
168 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
169 |         fullScreenContainer(
170 |             item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:163: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
    :
161 |     }
162 |
163 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
166 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188:56: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:184:15: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
185 |         animated: Bool,
186 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188: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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188:56: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:189:15: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
189 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
190 |         defaultView
191 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:182: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
    :
180 |     // ---------------------------------------------------------
181 |
182 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205:56: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:201:15: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
202 |         animated: Bool,
203 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205: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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205:56: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:206:15: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
206 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
207 |         defaultView
208 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:199: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
    :
197 |     }
198 |
199 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:216: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
217 |         Color.blue.frame(width: 0.3, height: 0.3)
218 |     }
/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: 'buildExpression' is unavailable: this expression does not conform to 'View'
 73 |
 74 |     var body: some View {
 75 |         Group {
    |         `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/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 11.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 {
    |         |- error: 'init(content:)' is only available in macOS 11.0 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: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 82 |                         item: item,
 83 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         item: item,
 83 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         item: item,
 83 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 88 |                         item: item,
 89 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 88 |                         item: item,
 89 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 88 |                         item: item,
 89 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 94 |                         item: item,
 95 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 94 |                         item: item,
 95 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 94 |                         item: item,
 95 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
102 |                 }
103 |             }
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: 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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 13.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: 'buildIf' is only available in macOS 13.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:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'CustomizableToolbarContent' is only available in macOS 13.0 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 'CustomizableToolbarContent' is only available in macOS 13.0 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:103:13: error: 'buildIf' is only available in macOS 13.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) {
    :
101 |                 default: EmptyView()
102 |                 }
103 |             }
    |             |- error: 'buildIf' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
104 |         }
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'CustomizableToolbarContent' is only available in macOS 13.0 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 'CustomizableToolbarContent' is only available in macOS 13.0 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:134:29: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
132 |             .clearModalBackground()
133 |
134 |             if isFullScreen {
    |                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
135 |                 fullScreenContainer(
136 |                     item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:142:20: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
140 |                     content: { _ in view }
141 |                 )
142 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
143 |                 view
144 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:120:43: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
120 |         if items.indices.contains(index)  {
    |                                           |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                           `- note: add 'if #available' version check
121 |
122 |             let view = CustomTransitionView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:120:43: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
120 |         if items.indices.contains(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
121 |
122 |             let view = CustomTransitionView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:145:9: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
143 |                 view
144 |             }
145 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
146 |     }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
119 |     ) -> 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
120 |         if items.indices.contains(index)  {
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:191:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
189 |     ) -> some View {
190 |         defaultView
191 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
192 |                 item: item,
193 |                 onDismiss: {onDismiss?(String(index))},
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | 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
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:196:14: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
194 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
195 |             )
196 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
197 |     }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:196:31: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
194 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
195 |             )
196 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
197 |     }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:208: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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
206 |     ) -> some View {
207 |         defaultView
208 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
209 |                 item: item,
210 |                 onDismiss: { onDismiss?(String(index)) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:213:14: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
211 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
212 |             )
213 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
214 |     }
215 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:213:31: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
211 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
212 |             )
213 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
214 |     }
215 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:103:35: error: 'View' is only available in macOS 10.15 or newer
 59 | /// }
 60 | /// ```
 61 | public protocol PageDataSource: SCHashable {
    |                 `- note: add @available attribute to enclosing protocol
 62 |
 63 |     // ---------------------------------------------------------
    :
101 |     /// This is used to ensure type safety when working with SwiftUI views in the context of tab pages.
102 |     /// It provides a consistent interface for view-related operations across the tab system.
103 |     typealias View = (any SwiftUI.View)
    |               |                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing type alias
104 |
105 |     // ---------------------------------------------------------
[35/36] Compiling SUICoordinator SheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetItem.swift:78:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 40 | /// - Built-in dismissal lifecycle management
 41 | /// - Type-safe view/coordinator handling
 42 | public struct SheetItem<T>:SCEquatable, SheetItemType {
    |               `- note: add @available attribute to enclosing generic struct
 43 |
 44 |     // ---------------------------------------------------------
    :
 76 |     /// This publisher allows observers to react to sheet dismissal events,
 77 |     /// enabling cleanup operations or state updates before the sheet disappears.
 78 |     let willDismiss: PassthroughSubject<Void, Never> = .init()
    |                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 79 |
 80 |     /// A boolean value indicating whether the sheet item contains a coordinator.
/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 |         transitionStyle: TransitionPresentationStyle?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:57: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 |         transitionStyle: TransitionPresentationStyle?,
 56 |         animated: Bool,
 57 |         @ViewBuilder content: @escaping (Int, Item) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure?
/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:113:15: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
114 |         index: Int,
115 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:115:21: error: 'AnyTransition' 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
115 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
116 |         animation: Animation?,
117 |         isFullScreen: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:116:20: error: 'Animation' 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
115 |         transition: AnyTransition,
116 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
120 |         if items.indices.contains(index)  {
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:111: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
    :
109 |     // ---------------------------------------------------------
110 |
111 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:150:15: 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
    :
147 |
148 |     @ViewBuilder
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
151 |         index: Int,
152 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:153:15: 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
    :
147 |
148 |     @ViewBuilder
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
151 |         index: Int,
152 |         onDismiss: ActionClosure?
153 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
154 |         sheetContainer(
155 |             item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:148: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
    :
146 |     }
147 |
148 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
151 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:165:15: 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
    :
162 |
163 |     @ViewBuilder
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
166 |         index: Int,
167 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:168:15: 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
    :
162 |
163 |     @ViewBuilder
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
166 |         index: Int,
167 |         onDismiss: ActionClosure?
168 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
169 |         fullScreenContainer(
170 |             item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:163: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
    :
161 |     }
162 |
163 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
166 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188:56: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:184:15: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
185 |         animated: Bool,
186 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188: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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188:56: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:189:15: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
189 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
190 |         defaultView
191 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:182: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
    :
180 |     // ---------------------------------------------------------
181 |
182 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205:56: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:201:15: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
202 |         animated: Bool,
203 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205: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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205:56: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:206:15: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
206 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
207 |         defaultView
208 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:199: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
    :
197 |     }
198 |
199 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:216: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
217 |         Color.blue.frame(width: 0.3, height: 0.3)
218 |     }
/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: 'buildExpression' is unavailable: this expression does not conform to 'View'
 73 |
 74 |     var body: some View {
 75 |         Group {
    |         `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/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 11.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 {
    |         |- error: 'init(content:)' is only available in macOS 11.0 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: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 82 |                         item: item,
 83 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         item: item,
 83 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         item: item,
 83 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 88 |                         item: item,
 89 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 88 |                         item: item,
 89 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 88 |                         item: item,
 89 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 94 |                         item: item,
 95 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 94 |                         item: item,
 95 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 94 |                         item: item,
 95 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
102 |                 }
103 |             }
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: 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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 13.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: 'buildIf' is only available in macOS 13.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:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'CustomizableToolbarContent' is only available in macOS 13.0 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 'CustomizableToolbarContent' is only available in macOS 13.0 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:103:13: error: 'buildIf' is only available in macOS 13.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) {
    :
101 |                 default: EmptyView()
102 |                 }
103 |             }
    |             |- error: 'buildIf' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
104 |         }
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'CustomizableToolbarContent' is only available in macOS 13.0 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 'CustomizableToolbarContent' is only available in macOS 13.0 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:134:29: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
132 |             .clearModalBackground()
133 |
134 |             if isFullScreen {
    |                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
135 |                 fullScreenContainer(
136 |                     item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:142:20: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
140 |                     content: { _ in view }
141 |                 )
142 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
143 |                 view
144 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:120:43: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
120 |         if items.indices.contains(index)  {
    |                                           |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                           `- note: add 'if #available' version check
121 |
122 |             let view = CustomTransitionView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:120:43: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
120 |         if items.indices.contains(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
121 |
122 |             let view = CustomTransitionView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:145:9: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
143 |                 view
144 |             }
145 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
146 |     }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
119 |     ) -> 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
120 |         if items.indices.contains(index)  {
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:191:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
189 |     ) -> some View {
190 |         defaultView
191 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
192 |                 item: item,
193 |                 onDismiss: {onDismiss?(String(index))},
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | 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
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:196:14: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
194 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
195 |             )
196 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
197 |     }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:196:31: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
194 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
195 |             )
196 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
197 |     }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:208: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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
206 |     ) -> some View {
207 |         defaultView
208 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
209 |                 item: item,
210 |                 onDismiss: { onDismiss?(String(index)) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:213:14: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
211 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
212 |             )
213 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
214 |     }
215 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:213:31: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
211 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
212 |             )
213 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
214 |     }
215 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:103:35: error: 'View' is only available in macOS 10.15 or newer
 59 | /// }
 60 | /// ```
 61 | public protocol PageDataSource: SCHashable {
    |                 `- note: add @available attribute to enclosing protocol
 62 |
 63 |     // ---------------------------------------------------------
    :
101 |     /// This is used to ensure type safety when working with SwiftUI views in the context of tab pages.
102 |     /// It provides a consistent interface for view-related operations across the tab system.
103 |     typealias View = (any SwiftUI.View)
    |               |                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing type alias
104 |
105 |     // ---------------------------------------------------------
[36/36] Compiling SUICoordinator PageDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetItem.swift:78:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 40 | /// - Built-in dismissal lifecycle management
 41 | /// - Type-safe view/coordinator handling
 42 | public struct SheetItem<T>:SCEquatable, SheetItemType {
    |               `- note: add @available attribute to enclosing generic struct
 43 |
 44 |     // ---------------------------------------------------------
    :
 76 |     /// This publisher allows observers to react to sheet dismissal events,
 77 |     /// enabling cleanup operations or state updates before the sheet disappears.
 78 |     let willDismiss: PassthroughSubject<Void, Never> = .init()
    |                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 79 |
 80 |     /// A boolean value indicating whether the sheet item contains a coordinator.
/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 |         transitionStyle: TransitionPresentationStyle?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:57: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 |         transitionStyle: TransitionPresentationStyle?,
 56 |         animated: Bool,
 57 |         @ViewBuilder content: @escaping (Int, Item) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure?
/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:113:15: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
114 |         index: Int,
115 |         transition: AnyTransition,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:115:21: error: 'AnyTransition' 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
115 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
116 |         animation: Animation?,
117 |         isFullScreen: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:116:20: error: 'Animation' 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
115 |         transition: AnyTransition,
116 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
120 |         if items.indices.contains(index)  {
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:111: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
    :
109 |     // ---------------------------------------------------------
110 |
111 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:150:15: 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
    :
147 |
148 |     @ViewBuilder
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
151 |         index: Int,
152 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:153:15: 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
    :
147 |
148 |     @ViewBuilder
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
151 |         index: Int,
152 |         onDismiss: ActionClosure?
153 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
154 |         sheetContainer(
155 |             item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:148: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
    :
146 |     }
147 |
148 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
149 |     private func sheetView(
    |                  `- note: add @available attribute to enclosing instance method
150 |         item: Binding<Item?>,
151 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:165:15: 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
    :
162 |
163 |     @ViewBuilder
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
166 |         index: Int,
167 |         onDismiss: ActionClosure?
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:168:15: 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
    :
162 |
163 |     @ViewBuilder
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
166 |         index: Int,
167 |         onDismiss: ActionClosure?
168 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
169 |         fullScreenContainer(
170 |             item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:163: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
    :
161 |     }
162 |
163 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
164 |     private func fullScreenView(
    |                  `- note: add @available attribute to enclosing instance method
165 |         item: Binding<Item?>,
166 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188:56: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:184:15: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
185 |         animated: Bool,
186 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188: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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:188:56: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
186 |         index: Int,
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
189 |     ) -> some View {
190 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:189:15: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
187 |         onDismiss: ActionClosure? = nil,
188 |         @ViewBuilder content: @escaping (Item) -> some View
189 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
190 |         defaultView
191 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:182: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
    :
180 |     // ---------------------------------------------------------
181 |
182 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205:56: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:201:15: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
202 |         animated: Bool,
203 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205: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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:205:56: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
203 |         index: Int,
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
206 |     ) -> some View {
207 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:206:15: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
204 |         onDismiss: ActionClosure? = nil,
205 |         @ViewBuilder content: @escaping (Item) -> some View
206 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
207 |         defaultView
208 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:199: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
    :
197 |     }
198 |
199 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:216: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
217 |         Color.blue.frame(width: 0.3, height: 0.3)
218 |     }
/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: 'buildExpression' is unavailable: this expression does not conform to 'View'
 73 |
 74 |     var body: some View {
 75 |         Group {
    |         `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/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 11.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 {
    |         |- error: 'init(content:)' is only available in macOS 11.0 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: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 82 |                         item: item,
 83 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         item: item,
 83 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 82 |                         item: item,
 83 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 88 |                         item: item,
 89 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 88 |                         item: item,
 89 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:21: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 88 |                         item: item,
 89 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 94 |                         item: item,
 95 |                         index: index,
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 94 |                         item: item,
 95 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:93:21: error: 'buildEither(first:)' is only available in macOS 13.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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 13.0 or newer
    |                     `- note: add 'if #available' version check
 94 |                         item: item,
 95 |                         index: index,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          `- error: 'buildExpression' is unavailable: this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'
102 |                 }
103 |             }
SwiftUI.ToolbarContentBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ToolbarContentBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'ToolbarContent' or 'CustomizableToolbarContent'")
3 |   public static func buildExpression(_ invalid: Any) -> some CustomizableToolbarContent
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: 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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101:26: error: 'buildEither(second:)' is only available in macOS 13.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) {
    :
 99 |                         onDismiss: onDismiss
100 |                     )
101 |                 default: EmptyView()
    |                          |- error: 'buildEither(second:)' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
102 |                 }
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 13.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: 'buildIf' is only available in macOS 13.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:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'CustomizableToolbarContent' is only available in macOS 13.0 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 'CustomizableToolbarContent' is only available in macOS 13.0 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:103:13: error: 'buildIf' is only available in macOS 13.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) {
    :
101 |                 default: EmptyView()
102 |                 }
103 |             }
    |             |- error: 'buildIf' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
104 |         }
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'CustomizableToolbarContent' is only available in macOS 13.0 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 'CustomizableToolbarContent' is only available in macOS 13.0 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:134:29: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
132 |             .clearModalBackground()
133 |
134 |             if isFullScreen {
    |                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
135 |                 fullScreenContainer(
136 |                     item: item,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:142:20: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
140 |                     content: { _ in view }
141 |                 )
142 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
143 |                 view
144 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:120:43: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
120 |         if items.indices.contains(index)  {
    |                                           |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                           `- note: add 'if #available' version check
121 |
122 |             let view = CustomTransitionView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:120:43: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
118 |         onDismiss: ActionClosure?
119 |     ) -> some View {
120 |         if items.indices.contains(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
121 |
122 |             let view = CustomTransitionView(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:145:9: 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
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
143 |                 view
144 |             }
145 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
146 |     }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
110 |
111 |     @ViewBuilder
112 |     private func customTransitionView(
    |                  `- note: add @available attribute to enclosing instance method
113 |         item: Binding<Item?>,
114 |         index: Int,
    :
117 |         isFullScreen: Bool = false,
118 |         onDismiss: ActionClosure?
119 |     ) -> 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
120 |         if items.indices.contains(index)  {
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:191:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
189 |     ) -> some View {
190 |         defaultView
191 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
192 |                 item: item,
193 |                 onDismiss: {onDismiss?(String(index))},
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | 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
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:196:14: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
194 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
195 |             )
196 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
197 |     }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:196:31: 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
    :
181 |
182 |     @ViewBuilder
183 |     private func fullScreenContainer(
    |                  `- note: add @available attribute to enclosing instance method
184 |         item: Binding<Item?>,
185 |         animated: Bool,
    :
194 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
195 |             )
196 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
197 |     }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:208: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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
206 |     ) -> some View {
207 |         defaultView
208 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
209 |                 item: item,
210 |                 onDismiss: { onDismiss?(String(index)) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:213:14: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
211 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
212 |             )
213 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
214 |     }
215 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:213:31: 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
    :
198 |
199 |     @ViewBuilder
200 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
201 |         item: Binding<Item?>,
202 |         animated: Bool,
    :
211 |                 content: { content($0).onViewDidLoad { onDidLoad?(String(index)) } }
212 |             )
213 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
214 |     }
215 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:217: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
    :
214 |     }
215 |
216 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
217 |         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
218 |     }
219 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:103:35: error: 'View' is only available in macOS 10.15 or newer
 59 | /// }
 60 | /// ```
 61 | public protocol PageDataSource: SCHashable {
    |                 `- note: add @available attribute to enclosing protocol
 62 |
 63 |     // ---------------------------------------------------------
    :
101 |     /// This is used to ensure type safety when working with SwiftUI views in the context of tab pages.
102 |     /// It provides a consistent interface for view-related operations across the tab system.
103 |     typealias View = (any SwiftUI.View)
    |               |                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing type alias
104 |
105 |     // ---------------------------------------------------------
BUILD FAILURE 6.1 macosSpm