Build Information
Failed to build SUICoordinator, reference 0.4.2 (b55c3d
), with Swift 5.9 for macOS (SPM) on 1 Jan 2025 02:12:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
func getView(from content: () -> (Body?)) -> any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:54:1: note: add @available attribute to enclosing extension
extension RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:60:20: error: 'AnyView' is only available in macOS 10.15 or newer
view = AnyView(v).id(String(describing: v.self))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:60:20: note: add 'if #available' version check
view = AnyView(v).id(String(describing: v.self))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:56:10: note: add @available attribute to enclosing instance method
func getView(from content: () -> (Body?)) -> any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:54:1: note: add @available attribute to enclosing extension
extension RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:60:31: error: 'id' is only available in macOS 10.15 or newer
view = AnyView(v).id(String(describing: v.self))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:60:31: note: add 'if #available' version check
view = AnyView(v).id(String(describing: v.self))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:56:10: note: add @available attribute to enclosing instance method
func getView(from content: () -> (Body?)) -> any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:54:1: note: add @available attribute to enclosing extension
extension RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:47:27: error: 'Transaction' is only available in macOS 10.15 or newer
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:47:27: note: add 'if #available' version check
var transaction = Transaction()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:42:21: note: add @available attribute to enclosing instance method
@MainActor func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:48:21: error: 'disablesAnimations' is only available in macOS 10.15 or newer
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:48:21: note: add 'if #available' version check
transaction.disablesAnimations = !animated
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:42:21: note: add @available attribute to enclosing instance method
@MainActor func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:50:15: error: 'withCheckedContinuation(function:_:)' is only available in macOS 10.15 or newer
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:50:15: note: add 'if #available' version check
await withCheckedContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:42:21: note: add @available attribute to enclosing instance method
@MainActor func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:51:13: error: 'withTransaction' is only available in macOS 10.15 or newer
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:51:13: note: add 'if #available' version check
withTransaction(transaction) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:42:21: note: add @available attribute to enclosing instance method
@MainActor func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:53:30: error: 'resume()' is only available in macOS 10.15 or newer
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:53:30: note: add 'if #available' version check
continuation.resume()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:42:21: note: add @available attribute to enclosing instance method
@MainActor func runActionWithAnimation(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:40:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var mainView: Route?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:42:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var items: [Route] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var sheetCoordinator: SheetCoordinator<Route.Body> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Router<Route>, Route?>' cannot be converted to contextual type 'KeyPath<Router<Route>, Route?>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Router<Route>, [Route]>' cannot be converted to contextual type 'KeyPath<Router<Route>, [Route]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>') cannot be converted to contextual type 'KeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'KeyPath<Router<Route>, SheetCoordinator<any View>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: note: add 'if #available' version check
return { self?.items.append(route) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:70:28: note: add @available attribute to enclosing instance method
@MainActor public func navigate(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: note: add 'if #available' version check
return { self?.items.removeAll() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:124:28: note: add @available attribute to enclosing instance method
@MainActor public func popToRoot(animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:153:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:153:22: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:137:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:153:34: error: 'remove(atOffsets:)' is only available in macOS 10.15 or newer
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:153:34: note: add 'if #available' version check
return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:137:28: note: add @available attribute to enclosing instance method
@MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:175:24: error: 'Task' is only available in macOS 10.15 or newer
try? await Task.sleep(for: .seconds(animated ? 0.2 : 1))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:175:24: note: add 'if #available' version check
try? await Task.sleep(for: .seconds(animated ? 0.2 : 1))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:172:28: note: add @available attribute to enclosing instance method
@MainActor public func close(animated: Bool = true, finishFlow: Bool = false) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:175:29: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
try? await Task.sleep(for: .seconds(animated ? 0.2 : 1))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:175:29: note: add 'if #available' version check
try? await Task.sleep(for: .seconds(animated ? 0.2 : 1))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:172:28: note: add @available attribute to enclosing instance method
@MainActor public func close(animated: Bool = true, finishFlow: Bool = false) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:175:41: error: 'seconds' is only available in macOS 13.0 or newer
try? await Task.sleep(for: .seconds(animated ? 0.2 : 1))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:175:41: note: add 'if #available' version check
try? await Task.sleep(for: .seconds(animated ? 0.2 : 1))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:172:28: note: add @available attribute to enclosing instance method
@MainActor public func close(animated: Bool = true, finishFlow: Bool = false) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:188:9: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
sheetCoordinator = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:188:9: note: add 'if #available' version check
sheetCoordinator = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:186:28: note: add @available attribute to enclosing instance method
@MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:190:27: error: setter for 'mainView' is only available in macOS 10.15 or newer
if withMainView { mainView = nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:190:27: note: add 'if #available' version check
if withMainView { mainView = nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:186:28: note: add @available attribute to enclosing instance method
@MainActor public func clean(animated: Bool, withMainView: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:204:13: error: setter for 'sheetCoordinator' is only available in macOS 10.15 or newer
sheetCoordinator = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:204:13: note: add 'if #available' version check
sheetCoordinator = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:197:28: note: add @available attribute to enclosing instance method
@MainActor public func restart(animated: Bool) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:250:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:250:9: note: add 'if #available' version check
items.removeLast()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:248:18: note: add @available attribute to enclosing instance method
private func handlePopAction() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:33:14: note: add @available attribute to enclosing generic class
public class Router<Route: RouteType>: ObservableObject, RouterType {
^
[23/32] Compiling SUICoordinator RouterType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public protocol RouterType: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:17: note: add @available attribute to enclosing protocol
public protocol RouterType: ObservableObject {
^
/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:61:38: error: 'View' is only available in macOS 10.15 or newer
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:75:41: 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:75: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:75:41: 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:75: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:75:57: 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:75: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:74:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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 { buildBody() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack { buildBody() }
^
/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:10: 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: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:42: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if viewModel.isTabbarCoordinable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:42: note: add 'if #available' version check
if viewModel.isTabbarCoordinable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:65:24: 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:65:24: note: add 'if #available' version check
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:66:26: 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:66:26: note: add 'if #available' version check
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:67:21: 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:67:21: note: add 'if #available' version check
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:64:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:64:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:61:43: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:43: note: add 'if #available' version check
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:77:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:77:14: note: add 'if #available' version check
.sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:80:21: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:21: note: add 'if #available' version check
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:80:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:21: note: add 'if #available' version check
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:93:21: error: setter for 'mainView' is only available in macOS 10.15 or newer
return (mainView = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:93:21: note: add 'if #available' version check
return (mainView = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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:96: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:96:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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:96: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:96:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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, Sendable {
^
[24/32] Compiling SUICoordinator RouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public protocol RouterType: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:17: note: add @available attribute to enclosing protocol
public protocol RouterType: ObservableObject {
^
/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:61:38: error: 'View' is only available in macOS 10.15 or newer
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:75:41: 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:75: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:75:41: 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:75: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:75:57: 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:75: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:74:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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 { buildBody() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack { buildBody() }
^
/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:10: 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: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:42: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if viewModel.isTabbarCoordinable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:42: note: add 'if #available' version check
if viewModel.isTabbarCoordinable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:65:24: 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:65:24: note: add 'if #available' version check
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:66:26: 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:66:26: note: add 'if #available' version check
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:67:21: 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:67:21: note: add 'if #available' version check
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:64:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:64:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:61:43: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:43: note: add 'if #available' version check
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:77:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:77:14: note: add 'if #available' version check
.sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:80:21: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:21: note: add 'if #available' version check
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:80:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:21: note: add 'if #available' version check
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:93:21: error: setter for 'mainView' is only available in macOS 10.15 or newer
return (mainView = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:93:21: note: add 'if #available' version check
return (mainView = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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:96: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:96:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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:96: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:96:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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, Sendable {
^
[25/32] Compiling SUICoordinator TransitionPresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
public protocol RouterType: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:33:17: note: add @available attribute to enclosing protocol
public protocol RouterType: ObservableObject {
^
/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:61:38: error: 'View' is only available in macOS 10.15 or newer
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:60:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:75:41: 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:75: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:75:41: 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:75: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:75:57: 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:75: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:74:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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 { buildBody() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack { buildBody() }
^
/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:10: 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: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:42: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if viewModel.isTabbarCoordinable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:42: note: add 'if #available' version check
if viewModel.isTabbarCoordinable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:65:24: 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:65:24: note: add 'if #available' version check
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:66:26: 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:66:26: note: add 'if #available' version check
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:67:21: 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:67:21: note: add 'if #available' version check
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:64:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:64:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:61:43: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:43: note: add 'if #available' version check
private func buildBody() -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:61:18: note: add @available attribute to enclosing instance method
private func buildBody() -> 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:77:14: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
.sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:77:14: note: add 'if #available' version check
.sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:80:21: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:21: note: add 'if #available' version check
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:80:21: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:80:21: note: add 'if #available' version check
Task(priority: .high) { @MainActor [weak viewModel] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75: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:93:21: error: setter for 'mainView' is only available in macOS 10.15 or newer
return (mainView = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:93:21: note: add 'if #available' version check
return (mainView = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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:96: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:96:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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:96: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:96:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:91: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, Sendable {
^
[26/32] 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: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:70: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:75: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:131:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.getPresentationStyle() ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:131:16: note: add 'if #available' version check
return items[index]?.getPresentationStyle() ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:126:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
typealias View = (any SwiftUI.View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:15: note: add @available attribute to enclosing type alias
typealias View = (any SwiftUI.View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<DefaultRoute>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var pages: [Page] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var currentPage: Page
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:70:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:92: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/Tabbar/TabbarCoordinator.swift:92:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
self.currentPage = currentPage
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: note: add 'if #available' version check
self.currentPage = currentPage
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: error: setter for 'pages' is only available in macOS 10.15 or newer
self.pages = pages
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: note: add 'if #available' version check
self.pages = pages
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
[27/32] Compiling SUICoordinator PageDataSource.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: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:70: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:75: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:131:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.getPresentationStyle() ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:131:16: note: add 'if #available' version check
return items[index]?.getPresentationStyle() ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:126:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
typealias View = (any SwiftUI.View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:15: note: add @available attribute to enclosing type alias
typealias View = (any SwiftUI.View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<DefaultRoute>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var pages: [Page] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var currentPage: Page
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:70:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:92: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/Tabbar/TabbarCoordinator.swift:92:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
self.currentPage = currentPage
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: note: add 'if #available' version check
self.currentPage = currentPage
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: error: setter for 'pages' is only available in macOS 10.15 or newer
self.pages = pages
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: note: add 'if #available' version check
self.pages = pages
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
[28/32] Compiling SUICoordinator TabbarCoordinator.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: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:70: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:75: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item, index: index)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
EmptyView()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: note: add 'if #available' version check
.transaction { $0.disablesAnimations = !(animated) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>, index: Int) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:119:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:131:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.getPresentationStyle() ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:131:16: note: add 'if #available' version check
return items[index]?.getPresentationStyle() ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:126:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
typealias View = (any SwiftUI.View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:15: note: add @available attribute to enclosing type alias
typealias View = (any SwiftUI.View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:30:17: note: add @available attribute to enclosing protocol
public protocol PageDataSource: SCHashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<DefaultRoute>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var pages: [Page] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var currentPage: Page
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:70:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, Router<DefaultRoute>>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>' cannot be converted to contextual type 'KeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:92: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/Tabbar/TabbarCoordinator.swift:92:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
self.currentPage = currentPage
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:95:9: note: add 'if #available' version check
self.currentPage = currentPage
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: error: setter for 'pages' is only available in macOS 10.15 or newer
self.pages = pages
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:97:9: note: add 'if #available' version check
self.pages = pages
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:86:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:31:12: note: add @available attribute to enclosing generic class
open class TabbarCoordinator<Page: TabbarPage>: TabbarCoordinatable {
^
[29/32] Compiling SUICoordinator Coordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:38: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:31: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:31: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:31:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62: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:62:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:61:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:31: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 dataSource: DataSource
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: note: add 'if #available' version check
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:75:10: note: add @available attribute to enclosing instance method
func startFlow(route: Route, transitionStyle: TransitionPresentationStyle? = nil, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:27:8: note: add @available attribute to enclosing extension
public extension CoordinatorType {
^
[30/32] Compiling SUICoordinator CoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:38: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:31: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:31: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:31:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62: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:62:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:61:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:31: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 dataSource: DataSource
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: note: add 'if #available' version check
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:75:10: note: add @available attribute to enclosing instance method
func startFlow(route: Route, transitionStyle: TransitionPresentationStyle? = nil, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:27:8: note: add @available attribute to enclosing extension
public extension CoordinatorType {
^
[31/32] Compiling SUICoordinator CoordinatorType+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:38: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:31: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:31: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:31:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62: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:62:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:61:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:31: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 dataSource: DataSource
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: note: add 'if #available' version check
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:75:10: note: add @available attribute to enclosing instance method
func startFlow(route: Route, transitionStyle: TransitionPresentationStyle? = nil, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:27:8: note: add @available attribute to enclosing extension
public extension CoordinatorType {
^
[32/32] Compiling SUICoordinator CoordinatorType+Navigation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:38: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:31: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:31: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:31:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62: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:62:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:61:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:31: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 dataSource: DataSource
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:51:17: note: add 'if #available' version check
Task(priority: .high) { await dataSource.start(animated: true) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:48: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<DataSource: CoordinatorType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'Task' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:174:17: note: add 'if #available' version check
Task(priority: .utility) { [weak coordinator] in
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:169:10: note: add @available attribute to enclosing instance method
func swipedAway(coordinator: TCoordinatorType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Helpers.swift:27:1: note: add @available attribute to enclosing extension
extension CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: error: setter for 'mainView' is only available in macOS 10.15 or newer
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:76:9: note: add 'if #available' version check
router.mainView = route
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:75:10: note: add @available attribute to enclosing instance method
func startFlow(route: Route, transitionStyle: TransitionPresentationStyle? = nil, animated: Bool = true) async -> Void {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType+Navigation.swift:27:8: note: add @available attribute to enclosing extension
public extension CoordinatorType {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm