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 main (430795), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 13:48:48 UTC.

Build Command

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

Build Log

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:206: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
204 |         index: Int,
205 |         onDismiss: ActionClosure? = nil,
206 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
207 |     ) -> some View {
208 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:202: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
203 |         animated: Bool,
204 |         index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:206: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
204 |         index: Int,
205 |         onDismiss: ActionClosure? = nil,
206 |         @ViewBuilder content: @escaping (Item) -> some View
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
207 |     ) -> some View {
208 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:206: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
204 |         index: Int,
205 |         onDismiss: ActionClosure? = nil,
206 |         @ViewBuilder content: @escaping (Item) -> some View
    |                                                        `- error: 'View' is only available in macOS 10.15 or newer
207 |     ) -> some View {
208 |         defaultView
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:207: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
    :
205 |         onDismiss: ActionClosure? = nil,
206 |         @ViewBuilder content: @escaping (Item) -> some View
207 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
208 |         defaultView
209 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:200: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
    :
198 |     }
199 |
200 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:218: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
    :
216 |     }
217 |
218 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
219 |         Color.blue.frame(width: 0.3, height: 0.3)
220 |     }
/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: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                   |- error: 'indices' is only available in macOS 12.0 or newer
    |                                   `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 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 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 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: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 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 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     )
 86 |                 case .sheet, .detents:
 87 |                     sheetView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 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: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 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 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) {
    :
 91 |                     )
 92 |                 case .custom(let transition, let animation, let fullScreen):
 93 |                     customTransitionView(
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 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: '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 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: 'buildEither(second:)' 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 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: 'buildEither(second:)' 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:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:103:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
101 |                 default: EmptyView()
102 |                 }
103 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 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 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |               `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:25: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         |               |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         |               `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: 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: 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: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: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: 'onAppear(perform:)' 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) }
195 |             )
196 |             .onAppear(perform: { onDidLoad?(String(index)) })
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
197 |             .transaction { $0.disablesAnimations = !(animated) }
198 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:197: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,
    :
195 |             )
196 |             .onAppear(perform: { onDidLoad?(String(index)) })
197 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
198 |     }
199 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:197: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,
    :
195 |             )
196 |             .onAppear(perform: { onDidLoad?(String(index)) })
197 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
198 |     }
199 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:209: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
    :
207 |     ) -> some View {
208 |         defaultView
209 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
210 |                 item: item,
211 |                 onDismiss: { onDismiss?(String(index)) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:214:14: error: 'onAppear(perform:)' 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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
    :
212 |                 content: { content($0) }
213 |             )
214 |             .onAppear(perform: { onDidLoad?(String(index)) })
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
215 |             .transaction { $0.disablesAnimations = !(animated) }
216 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:215: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
    :
213 |             )
214 |             .onAppear(perform: { onDidLoad?(String(index)) })
215 |             .transaction { $0.disablesAnimations = !(animated) }
    |              |- error: 'transaction' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
216 |     }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:215: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
    :
