Build Information
Failed to build SUICoordinator, reference main (5cfa0b
), with Swift 5.9 for macOS (SPM) on 17 Aug 2024 22:58:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift: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:10: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:10: note: add 'if #available' version check
.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:61: warning: converting non-sendable function value to '@Sendable () async -> Void' may introduce data races
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: error: 'Task' is only available in macOS 10.15 or newer
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: note: add 'if #available' version check
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: note: add 'if #available' version check
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: error: 'Task' is only available in macOS 10.15 or newer
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: note: add 'if #available' version check
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: note: add 'if #available' version check
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:85: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:85:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83: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:85: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:85:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83: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 {
^
[16/28] Compiling SUICoordinator Collection+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Router
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:34: error: 'AnyView' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var mainView: AnyView?
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:40: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:55: error: 'View' is only available in macOS 10.15 or newer
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:69:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:52:17: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
addSheetTo(view: mainView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift: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:46: 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:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:54:28: error: 'NavigationStack' is only available in macOS 13.0 or newer
let view = NavigationStack(path: $viewModel.items) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:55:30: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
mainView.navigationDestination(for: Router.Route.self) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:56:25: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView($0.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:53:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:50:16: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift: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:10: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:62:10: note: add 'if #available' version check
.onViewDidLoad { onChangeFirstView(viewModel.mainView) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:49:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:61: warning: converting non-sendable function value to '@Sendable () async -> Void' may introduce data races
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:72:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: viewModel.mainView, perform: onChangeFirstView)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: error: 'Task' is only available in macOS 10.15 or newer
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: note: add 'if #available' version check
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:75:39: note: add 'if #available' version check
onDissmis: { index in Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: error: 'Task' is only available in macOS 10.15 or newer
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: note: add 'if #available' version check
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:79:35: note: add 'if #available' version check
onDidLoad: { _ in Task(operation: viewModel.removeNilItemsFromSheetCoordinator) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:70:18: note: add @available attribute to enclosing instance method
private func addSheetTo(view: some View ) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:28:8: note: add @available attribute to enclosing generic struct
struct RouterView<Router: RouterType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:85: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:85:9: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83: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:85: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:85:20: note: add 'if #available' version check
mainView = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterView.swift:83: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 {
^
[17/28] Compiling SUICoordinator Coordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[18/28] Compiling SUICoordinator CoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[19/28] Compiling SUICoordinator CoordinatorType+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:39:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var router: Router<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:73:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Coordinator<Route>, Router<Route>>' cannot be converted to contextual type 'KeyPath<Coordinator<Route>, Router<Route>>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:63:9: note: add 'if #available' version check
self.router = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:62:12: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/Coordinator.swift:32:12: note: add @available attribute to enclosing generic class
open class Coordinator<Route: RouteType>: ObservableObject, CoordinatorType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var viewModel: Coordinator<Route>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
@State private var isLoaded = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: error: setter for 'isLoaded' is only available in macOS 10.15 or newer
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:65:17: note: add 'if #available' version check
isLoaded = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'Task' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:66:17: note: add 'if #available' version check
Task { await viewModel?.start() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'Task' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:76:9: note: add 'if #available' version check
Task { await onClean?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:74:10: note: add @available attribute to enclosing instance method
func clean() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Coordinator/CoordinatorView.swift:28:15: note: add @available attribute to enclosing generic struct
public struct CoordinatorView<Route: RouteType>: CoordinatorViewType, View {
^
[20/28] Compiling SUICoordinator SheetCoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:15: note: add @available attribute to enclosing type alias
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var coordinator: SheetCoordinator<Value>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
@State var index = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
if $coordinator.items.isEmpty || isLast {
~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: note: add 'if #available' version check
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: note: add 'if #available' version check
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift: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?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: note: add 'if #available' version check
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: note: add 'if #available' version check
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:125:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
[21/28] Compiling SUICoordinator SheetItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:15: note: add @available attribute to enclosing type alias
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var coordinator: SheetCoordinator<Value>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
@State var index = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
if $coordinator.items.isEmpty || isLast {
~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: note: add 'if #available' version check
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: note: add 'if #available' version check
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift: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?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: note: add 'if #available' version check
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: note: add 'if #available' version check
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:125:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
[22/28] Compiling SUICoordinator SheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:15: note: add @available attribute to enclosing type alias
typealias Value = (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject var coordinator: SheetCoordinator<Value>
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
@State var index = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
to content: some View,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
if $coordinator.items.isEmpty || isLast {
~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: note: add 'if #available' version check
let view = AnyView(item.view)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:18: note: add @available attribute to enclosing instance method
private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: note: add 'if #available' version check
case .detents(let data): content.presentationDetents(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: note: add 'if #available' version check
default: content
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: note: add 'if #available' version check
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:94:18: note: add @available attribute to enclosing instance method
private func addSheet(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:28:8: note: add @available attribute to enclosing struct
struct SheetCoordinatorView: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item?]
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item?]>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (Int, (Item)) -> Content,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:52:5: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
if let index = $items.indices.firstIndex(of: index) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
fullScreenView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
sheetView(item: item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift: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?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: note: add 'if #available' version check
.onAppear { onDidLoad?(index) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:18: note: add @available attribute to enclosing instance method
private func sheetView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: note: add 'if #available' version check
).onAppear{ onDidLoad?(index)}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:18: note: add @available attribute to enclosing instance method
private func fullScreenView(item: Binding<Item?>) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: note: add 'if #available' version check
Color.blue.frame(width: 0.3, height: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:17: note: add @available attribute to enclosing property
private var defaultView: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:130:16: note: add 'if #available' version check
return items[index]?.presentationStyle ?? transitionStyle
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:125:18: note: add @available attribute to enclosing instance method
private func getTransitionStyle(from index: Int) -> TransitionPresentationStyle? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:8: note: add @available attribute to enclosing generic struct
struct SheetView<Content: View, T: SheetItemType>: View {
^
[23/28] Compiling SUICoordinator Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
coordinator: SheetCoordinator<(any View)>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: note: add 'if #available' version check
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
[24/28] Compiling SUICoordinator SheetItemType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
coordinator: SheetCoordinator<(any View)>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: note: add 'if #available' version check
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
[25/28] Compiling SUICoordinator ViewDidLoadModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:33: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/Protocols/Protocols.swift:51:17: note: add @available attribute to enclosing protocol
public protocol SCIdentifiable: Identifiable {}
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:30:44: error: 'View' is only available in macOS 10.15 or newer
coordinator: SheetCoordinator<(any View)>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:35:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:69: error: 'View' is only available in macOS 10.15 or newer
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:36:9: note: add 'if #available' version check
modifier(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:29:10: note: add @available attribute to enclosing instance method
func sheetCoordinator(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:48:14: note: add 'if #available' version check
self.modifier(ViewDidLoadModifier(action: action))
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:47:10: note: add @available attribute to enclosing instance method
func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Shared/View+Helpers/ViewDidLoadModifier.swift:27:8: note: add @available attribute to enclosing extension
public extension View {
^
[26/28] Compiling SUICoordinator CoordinatorType+Navigation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:9: note: add @available attribute to enclosing property
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol CoordinatorType: SCHashable, AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
public var content: any View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
content: (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:50:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
[27/28] Compiling SUICoordinator CoordinatorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:9: note: add @available attribute to enclosing property
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol CoordinatorType: SCHashable, AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
public var content: any View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
content: (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:50:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
[28/28] Compiling SUICoordinator DefaultRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:20: error: 'View' is only available in macOS 10.15 or newer
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:70:9: note: add @available attribute to enclosing property
var view: (any View) { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/CoordinatorType/CoordinatorType.swift:34:17: note: add @available attribute to enclosing protocol
public protocol CoordinatorType: SCHashable, AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:39:29: error: 'View' is only available in macOS 10.15 or newer
public var content: any View
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:52:23: error: 'View' is only available in macOS 10.15 or newer
content: (any View)
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:50:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:26: error: 'View' is only available in macOS 10.15 or newer
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:69:16: note: add @available attribute to enclosing property
public var view: any View {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:68:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/DefaultRoute.swift:29:15: note: add @available attribute to enclosing struct
public struct DefaultRoute: RouteType {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm