Build Information
Failed to build SUICoordinator, reference main (5cfa0b
), with Swift 5.10 for macOS (SPM) on 17 Aug 2024 22:57:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: note: add 'if #available' version check
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
[20/30] Compiling SUICoordinator SheetItemType.swift
/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
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
coordinator: SheetCoordinator<(any View)>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: note: add 'if #available' version check
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
[21/30] Compiling SUICoordinator ViewDidLoadModifier.swift
/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
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
coordinator: SheetCoordinator<(any View)>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: note: add 'if #available' version check
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
[22/30] Compiling SUICoordinator RouteType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:27: error: 'View' is only available in macOS 10.15 or newer
typealias Body = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:15: note: add @available attribute to enclosing type alias
typealias Body = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol RouteType: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:51:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder var view: Body { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol RouteType: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:42:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var items: [Route] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var sheetCoordinator: SheetCoordinator<Route.Body> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:55: error: 'View' is only available in macOS 10.15 or newer
@MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:21: note: add @available attribute to enclosing instance method
@MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
<unknown>:0: error: key path value type 'KeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'KeyPath<Router<Route>, SheetCoordinator<(any View)>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<(any View)>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: note: add 'if #available' version check
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:70:28: note: add @available attribute to enclosing instance method
@MainActor public func navigate(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: note: add 'if #available' version check
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:124:28: note: add @available attribute to enclosing instance method
@MainActor public func popToRoot(animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: error: 'remove(atOffsets:)' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:203:9: warning: no 'async' operations occur within 'await' expression
await sheetCoordinator.presentSheet(item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: error: 'Transaction' is only available in macOS 10.15 or newer
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: error: 'disablesAnimations' is only available in macOS 10.15 or newer
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: error: 'withCheckedContinuation(function:_:)' is only available in macOS 10.15 or newer
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: error: 'withTransaction' is only available in macOS 10.15 or newer
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: error: 'resume()' is only available in macOS 10.15 or newer
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:236:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public protocol RouterType: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:17: note: add @available attribute to enclosing protocol
public protocol RouterType: ObservableObject {
^
[23/30] Compiling SUICoordinator Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:27: error: 'View' is only available in macOS 10.15 or newer
typealias Body = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:15: note: add @available attribute to enclosing type alias
typealias Body = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol RouteType: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:51:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder var view: Body { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol RouteType: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:42:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var items: [Route] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var sheetCoordinator: SheetCoordinator<Route.Body> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:55: error: 'View' is only available in macOS 10.15 or newer
@MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:21: note: add @available attribute to enclosing instance method
@MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
<unknown>:0: error: key path value type 'KeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'KeyPath<Router<Route>, SheetCoordinator<(any View)>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<(any View)>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: note: add 'if #available' version check
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:70:28: note: add @available attribute to enclosing instance method
@MainActor public func navigate(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: note: add 'if #available' version check
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:124:28: note: add @available attribute to enclosing instance method
@MainActor public func popToRoot(animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: error: 'remove(atOffsets:)' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:203:9: warning: no 'async' operations occur within 'await' expression
await sheetCoordinator.presentSheet(item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: error: 'Transaction' is only available in macOS 10.15 or newer
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: error: 'disablesAnimations' is only available in macOS 10.15 or newer
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: error: 'withCheckedContinuation(function:_:)' is only available in macOS 10.15 or newer
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: error: 'withTransaction' is only available in macOS 10.15 or newer
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: error: 'resume()' is only available in macOS 10.15 or newer
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:236:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public protocol RouterType: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:17: note: add @available attribute to enclosing protocol
public protocol RouterType: ObservableObject {
^
[24/30] Compiling SUICoordinator RouterType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:27: error: 'View' is only available in macOS 10.15 or newer
typealias Body = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:15: note: add @available attribute to enclosing type alias
typealias Body = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol RouteType: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:51:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder var view: Body { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol RouteType: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:42:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var items: [Route] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var sheetCoordinator: SheetCoordinator<Route.Body> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:55: error: 'View' is only available in macOS 10.15 or newer
@MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:21: note: add @available attribute to enclosing instance method
@MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
<unknown>:0: error: key path value type 'KeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'KeyPath<Router<Route>, SheetCoordinator<(any View)>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<(any View)>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: note: add 'if #available' version check
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:70:28: note: add @available attribute to enclosing instance method
@MainActor public func navigate(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: note: add 'if #available' version check
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:124:28: note: add @available attribute to enclosing instance method
@MainActor public func popToRoot(animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: error: 'remove(atOffsets:)' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:203:9: warning: no 'async' operations occur within 'await' expression
await sheetCoordinator.presentSheet(item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: error: 'Transaction' is only available in macOS 10.15 or newer
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: error: 'disablesAnimations' is only available in macOS 10.15 or newer
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: error: 'withCheckedContinuation(function:_:)' is only available in macOS 10.15 or newer
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: error: 'withTransaction' is only available in macOS 10.15 or newer
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: error: 'resume()' is only available in macOS 10.15 or newer
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:219:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:236:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:208:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public protocol RouterType: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:17: note: add @available attribute to enclosing protocol
public protocol RouterType: ObservableObject {
^
[25/30] Compiling SUICoordinator SheetCoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:15: note: add @available attribute to enclosing type alias
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var coordinator: SheetCoordinator<Value>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
@State var index = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
if $coordinator.items.isEmpty || isLast {
~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: note: add 'if #available' version check
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: note: add 'if #available' version check
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: note: add 'if #available' version check
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: note: add 'if #available' version check
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: note: add 'if #available' version check
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: note: add 'if #available' version check
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: note: add 'if #available' version check
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: note: add 'if #available' version check
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: note: add 'if #available' version check
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:125:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
[26/30] Compiling SUICoordinator SheetItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:15: note: add @available attribute to enclosing type alias
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var coordinator: SheetCoordinator<Value>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
@State var index = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
if $coordinator.items.isEmpty || isLast {
~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: note: add 'if #available' version check
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: note: add 'if #available' version check
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: note: add 'if #available' version check
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: note: add 'if #available' version check
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: note: add 'if #available' version check
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: note: add 'if #available' version check
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: note: add 'if #available' version check
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: note: add 'if #available' version check
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: note: add 'if #available' version check
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:125:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
[27/30] Compiling SUICoordinator SheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:15: note: add @available attribute to enclosing type alias
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var coordinator: SheetCoordinator<Value>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
@State var index = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
if $coordinator.items.isEmpty || isLast {
~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: note: add 'if #available' version check
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: note: add 'if #available' version check
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: note: add 'if #available' version check
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: note: add 'if #available' version check
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: note: add 'if #available' version check
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: note: add 'if #available' version check
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: note: add 'if #available' version check
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/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
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: note: add 'if #available' version check
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: note: add 'if #available' version check
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: note: add 'if #available' version check
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:125:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
[28/30] Compiling SUICoordinator Coordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'KeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[29/30] Compiling SUICoordinator CoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'KeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[30/30] Compiling SUICoordinator CoordinatorType+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'KeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm