Build Information
Failed to build SUICoordinator with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
^
[13/26] 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:208: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:208: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 'ReferenceWritableKeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'KeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>') cannot be converted to contextual type 'KeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'KeyPath<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:230: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:230:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:231: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:231:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:233: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:233:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234: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:234:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:236: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:236:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:244: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:244:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:242:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214: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 {
^
[14/26] 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:208: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:208: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 'ReferenceWritableKeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'KeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>') cannot be converted to contextual type 'KeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'KeyPath<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:230: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:230:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:231: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:231:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:233: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:233:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234: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:234:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:236: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:236:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:244: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:244:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:242:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214: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 {
^
[15/26] 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:208: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:208: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 'ReferenceWritableKeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'KeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>') cannot be converted to contextual type 'KeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'KeyPath<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:230: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:230:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:231: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:231:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:233: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:233:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:234: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:234:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:236: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:236:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:29: note: add @available attribute to enclosing instance method
@MainActor private func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214:13: note: add @available attribute to enclosing extension
fileprivate extension Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:244: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:244:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:242:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:214: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 {
^
[16/26] Compiling SUICoordinator ViewDidLoadModifier.swift
/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
@State private var viewDidLoad = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: note: add 'if #available' version check
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: note: add 'if #available' version check
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:46:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:54: error: 'ContinuousClock' is only available in macOS 13.0 or newer
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'ReferenceWritableKeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>') cannot be converted to contextual type 'KeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'KeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: error: setter for 'items' is only available in macOS 10.15 or newer
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: note: add 'if #available' version check
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:59:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.append(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: note: add 'if #available' version check
items.append(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: error: 'seconds' is only available in macOS 13.0 or newer
await makeDelay(animated: animated, duration: .seconds(0))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: note: add 'if #available' version check
await makeDelay(animated: animated, duration: .seconds(0))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.append(sheet)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: note: add 'if #available' version check
items.append(sheet)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.remove(at: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: note: add 'if #available' version check
items.remove(at: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:105:21: note: add @available attribute to enclosing instance method
@MainActor func remove(at index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeAll(where: { $0 == nil || $0?.view == nil })
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: note: add 'if #available' version check
items.removeAll(where: { $0 == nil || $0?.view == nil })
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:127:10: note: add @available attribute to enclosing instance method
func removeAllNilItems() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items[index] = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: note: add 'if #available' version check
items[index] = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:135:18: note: add @available attribute to enclosing instance method
private func makeNilItem(at index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: error: setter for 'items' is only available in macOS 10.15 or newer
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: note: add 'if #available' version check
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:140:18: note: add @available attribute to enclosing instance method
private func resetValues() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: error: 'ContinuousClock' is only available in macOS 13.0 or newer
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: note: add 'if #available' version check
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: error: 'seconds' is only available in macOS 13.0 or newer
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: note: add 'if #available' version check
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: error: 'Task' is only available in macOS 10.15 or newer
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: note: add 'if #available' version check
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: note: add 'if #available' version check
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
[17/26] Compiling SUICoordinator ViewModifier.swift
/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
@State private var viewDidLoad = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: note: add 'if #available' version check
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: note: add 'if #available' version check
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:46:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:54: error: 'ContinuousClock' is only available in macOS 13.0 or newer
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'ReferenceWritableKeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>') cannot be converted to contextual type 'KeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'KeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: error: setter for 'items' is only available in macOS 10.15 or newer
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: note: add 'if #available' version check
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:59:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.append(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: note: add 'if #available' version check
items.append(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: error: 'seconds' is only available in macOS 13.0 or newer
await makeDelay(animated: animated, duration: .seconds(0))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: note: add 'if #available' version check
await makeDelay(animated: animated, duration: .seconds(0))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.append(sheet)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: note: add 'if #available' version check
items.append(sheet)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.remove(at: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: note: add 'if #available' version check
items.remove(at: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:105:21: note: add @available attribute to enclosing instance method
@MainActor func remove(at index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeAll(where: { $0 == nil || $0?.view == nil })
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: note: add 'if #available' version check
items.removeAll(where: { $0 == nil || $0?.view == nil })
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:127:10: note: add @available attribute to enclosing instance method
func removeAllNilItems() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items[index] = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: note: add 'if #available' version check
items[index] = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:135:18: note: add @available attribute to enclosing instance method
private func makeNilItem(at index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: error: setter for 'items' is only available in macOS 10.15 or newer
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: note: add 'if #available' version check
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:140:18: note: add @available attribute to enclosing instance method
private func resetValues() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: error: 'ContinuousClock' is only available in macOS 13.0 or newer
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: note: add 'if #available' version check
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: error: 'seconds' is only available in macOS 13.0 or newer
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: note: add 'if #available' version check
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: error: 'Task' is only available in macOS 10.15 or newer
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: note: add 'if #available' version check
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: note: add 'if #available' version check
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
[18/26] Compiling SUICoordinator SheetCoordinator.swift
/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
@State private var viewDidLoad = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:48: error: 'View' is only available in macOS 10.15 or newer
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: note: add 'if #available' version check
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:33:14: note: add 'if #available' version check
.onAppear {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: error: cannot pass as inout because setter for 'viewDidLoad' is only available in macOS 10.15 or newer
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:35:21: note: add 'if #available' version check
viewDidLoad.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:31:17: note: add @available attribute to enclosing instance method
public func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewModifier.swift:27:8: note: add @available attribute to enclosing struct
struct ViewDidLoadModifier: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:46:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:54: error: 'ContinuousClock' is only available in macOS 13.0 or newer
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'ReferenceWritableKeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>') cannot be converted to contextual type 'KeyPath<SheetCoordinator<T>, [SheetCoordinator<T>.Item?]>' (aka 'KeyPath<SheetCoordinator<T>, Array<Optional<SheetItem<T>>>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: error: setter for 'items' is only available in macOS 10.15 or newer
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:60:9: note: add 'if #available' version check
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:59:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.append(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:85:13: note: add 'if #available' version check
items.append(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: error: 'seconds' is only available in macOS 13.0 or newer
await makeDelay(animated: animated, duration: .seconds(0))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:86:60: note: add 'if #available' version check
await makeDelay(animated: animated, duration: .seconds(0))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.append(sheet)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:89:9: note: add 'if #available' version check
items.append(sheet)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:81:28: note: add @available attribute to enclosing instance method
@MainActor public func presentSheet(_ sheet: Item, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.remove(at: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:107:9: note: add 'if #available' version check
items.remove(at: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:105:21: note: add @available attribute to enclosing instance method
@MainActor func remove(at index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeAll(where: { $0 == nil || $0?.view == nil })
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:128:9: note: add 'if #available' version check
items.removeAll(where: { $0 == nil || $0?.view == nil })
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:127:10: note: add @available attribute to enclosing instance method
func removeAllNilItems() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items[index] = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:136:9: note: add 'if #available' version check
items[index] = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:135:18: note: add @available attribute to enclosing instance method
private func makeNilItem(at index: Int) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: error: setter for 'items' is only available in macOS 10.15 or newer
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:141:9: note: add 'if #available' version check
items = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:140:18: note: add @available attribute to enclosing instance method
private func resetValues() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: error: 'ContinuousClock' is only available in macOS 13.0 or newer
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:29: note: add 'if #available' version check
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: error: 'seconds' is only available in macOS 13.0 or newer
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:152:62: note: add 'if #available' version check
var finalDuration = ContinuousClock.Instant.Duration.seconds(animated ? 0.3 : 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: error: 'Task' is only available in macOS 10.15 or newer
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:20: note: add 'if #available' version check
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:158:25: note: add 'if #available' version check
try? await Task.sleep(for: finalDuration )
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:151:18: note: add @available attribute to enclosing instance method
private func makeDelay(animated: Bool, duration: ContinuousClock.Instant.Duration? = nil) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:32:20: note: add @available attribute to enclosing generic class
final public class SheetCoordinator<T>: ObservableObject {
^
[19/26] Compiling SUICoordinator SheetItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:53: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:51: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54: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:51: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:88:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:98:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: 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: SCIdentifiable>: 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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:24: error: 'indices' is only available in macOS 12.0 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:24: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:77:25: 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:77:25: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:78:30: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:78:30: note: add 'if #available' version check
default: sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: error: 'buildIf' is only available in macOS 10.15 or newer
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: note: add 'if #available' version check
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: note: add 'if #available' version check
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:80:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:80:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:45: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:45: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71:25: warning: conformance of 'ForEach<Data, ID, Content>' to '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:71:25: note: add 'if #available' version check
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:9: error: 'Color' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:9: note: add 'if #available' version check
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:15: error: 'clear' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:21: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:91: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:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:95: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:95:15: note: add 'if #available' version check
).onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:9: error: 'Color' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:9: note: add 'if #available' version check
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:15: error: 'clear' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:21: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101: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:105: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:105:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
[20/26] Compiling SUICoordinator SheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:53: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:51: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54: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:51: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:88:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:98:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: 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: SCIdentifiable>: 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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:9: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:24: error: 'indices' is only available in macOS 12.0 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:24: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:77:25: 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:77:25: note: add 'if #available' version check
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:78:30: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:78:30: note: add 'if #available' version check
default: sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: error: 'buildIf' is only available in macOS 10.15 or newer
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: note: add 'if #available' version check
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:73:36: note: add 'if #available' version check
if index == self.index {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:80:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:80:13: note: add 'if #available' version check
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:45: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:72:45: note: add 'if #available' version check
ForEach($items.indices, id: \.self) { (index) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71:25: warning: conformance of 'ForEach<Data, ID, Content>' to '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:71:25: note: add 'if #available' version check
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:71: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:9: error: 'Color' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:9: note: add 'if #available' version check
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:15: error: 'clear' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:90:21: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:91: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:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:95: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:95:15: note: add 'if #available' version check
).onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:9: error: 'Color' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:9: note: add 'if #available' version check
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:15: error: 'clear' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:100:21: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.clear.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:101: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:105: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:105:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99: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: SCIdentifiable>: View {
^
[21/26] Compiling SUICoordinator CoordinatorType+Navigation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:9: note: add @available attribute to enclosing property
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol CoordinatorType: SCHashable, AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
public var content: any View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
content: (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:50:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69: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/Router/DefaultRoute.swift:69:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
[22/26] Compiling SUICoordinator CoordinatorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:9: note: add @available attribute to enclosing property
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol CoordinatorType: SCHashable, AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
public var content: any View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
content: (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:50:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69: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/Router/DefaultRoute.swift:69:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
[23/26] Compiling SUICoordinator DefaultRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:9: note: add @available attribute to enclosing property
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol CoordinatorType: SCHashable, AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
public var content: any View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
content: (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:50:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69: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/Router/DefaultRoute.swift:69:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
[24/26] 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 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<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: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 {
^
[25/26] 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 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<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: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 {
^
[26/26] 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 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<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: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.9 macosSpm