Build Information
Failed to build SUICoordinator with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[16/28] Compiling SUICoordinator CoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'KeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[17/28] Compiling SUICoordinator CoordinatorType+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'KeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[18/28] 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 {
^
[19/28] 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 {
^
[20/28] 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 {
^
[21/28] 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: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 'KeyPath<SheetCoordinator<T>, [SheetItem<T>?]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [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 {
^
[22/28] 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: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 'KeyPath<SheetCoordinator<T>, [SheetItem<T>?]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [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 {
^
[23/28] 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: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 'KeyPath<SheetCoordinator<T>, [SheetItem<T>?]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<SheetCoordinator<T>, [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 {
^
[24/28] 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:90:15: 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: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:90:21: 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: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:91:14: note: add 'if #available' version check
.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:100:15: 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: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:100:21: 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: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 {
^
[25/28] 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:90:15: 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: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:90:21: 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: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:91:14: note: add 'if #available' version check
.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:100:15: 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: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:100:21: 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: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 {
^
[26/28] Compiling SUICoordinator RouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Router
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: note: add 'if #available' version check
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if viewModel.coordinator?.isTabbarCoordinable == true {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: note: add 'if #available' version check
if viewModel.coordinator?.isTabbarCoordinable == true {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: note: add 'if #available' version check
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: note: add 'if #available' version check
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: note: add 'if #available' version check
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
}.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: note: add 'if #available' version check
}.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: note: add 'if #available' version check
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:18: note: add @available attribute to enclosing instance method
private func onChangeFirstView(_ value: Router.Route?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:18: note: add @available attribute to enclosing instance method
private func onChangeFirstView(_ value: Router.Route?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
case detents(Set<PresentationDetent>)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:32:13: note: add @available attribute to enclosing enum
public enum TransitionPresentationStyle: SCEquatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
[27/28] Compiling SUICoordinator TransitionPresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Router
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: note: add 'if #available' version check
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if viewModel.coordinator?.isTabbarCoordinable == true {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: note: add 'if #available' version check
if viewModel.coordinator?.isTabbarCoordinable == true {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: note: add 'if #available' version check
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: note: add 'if #available' version check
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: note: add 'if #available' version check
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
}.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: note: add 'if #available' version check
}.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: note: add 'if #available' version check
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:18: note: add @available attribute to enclosing instance method
private func onChangeFirstView(_ value: Router.Route?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:18: note: add @available attribute to enclosing instance method
private func onChangeFirstView(_ value: Router.Route?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
case detents(Set<PresentationDetent>)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:32:13: note: add @available attribute to enclosing enum
public enum TransitionPresentationStyle: SCEquatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
[28/28] Compiling SUICoordinator Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Router
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: note: add 'if #available' version check
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if viewModel.coordinator?.isTabbarCoordinable == true {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:51:67: note: add 'if #available' version check
if viewModel.coordinator?.isTabbarCoordinable == true {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: note: add 'if #available' version check
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: note: add 'if #available' version check
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: note: add 'if #available' version check
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
}.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:11: note: add 'if #available' version check
}.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: note: add 'if #available' version check
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:18: note: add @available attribute to enclosing instance method
private func onChangeFirstView(_ value: Router.Route?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:82:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:18: note: add @available attribute to enclosing instance method
private func onChangeFirstView(_ value: Router.Route?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:41:22: error: 'PresentationDetent' is only available in macOS 13.0 or newer
case detents(Set<PresentationDetent>)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:32:13: note: add @available attribute to enclosing enum
public enum TransitionPresentationStyle: SCEquatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
error: fatalError
BUILD FAILURE 5.10 macosSpm