199 |
200 |     @ViewBuilder
201 |     private func sheetContainer(
    |                  `- note: add @available attribute to enclosing instance method
202 |         item: Binding<Item?>,
203 |         animated: Bool,
    :
213 |             )
214 |             .onAppear(perform: { onDidLoad?(String(index)) })
215 |             .transaction { $0.disablesAnimations = !(animated) }
    |                               |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
216 |     }
217 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:219: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
    :
216 |     }
217 |
218 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
219 |         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
220 |     }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:219: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
    :
216 |     }
217 |
218 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
219 |         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
220 |     }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:219: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
    :
216 |     }
217 |
218 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
219 |         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
220 |     }
221 |
/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 |     // ---------------------------------------------------------
[31/37] Compiling SUICoordinator TransitionPresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:29: error: 'AnyTransition' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                             `- error: 'AnyTransition' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:55: error: 'Animation' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                                                       `- error: 'Animation' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Aliasess.swift:12:38: error: 'View' is only available in macOS 10.15 or newer
10 | public typealias ActionClosure = (String) -> Void
11 | public typealias AnyCoordinatorType = (any CoordinatorType)
12 | public typealias AnyViewAlias = (any View)
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing type alias
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |     var id: String { get }
53 | }
[32/37] Compiling SUICoordinator ItemManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:29: error: 'AnyTransition' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                             `- error: 'AnyTransition' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:55: error: 'Animation' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                                                       `- error: 'Animation' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Aliasess.swift:12:38: error: 'View' is only available in macOS 10.15 or newer
10 | public typealias ActionClosure = (String) -> Void
11 | public typealias AnyCoordinatorType = (any CoordinatorType)
12 | public typealias AnyViewAlias = (any View)
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing type alias
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |     var id: String { get }
53 | }
[33/37] Compiling SUICoordinator Aliasess.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:29: error: 'AnyTransition' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                             `- error: 'AnyTransition' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:55: error: 'Animation' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                                                       `- error: 'Animation' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Aliasess.swift:12:38: error: 'View' is only available in macOS 10.15 or newer
10 | public typealias ActionClosure = (String) -> Void
11 | public typealias AnyCoordinatorType = (any CoordinatorType)
12 | public typealias AnyViewAlias = (any View)
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing type alias
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |     var id: String { get }
53 | }
[34/37] Compiling SUICoordinator Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
39 |     case fullScreenCover
40 |     /// A style allowing for presenting views with specific detents.
41 |     case detents(Set<PresentationDetent>)
   |                      `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:29: error: 'AnyTransition' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                             `- error: 'AnyTransition' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:43:55: error: 'Animation' is only available in macOS 10.15 or newer
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: @unchecked Sendable, SCEquatable {
   |             `- note: add @available attribute to enclosing enum
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
   :
41 |     case detents(Set<PresentationDetent>)
42 |     /// A custom presentation style.
43 |     case custom(transition: AnyTransition, animation: Animation?, fullScreen: Bool = false)
   |                                                       `- error: 'Animation' is only available in macOS 10.15 or newer
44 |
45 |     internal var isCustom: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Aliasess.swift:12:38: error: 'View' is only available in macOS 10.15 or newer
10 | public typealias ActionClosure = (String) -> Void
11 | public typealias AnyCoordinatorType = (any CoordinatorType)
12 | public typealias AnyViewAlias = (any View)
   |                  |                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing type alias
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
49 | /// - Important: The identifier is based on the type name using `String(describing: self.self)`.
50 | /// - SeeAlso: `Identifiable`
51 | public protocol SCIdentifiable: Identifiable {
   |                 |               `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
52 |     var id: String { get }
53 | }
[35/37] Compiling SUICoordinator SheetItemType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/SheetItemType.swift:77:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
59 | /// }
60 | /// ```
61 | protocol SheetItemType: SCEquatable {
   |          `- note: add @available attribute to enclosing protocol
62 |
63 |     /// A string that uniquely identifies the sheet item.
   :
75 |     ///
76 |     /// - Note: The subject emits once when dismissal begins, not when it completes.
77 |     var willDismiss: PassthroughSubject<Void, Never> { get }
   |         |            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
78 |
79 |     /// Returns whether the sheet presentation should be animated.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:47: error: cannot find type 'UIView' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                               `- error: cannot find type 'UIView' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:42: error: 'some' types are only permitted in properties, subscripts, and functions
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                          `- error: 'some' types are only permitted in properties, subscripts, and functions
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:30: error: cannot find type 'Context' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                              `- error: cannot find type 'Context' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:33: error: cannot find type 'UIViewType' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                 `- error: cannot find type 'UIViewType' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:54: error: cannot find type 'Context' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                                      `- error: cannot find type 'Context' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:27:29: error: cannot find type 'UIViewRepresentable' in scope
25 | import SwiftUI
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:42:41: error: 'View' is only available in macOS 10.15 or newer
36 | }
37 |
38 | struct ClearBackgroundViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
39 |
40 |     let condition: Bool
41 |
42 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
43 |         if condition {
44 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:29:20: error: cannot find 'UIView' in scope
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:31:59: error: cannot infer contextual base in reference to member 'clear'
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
   |                                                           `- error: cannot infer contextual base in reference to member 'clear'
32 |         }
33 |         return view
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:49:22: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
47 |             } else {
48 |                 content
49 |                     .background(ClearBackgroundView())
   |                      `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
50 |             }
51 |         } else {
SwiftUI.View.background:2:36: note: where 'S' = 'ClearBackgroundView'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'ClearBackgroundView'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:33:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 31 |     // ---------------------------------------------------------
 32 |
 33 |     @Binding var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |     @State private var showContent: Bool = false
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 32 |
 33 |     @Binding var item: Item?
 34 |     @State private var showContent: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |
 36 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:43:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 41 |     var onDismiss: ActionClosure? = nil
 42 |     var content: (Item) -> Content
 43 |     var transition: AnyTransition
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 44 |     var animation: Animation?
 45 |     let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:44:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 42 |     var content: (Item) -> Content
 43 |     var transition: AnyTransition
 44 |     var animation: Animation?
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     let animated: Bool
 46 |     let isFullScreen: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:53:15: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:54:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 55 |         animation: Animation?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 56 |         animated: Bool,
 57 |         isFullScreen: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:60:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    :
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure? = nil,
 60 |         @ViewBuilder content: @escaping (Item) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 61 |     ) {
 62 |         self._item = item
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         |                 `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:97:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 95 |     // ---------------------------------------------------------
 96 |
 97 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 98 |     var contentItem: some View {
 99 |         if let item = item {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:27:59: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:9: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:78:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    |                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 79 |                 contentItem
 80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:82:21: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 80 |             } else {
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 83 |                         .transition(transition)
 84 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:26: error: 'transition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
    |                          |- error: 'transition' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 84 |                 }
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:81:32: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
 81 |                 if showContent {
    |                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:84:17: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
 84 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 85 |             }
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
    |                    |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:87:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 85 |             }
 86 |         }
 87 |         .animation(animation, value: showContent)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:88:26: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 86 |         }
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 89 |             await start(with: item)
 90 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:88:26: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 86 |         }
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 89 |             await start(with: item)
 90 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:89:19: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
    |                   `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |         }}
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:89:19: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
    |                   `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |         }}
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:25: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |                         `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:25: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |                         `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:102:18: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
    |                  |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
103 |                     Task { await finish() }
104 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:21: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                     |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:99:28: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
    |                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:105:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
    :
103 |                     Task { await finish() }
104 |                 }
105 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
106 |     }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         |                      `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:34: warning: capture of non-sendable type 'Item.Type' in an isolated closure
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                                  `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:34: warning: capture of non-sendable type 'Content.Type' in an isolated closure
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                                  `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: capture of non-sendable type 'Item.Type' in an isolated closure
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |                                `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |                                `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:117:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
110 |     // ---------------------------------------------------------
111 |
112 |     private func start(with item: Item?) async {
    |                  `- note: add @available attribute to enclosing instance method
113 |         guard item != nil, animated else {
114 |             return await finish()
115 |         }
116 |
117 |         showContent = true
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
118 |     }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:122:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:34: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                  |- error: 'Task' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:39: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                       `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:51: error: 'seconds' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                                   |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                   `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:126:44: error: setter for 'item' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
    :
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
125 |
126 |         guard !isFullScreen else { return (item = nil) }
    |                                            |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
127 |
128 |         onDismiss?("")
[36/37] Compiling SUICoordinator ClearBackgroundViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/SheetItemType.swift:77:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
59 | /// }
60 | /// ```
61 | protocol SheetItemType: SCEquatable {
   |          `- note: add @available attribute to enclosing protocol
62 |
63 |     /// A string that uniquely identifies the sheet item.
   :
75 |     ///
76 |     /// - Note: The subject emits once when dismissal begins, not when it completes.
77 |     var willDismiss: PassthroughSubject<Void, Never> { get }
   |         |            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
78 |
79 |     /// Returns whether the sheet presentation should be animated.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:47: error: cannot find type 'UIView' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                               `- error: cannot find type 'UIView' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:42: error: 'some' types are only permitted in properties, subscripts, and functions
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                          `- error: 'some' types are only permitted in properties, subscripts, and functions
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:30: error: cannot find type 'Context' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                              `- error: cannot find type 'Context' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:33: error: cannot find type 'UIViewType' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                 `- error: cannot find type 'UIViewType' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:54: error: cannot find type 'Context' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                                      `- error: cannot find type 'Context' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:27:29: error: cannot find type 'UIViewRepresentable' in scope
25 | import SwiftUI
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:42:41: error: 'View' is only available in macOS 10.15 or newer
36 | }
37 |
38 | struct ClearBackgroundViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
39 |
40 |     let condition: Bool
41 |
42 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
43 |         if condition {
44 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:29:20: error: cannot find 'UIView' in scope
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:31:59: error: cannot infer contextual base in reference to member 'clear'
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
   |                                                           `- error: cannot infer contextual base in reference to member 'clear'
32 |         }
33 |         return view
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:49:22: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
47 |             } else {
48 |                 content
49 |                     .background(ClearBackgroundView())
   |                      `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
50 |             }
51 |         } else {
SwiftUI.View.background:2:36: note: where 'S' = 'ClearBackgroundView'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'ClearBackgroundView'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:33:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 31 |     // ---------------------------------------------------------
 32 |
 33 |     @Binding var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |     @State private var showContent: Bool = false
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 32 |
 33 |     @Binding var item: Item?
 34 |     @State private var showContent: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |
 36 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:43:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 41 |     var onDismiss: ActionClosure? = nil
 42 |     var content: (Item) -> Content
 43 |     var transition: AnyTransition
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 44 |     var animation: Animation?
 45 |     let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:44:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 42 |     var content: (Item) -> Content
 43 |     var transition: AnyTransition
 44 |     var animation: Animation?
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     let animated: Bool
 46 |     let isFullScreen: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:53:15: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:54:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 55 |         animation: Animation?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 56 |         animated: Bool,
 57 |         isFullScreen: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:60:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    :
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure? = nil,
 60 |         @ViewBuilder content: @escaping (Item) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 61 |     ) {
 62 |         self._item = item
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         |                 `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:97:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 95 |     // ---------------------------------------------------------
 96 |
 97 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 98 |     var contentItem: some View {
 99 |         if let item = item {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:27:59: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:9: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:78:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    |                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 79 |                 contentItem
 80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:82:21: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 80 |             } else {
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 83 |                         .transition(transition)
 84 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:26: error: 'transition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
    |                          |- error: 'transition' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 84 |                 }
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:81:32: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
 81 |                 if showContent {
    |                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:84:17: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
 84 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 85 |             }
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
    |                    |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:87:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 85 |             }
 86 |         }
 87 |         .animation(animation, value: showContent)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:88:26: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 86 |         }
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 89 |             await start(with: item)
 90 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:88:26: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 86 |         }
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 89 |             await start(with: item)
 90 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:89:19: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
    |                   `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |         }}
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:89:19: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
    |                   `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |         }}
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:25: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |                         `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:25: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |                         `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:102:18: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
    |                  |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
103 |                     Task { await finish() }
104 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:21: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                     |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:99:28: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
    |                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:105:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
    :
103 |                     Task { await finish() }
104 |                 }
105 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
106 |     }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         |                      `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:34: warning: capture of non-sendable type 'Item.Type' in an isolated closure
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                                  `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:34: warning: capture of non-sendable type 'Content.Type' in an isolated closure
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                                  `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: capture of non-sendable type 'Item.Type' in an isolated closure
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |                                `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |                                `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:117:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
110 |     // ---------------------------------------------------------
111 |
112 |     private func start(with item: Item?) async {
    |                  `- note: add @available attribute to enclosing instance method
113 |         guard item != nil, animated else {
114 |             return await finish()
115 |         }
116 |
117 |         showContent = true
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
118 |     }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:122:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:34: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                  |- error: 'Task' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:39: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                       `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:51: error: 'seconds' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                                   |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                   `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:126:44: error: setter for 'item' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
    :
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
125 |
126 |         guard !isFullScreen else { return (item = nil) }
    |                                            |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
127 |
128 |         onDismiss?("")
[37/37] Compiling SUICoordinator CustomTransitionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/SheetItemType.swift:77:22: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
59 | /// }
60 | /// ```
61 | protocol SheetItemType: SCEquatable {
   |          `- note: add @available attribute to enclosing protocol
62 |
63 |     /// A string that uniquely identifies the sheet item.
   :
75 |     ///
76 |     /// - Note: The subject emits once when dismissal begins, not when it completes.
77 |     var willDismiss: PassthroughSubject<Void, Never> { get }
   |         |            `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
78 |
79 |     /// Returns whether the sheet presentation should be animated.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:47: error: cannot find type 'UIView' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                               `- error: cannot find type 'UIView' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:42: error: 'some' types are only permitted in properties, subscripts, and functions
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                                          `- error: 'some' types are only permitted in properties, subscripts, and functions
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:28:30: error: cannot find type 'Context' in scope
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
   |                              `- error: cannot find type 'Context' in scope
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:33: error: cannot find type 'UIViewType' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                 `- error: cannot find type 'UIViewType' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:35:54: error: cannot find type 'Context' in scope
33 |         return view
34 |     }
35 |     func updateUIView(_ uiView: UIViewType, context: Context) { }
   |                                                      `- error: cannot find type 'Context' in scope
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:27:29: error: cannot find type 'UIViewRepresentable' in scope
25 | import SwiftUI
26 |
27 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:42:41: error: 'View' is only available in macOS 10.15 or newer
36 | }
37 |
38 | struct ClearBackgroundViewModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
39 |
40 |     let condition: Bool
41 |
42 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
43 |         if condition {
44 |             if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:29:20: error: cannot find 'UIView' in scope
27 | struct ClearBackgroundView: UIViewRepresentable {
28 |     func makeUIView(context: Context) -> some UIView {
29 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:31:59: error: cannot infer contextual base in reference to member 'clear'
29 |         let view = UIView()
30 |         DispatchQueue.main.async {
31 |             view.superview?.superview?.backgroundColor = .clear
   |                                                           `- error: cannot infer contextual base in reference to member 'clear'
32 |         }
33 |         return view
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ClearBackgroundViewModifier.swift:49:22: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
47 |             } else {
48 |                 content
49 |                     .background(ClearBackgroundView())
   |                      `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
50 |             }
51 |         } else {
SwiftUI.View.background:2:36: note: where 'S' = 'ClearBackgroundView'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'ClearBackgroundView'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:33:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 31 |     // ---------------------------------------------------------
 32 |
 33 |     @Binding var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |     @State private var showContent: Bool = false
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 32 |
 33 |     @Binding var item: Item?
 34 |     @State private var showContent: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |
 36 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:43:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 41 |     var onDismiss: ActionClosure? = nil
 42 |     var content: (Item) -> Content
 43 |     var transition: AnyTransition
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 44 |     var animation: Animation?
 45 |     let animated: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:44:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 42 |     var content: (Item) -> Content
 43 |     var transition: AnyTransition
 44 |     var animation: Animation?
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     let animated: Bool
 46 |     let isFullScreen: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:53:15: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:54:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    |                     `- error: 'AnyTransition' is only available in macOS 10.15 or newer
 55 |         animation: Animation?,
 56 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:55:20: error: 'Animation' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
 55 |         animation: Animation?,
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 56 |         animated: Bool,
 57 |         isFullScreen: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:60:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         item: Binding<Item?>,
 54 |         transition: AnyTransition,
    :
 58 |         onDismiss: ActionClosure? = nil,
 59 |         onDidLoad: ActionClosure? = nil,
 60 |         @ViewBuilder content: @escaping (Item) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 61 |     ) {
 62 |         self._item = item
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         |                 `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:97:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 95 |     // ---------------------------------------------------------
 96 |
 97 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 98 |     var contentItem: some View {
 99 |         if let item = item {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:27:59: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:9: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:78:26: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    |                          |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 79 |                 contentItem
 80 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:82:21: error: 'ZStack' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 80 |             } else {
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 83 |                         .transition(transition)
 84 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:83:26: error: 'transition' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
    |                          |- error: 'transition' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 84 |                 }
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:81:32: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
 81 |                 if showContent {
    |                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:84:17: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 82 |                     ZStack { contentItem }
 83 |                         .transition(transition)
 84 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 85 |             }
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
    |                    |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:80:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
 79 |                 contentItem
 80 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 if showContent {
 82 |                     ZStack { contentItem }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:77:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
    |                |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 78 |             if !animated {
 79 |                 contentItem
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:87:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 85 |             }
 86 |         }
 87 |         .animation(animation, value: showContent)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:88:26: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 86 |         }
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 89 |             await start(with: item)
 90 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:88:26: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 77 |         ZStack {
 78 |             if !animated {
    :
 86 |         }
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
    |                          |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 89 |             await start(with: item)
 90 |         }}
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:89:19: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
    |                   `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |         }}
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:89:19: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |         .animation(animation, value: showContent)
 88 |         .onViewDidLoad { Task { @MainActor in
 89 |             await start(with: item)
    |                   `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |         }}
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:25: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |                         `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:76:25: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |     // ---------------------------------------------------------
 75 |
 76 |     var body: some View {
    |                         `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |         ZStack {
 78 |             if !animated {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:102:18: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
    |                  |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
103 |                     Task { await finish() }
104 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:21: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                     |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:99:28: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
    |                            |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
100 |             content(item)
101 |                 .onViewDidLoad { onDidLoad?("") }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:105:9: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
    :
103 |                     Task { await finish() }
104 |                 }
105 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
106 |     }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |         |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         |                      `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:34: warning: capture of non-sendable type 'Item.Type' in an isolated closure
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                                  `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:103:34: warning: capture of non-sendable type 'Content.Type' in an isolated closure
101 |                 .onViewDidLoad { onDidLoad?("") }
102 |                 .onReceive(item.willDismiss) { _ in
103 |                     Task { await finish() }
    |                                  `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
104 |                 }
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: capture of non-sendable type 'Item.Type' in an isolated closure
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |                                `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:98:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure
 96 |
 97 |     @ViewBuilder
 98 |     var contentItem: some View {
    |                                `- warning: capture of non-sendable type 'Content.Type' in an isolated closure
 99 |         if let item = item {
100 |             content(item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:117:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
110 |     // ---------------------------------------------------------
111 |
112 |     private func start(with item: Item?) async {
    |                  `- note: add @available attribute to enclosing instance method
113 |         guard item != nil, animated else {
114 |             return await finish()
115 |         }
116 |
117 |         showContent = true
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
118 |     }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:122:9: error: setter for 'showContent' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
    |         |- error: setter for 'showContent' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:34: error: 'Task' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                  |- error: 'Task' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:39: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                       `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:124:51: error: 'seconds' is only available in macOS 13.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
123 |
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
    |                                                   |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                                   `- note: add 'if #available' version check
125 |
126 |         guard !isFullScreen else { return (item = nil) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/CustomTransitionView.swift:126:44: error: setter for 'item' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct CustomTransitionView<Item: SheetItemType, Content: View>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     // ---------------------------------------------------------
    :
118 |     }
119 |
120 |     private func finish() async {
    |                  `- note: add @available attribute to enclosing instance method
121 |         let duration = 0.3
122 |         showContent = false
    :
124 |         if animated { try? await Task.sleep(for: .seconds(duration)) }
125 |
126 |         guard !isFullScreen else { return (item = nil) }
    |                                            |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
127 |
128 |         onDismiss?("")
BUILD FAILURE 6.2 macosSpm