Build Information
Failed to build MijickNavigationView, reference 1.1.3 (f9e78d
), with Swift 5.9 for macOS (SPM) on 14 Jul 2024 02:34:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:34: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:110: error: 'View' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:29:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:29:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:20: note: add @available attribute to enclosing generic struct
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:32: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:20: note: add @available attribute to enclosing generic struct
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:117: error: 'modifier' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:117: note: add 'if #available' version check
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
[10/20] Compiling MijickNavigationView AnimationCompletionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:16:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:66: error: 'ObservableObject' is only available in macOS 10.15 or newer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:66: error: 'ObservableObject' is only available in macOS 10.15 or newer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:37:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:37:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:36:1: note: add @available attribute to enclosing extension
extension AnyNavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:23:22: note: add 'if #available' version check
self._body = AnyView(view)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:20:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ animation: TransitionAnimation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:29:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(view.environmentObject(environmentObject))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:29:22: note: add 'if #available' version check
self._body = AnyView(view.environmentObject(environmentObject))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:29:35: error: 'environmentObject' is only available in macOS 10.15 or newer
self._body = AnyView(view.environmentObject(environmentObject))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:29:35: note: add 'if #available' version check
self._body = AnyView(view.environmentObject(environmentObject))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:34: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:110: error: 'View' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:29:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:29:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:20: note: add @available attribute to enclosing generic struct
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:32: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:20: note: add @available attribute to enclosing generic struct
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:117: error: 'modifier' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:117: note: add 'if #available' version check
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/20] Emitting module MijickNavigationView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:46: error: 'Animation' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:11: error: 'Animation' is only available in macOS 10.15 or newer
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var height: CGFloat = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:15:7: note: add @available attribute to enclosing class
class KeyboardManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:17:32: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var subscription: [AnyCancellable] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:15:7: note: add @available attribute to enclosing class
class KeyboardManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:36:36: error: 'Publishers' is only available in macOS 10.15 or newer
var keyboardWillOpenPublisher: Publishers.CompactMap<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:36:9: note: add @available attribute to enclosing property
var keyboardWillOpenPublisher: Publishers.CompactMap<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:35:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:41:36: error: 'Publishers' is only available in macOS 10.15 or newer
var keyboardWillHidePublisher: Publishers.Map<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:41:9: note: add @available attribute to enclosing property
var keyboardWillHidePublisher: Publishers.Map<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:35:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<KeyboardManager, CGFloat>' cannot be converted to contextual type 'KeyPath<KeyboardManager, CGFloat>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var views: [AnyNavigatableView] = [] { willSet { onViewsWillUpdate(newValue) } }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:14: note: add @available attribute to enclosing class
public class NavigationManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class NavigationManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:14: note: add @available attribute to enclosing class
public class NavigationManager: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<NavigationManager, [AnyNavigatableView]>' cannot be converted to contextual type 'KeyPath<NavigationManager, [AnyNavigatableView]>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:16:30: error: cannot find type 'UIEdgeInsets' in scope
@Published var safeArea: UIEdgeInsets = .init()
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var size: CGSize = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var safeArea: UIEdgeInsets = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:22: error: 'ObservableObject' is only available in macOS 10.15 or newer
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:24:34: error: 'GeometryProxy' is only available in macOS 10.15 or newer
static func update(_ reader: GeometryProxy) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:24:17: note: add @available attribute to enclosing static method
static func update(_ reader: GeometryProxy) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:23:1: note: add @available attribute to enclosing extension
extension ScreenManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:37:37: error: 'Edge' is only available in macOS 10.15 or newer
func getSafeAreaValue(for edge: Edge.Set) -> CGFloat { switch edge {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:37:10: note: add @available attribute to enclosing instance method
func getSafeAreaValue(for edge: Edge.Set) -> CGFloat { switch edge {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:36:1: note: add @available attribute to enclosing extension
extension ScreenManager {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<ScreenManager, CGSize>' cannot be converted to contextual type 'KeyPath<ScreenManager, CGSize>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Protocols/NavigatableView.swift:13:34: error: 'View' is only available in macOS 10.15 or newer
public protocol NavigatableView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Protocols/NavigatableView.swift:13:17: note: add @available attribute to enclosing protocol
public protocol NavigatableView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:16:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:66: error: 'ObservableObject' is only available in macOS 10.15 or newer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:66: error: 'ObservableObject' is only available in macOS 10.15 or newer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:26:5: note: add @available attribute to enclosing initializer
init(_ view: some NavigatableView, _ environmentObject: some ObservableObject) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:13:8: note: add @available attribute to enclosing struct
struct AnyNavigatableView: NavigatableView, Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:37:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:37:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Type Erasers/AnyNavigatableView.swift:36:1: note: add @available attribute to enclosing extension
extension AnyNavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:34: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:110: error: 'View' is only available in macOS 10.15 or newer
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:14:10: note: add @available attribute to enclosing instance method
func onAnimationCompleted<V: VectorArithmetic>(for value: V, perform action: @escaping () -> ()) -> some View { modifier(Modifier(observedValue: value, completion: action)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:13:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:29:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:29:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:20: note: add @available attribute to enclosing generic struct
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:32: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/AnimationCompletionModifier.swift:18:20: note: add @available attribute to enclosing generic struct
fileprivate struct Modifier<V: VectorArithmetic>: AnimatableModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:15:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var stack: NavigationManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:16:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var screenManager: ScreenManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:17:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var keyboardManager: KeyboardManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:18:6: error: 'GestureState' is only available in macOS 10.15 or newer
@GestureState private var isGestureActive: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var temporaryViews: [AnyNavigatableView] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State private var animatableData: AnimatableData = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State private var gestureData: GestureData = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:57: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:38: error: 'Gesture' is only available in macOS 10.15 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:62:40: error: 'DragGesture' is only available in macOS 10.15 or newer
func onDragGestureChanged(_ value: DragGesture.Value) { guard canUseDragGesture(), canUseDragGesturePosition(value) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:62:10: note: add @available attribute to enclosing instance method
func onDragGestureChanged(_ value: DragGesture.Value) { guard canUseDragGesture(), canUseDragGesturePosition(value) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:61:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:80:45: error: 'DragGesture' is only available in macOS 10.15 or newer
func canUseDragGesturePosition(_ value: DragGesture.Value) -> Bool { if config.backGesturePosition == .anywhere { return true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:80:10: note: add @available attribute to enclosing instance method
func canUseDragGesturePosition(_ value: DragGesture.Value) -> Bool { if config.backGesturePosition == .anywhere { return true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:88:58: error: 'DragGesture' is only available in macOS 10.15 or newer
func calculateNewDragGestureDataTranslation(_ value: DragGesture.Value) -> CGFloat { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:88:10: note: add @available attribute to enclosing instance method
func calculateNewDragGestureDataTranslation(_ value: DragGesture.Value) -> CGFloat { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:104:29: error: 'Edge' is only available in macOS 10.15 or newer
func getPadding(_ edge: Edge.Set, _ item: AnyNavigatableView) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:104:10: note: add @available attribute to enclosing instance method
func getPadding(_ edge: Edge.Set, _ item: AnyNavigatableView) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:103:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:113:55: error: 'Color' is only available in macOS 10.15 or newer
func getBackground(_ item: AnyNavigatableView) -> Color { getConfig(item).backgroundColour ?? config.backgroundColour }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:113:10: note: add @available attribute to enclosing instance method
func getBackground(_ item: AnyNavigatableView) -> Color { getConfig(item).backgroundColour ?? config.backgroundColour }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:103:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:58: error: 'Angle' is only available in macOS 10.15 or newer
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:10: note: add @available attribute to enclosing instance method
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:202:59: error: 'UnitPoint' is only available in macOS 10.15 or newer
func getRotationAnchor(_ view: AnyNavigatableView) -> UnitPoint { switch view == temporaryViews.last {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:202:10: note: add @available attribute to enclosing instance method
func getRotationAnchor(_ view: AnyNavigatableView) -> UnitPoint { switch view == temporaryViews.last {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:222:69: error: 'Angle' is only available in macOS 10.15 or newer
func calculateRotationAngleValue(_ view: AnyNavigatableView) -> Angle { let rotationFactor = gestureData.isActive ? 1 - gestureProgress : animatableData.rotation
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:222:10: note: add @available attribute to enclosing instance method
func calculateRotationAngleValue(_ view: AnyNavigatableView) -> Angle { let rotationFactor = gestureData.isActive ? 1 - gestureProgress : animatableData.rotation
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:216:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:28: error: 'Animation' is only available in macOS 10.15 or newer
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:84: error: 'View' is only available in macOS 10.15 or newer
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:62: error: 'ObservableObject' is only available in macOS 10.15 or newer
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:29: note: add @available attribute to enclosing instance method
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:29:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:62: error: 'ObservableObject' is only available in macOS 10.15 or newer
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:29: note: add @available attribute to enclosing instance method
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:29:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:16:37: error: 'SafeAreaRegions' is only available in macOS 11.0 or newer
func ignoresSafeArea(_ regions: SafeAreaRegions = .all, _ edges: SafeAreaEdges) -> Self { changing(path: \.ignoredSafeAreas, to: (regions, edges)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:16:10: note: add @available attribute to enclosing instance method
func ignoresSafeArea(_ regions: SafeAreaRegions = .all, _ edges: SafeAreaEdges) -> Self { changing(path: \.ignoredSafeAreas, to: (regions, edges)) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigationConfig {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:19:36: error: 'Color' is only available in macOS 10.15 or newer
func backgroundColour(_ value: Color) -> Self { changing(path: \.backgroundColour, to: value) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:19:10: note: add @available attribute to enclosing instance method
func backgroundColour(_ value: Color) -> Self { changing(path: \.backgroundColour, to: value) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigationConfig {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:27:50: error: 'SafeAreaRegions' is only available in macOS 11.0 or newer
private(set) var ignoredSafeAreas: (regions: SafeAreaRegions, edges: SafeAreaEdges)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:26:15: note: add @available attribute to enclosing struct
public struct NavigationConfig: Configurable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:28:40: error: 'Color' is only available in macOS 10.15 or newer
private(set) var backgroundColour: Color? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationConfig.swift:26:15: note: add @available attribute to enclosing struct
public struct NavigationConfig: Configurable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationGlobalConfig.swift:19:34: error: 'Color' is only available in macOS 10.15 or newer
public var backgroundColour: Color = .clear
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationGlobalConfig.swift:13:15: note: add @available attribute to enclosing struct
public struct NavigationGlobalConfig { public init() {}
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationGlobalConfig.swift:19:43: error: 'clear' is only available in macOS 10.15 or newer
public var backgroundColour: Color = .clear
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigationGlobalConfig.swift:13:15: note: add @available attribute to enclosing struct
public struct NavigationGlobalConfig { public init() {}
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+SafeAreaEdges.swift:24:19: error: 'Edge' is only available in macOS 10.15 or newer
init(_ value: Edge.Set) { switch value {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+SafeAreaEdges.swift:24:5: note: add @available attribute to enclosing initializer
init(_ value: Edge.Set) { switch value {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+SafeAreaEdges.swift:23:1: note: add @available attribute to enclosing extension
extension SafeAreaEdges {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:28:92: error: 'View' is only available in macOS 10.15 or newer
func onFocus(_ view: some NavigatableView, perform action: @escaping () -> ()) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:28:10: note: add @available attribute to enclosing instance method
func onFocus(_ view: some NavigatableView, perform action: @escaping () -> ()) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:8: note: add @available attribute to enclosing extension
public extension View {
^
[12/20] Compiling MijickNavigationView Animation++.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:46: error: 'Animation' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:11: error: 'Animation' is only available in macOS 10.15 or newer
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:59: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:59: note: add 'if #available' version check
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:83: error: 'delay' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:83: note: add 'if #available' version check
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
[13/20] Compiling MijickNavigationView Array++.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:46: error: 'Animation' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:11: error: 'Animation' is only available in macOS 10.15 or newer
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:59: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:59: note: add 'if #available' version check
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:83: error: 'delay' is only available in macOS 10.15 or newer
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:83: note: add 'if #available' version check
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:15:17: note: add @available attribute to enclosing static method
static func keyboard(withDelay: Bool) -> Animation { .easeOut(duration: 0.25).delay(withDelay ? 0.1 : 0) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/Animation++.swift:14:1: note: add @available attribute to enclosing extension
extension Animation {
^
[14/20] Compiling MijickNavigationView NavigationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var views: [AnyNavigatableView] = [] { willSet { onViewsWillUpdate(newValue) } }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:14: note: add @available attribute to enclosing class
public class NavigationManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class NavigationManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:14: note: add @available attribute to enclosing class
public class NavigationManager: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<NavigationManager, [AnyNavigatableView]>' cannot be converted to contextual type 'KeyPath<NavigationManager, [AnyNavigatableView]>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:27:36: error: cannot pass as inout because setter for 'views' is only available in macOS 10.15 or newer
DispatchQueue.main.async { shared.views.perform(operation) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:27:36: note: add 'if #available' version check
DispatchQueue.main.async { shared.views.perform(operation) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:26:17: note: add @available attribute to enclosing static method
static func performOperation(_ operation: Operation) { if !NavigationManager.shared.transitionsBlocked {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:25:1: note: add @available attribute to enclosing extension
extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:33:88: error: setter for 'views' is only available in macOS 10.15 or newer
static func setRoot(_ rootView: some NavigatableView) { DispatchQueue.main.async { shared.views = [.init(rootView, .no)] }}
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:33:88: note: add 'if #available' version check
static func setRoot(_ rootView: some NavigatableView) { DispatchQueue.main.async { shared.views = [.init(rootView, .no)] }}
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:33:17: note: add @available attribute to enclosing static method
static func setRoot(_ rootView: some NavigatableView) { DispatchQueue.main.async { shared.views = [.init(rootView, .no)] }}
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:32:1: note: add @available attribute to enclosing extension
extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:51:85: error: cannot pass as inout because setter for 'views' is only available in macOS 10.15 or newer
transitionAnimation = (transitionType == .push ? newValue.last?.animation : views[newValue.count].animation) ?? .no
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:51:85: note: add 'if #available' version check
transitionAnimation = (transitionType == .push ? newValue.last?.animation : views[newValue.count].animation) ?? .no
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:49:10: note: add @available attribute to enclosing instance method
func onViewsWillUpdate(_ newValue: [AnyNavigatableView]) { if newValue.count != views.count {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:48:9: note: add @available attribute to enclosing extension
private extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:55:9: error: setter for 'views' is only available in macOS 10.15 or newer
views = views.appendingAsFirstAndRemovingDuplicates(newRootView)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:55:9: note: add 'if #available' version check
views = views.appendingAsFirstAndRemovingDuplicates(newRootView)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:54:10: note: add @available attribute to enclosing instance method
func onTransitionsBlockedUpdate() { if !transitionsBlocked, case let .replaceRoot(newRootView) = transitionType {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:48:9: note: add @available attribute to enclosing extension
private extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:16:30: error: cannot find type 'UIEdgeInsets' in scope
@Published var safeArea: UIEdgeInsets = .init()
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var size: CGSize = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var safeArea: UIEdgeInsets = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:22: error: 'ObservableObject' is only available in macOS 10.15 or newer
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:24:34: error: 'GeometryProxy' is only available in macOS 10.15 or newer
static func update(_ reader: GeometryProxy) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:24:17: note: add @available attribute to enclosing static method
static func update(_ reader: GeometryProxy) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:23:1: note: add @available attribute to enclosing extension
extension ScreenManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:37:37: error: 'Edge' is only available in macOS 10.15 or newer
func getSafeAreaValue(for edge: Edge.Set) -> CGFloat { switch edge {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:37:10: note: add @available attribute to enclosing instance method
func getSafeAreaValue(for edge: Edge.Set) -> CGFloat { switch edge {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:36:1: note: add @available attribute to enclosing extension
extension ScreenManager {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<ScreenManager, CGSize>' cannot be converted to contextual type 'KeyPath<ScreenManager, CGSize>'
[15/20] Compiling MijickNavigationView ScreenManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var views: [AnyNavigatableView] = [] { willSet { onViewsWillUpdate(newValue) } }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:14: note: add @available attribute to enclosing class
public class NavigationManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class NavigationManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:13:14: note: add @available attribute to enclosing class
public class NavigationManager: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<NavigationManager, [AnyNavigatableView]>' cannot be converted to contextual type 'KeyPath<NavigationManager, [AnyNavigatableView]>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:27:36: error: cannot pass as inout because setter for 'views' is only available in macOS 10.15 or newer
DispatchQueue.main.async { shared.views.perform(operation) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:27:36: note: add 'if #available' version check
DispatchQueue.main.async { shared.views.perform(operation) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:26:17: note: add @available attribute to enclosing static method
static func performOperation(_ operation: Operation) { if !NavigationManager.shared.transitionsBlocked {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:25:1: note: add @available attribute to enclosing extension
extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:33:88: error: setter for 'views' is only available in macOS 10.15 or newer
static func setRoot(_ rootView: some NavigatableView) { DispatchQueue.main.async { shared.views = [.init(rootView, .no)] }}
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:33:88: note: add 'if #available' version check
static func setRoot(_ rootView: some NavigatableView) { DispatchQueue.main.async { shared.views = [.init(rootView, .no)] }}
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:33:17: note: add @available attribute to enclosing static method
static func setRoot(_ rootView: some NavigatableView) { DispatchQueue.main.async { shared.views = [.init(rootView, .no)] }}
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:32:1: note: add @available attribute to enclosing extension
extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:51:85: error: cannot pass as inout because setter for 'views' is only available in macOS 10.15 or newer
transitionAnimation = (transitionType == .push ? newValue.last?.animation : views[newValue.count].animation) ?? .no
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:51:85: note: add 'if #available' version check
transitionAnimation = (transitionType == .push ? newValue.last?.animation : views[newValue.count].animation) ?? .no
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:49:10: note: add @available attribute to enclosing instance method
func onViewsWillUpdate(_ newValue: [AnyNavigatableView]) { if newValue.count != views.count {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:48:9: note: add @available attribute to enclosing extension
private extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:55:9: error: setter for 'views' is only available in macOS 10.15 or newer
views = views.appendingAsFirstAndRemovingDuplicates(newRootView)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:55:9: note: add 'if #available' version check
views = views.appendingAsFirstAndRemovingDuplicates(newRootView)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:54:10: note: add @available attribute to enclosing instance method
func onTransitionsBlockedUpdate() { if !transitionsBlocked, case let .replaceRoot(newRootView) = transitionType {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/NavigationManager.swift:48:9: note: add @available attribute to enclosing extension
private extension NavigationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:16:30: error: cannot find type 'UIEdgeInsets' in scope
@Published var safeArea: UIEdgeInsets = .init()
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var size: CGSize = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var safeArea: UIEdgeInsets = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:22: error: 'ObservableObject' is only available in macOS 10.15 or newer
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:14:7: note: add @available attribute to enclosing class
class ScreenManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:24:34: error: 'GeometryProxy' is only available in macOS 10.15 or newer
static func update(_ reader: GeometryProxy) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:24:17: note: add @available attribute to enclosing static method
static func update(_ reader: GeometryProxy) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:23:1: note: add @available attribute to enclosing extension
extension ScreenManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:37:37: error: 'Edge' is only available in macOS 10.15 or newer
func getSafeAreaValue(for edge: Edge.Set) -> CGFloat { switch edge {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:37:10: note: add @available attribute to enclosing instance method
func getSafeAreaValue(for edge: Edge.Set) -> CGFloat { switch edge {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/ScreenManager.swift:36:1: note: add @available attribute to enclosing extension
extension ScreenManager {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<ScreenManager, CGSize>' cannot be converted to contextual type 'KeyPath<ScreenManager, CGSize>'
[16/20] Compiling MijickNavigationView NavigationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:15:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var stack: NavigationManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:16:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var screenManager: ScreenManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:17:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var keyboardManager: KeyboardManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:18:6: error: 'GestureState' is only available in macOS 10.15 or newer
@GestureState private var isGestureActive: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var temporaryViews: [AnyNavigatableView] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State private var animatableData: AnimatableData = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State private var gestureData: GestureData = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:57: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:38: error: 'Gesture' is only available in macOS 10.15 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:62:40: error: 'DragGesture' is only available in macOS 10.15 or newer
func onDragGestureChanged(_ value: DragGesture.Value) { guard canUseDragGesture(), canUseDragGesturePosition(value) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:62:10: note: add @available attribute to enclosing instance method
func onDragGestureChanged(_ value: DragGesture.Value) { guard canUseDragGesture(), canUseDragGesturePosition(value) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:61:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:80:45: error: 'DragGesture' is only available in macOS 10.15 or newer
func canUseDragGesturePosition(_ value: DragGesture.Value) -> Bool { if config.backGesturePosition == .anywhere { return true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:80:10: note: add @available attribute to enclosing instance method
func canUseDragGesturePosition(_ value: DragGesture.Value) -> Bool { if config.backGesturePosition == .anywhere { return true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:88:58: error: 'DragGesture' is only available in macOS 10.15 or newer
func calculateNewDragGestureDataTranslation(_ value: DragGesture.Value) -> CGFloat { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:88:10: note: add @available attribute to enclosing instance method
func calculateNewDragGestureDataTranslation(_ value: DragGesture.Value) -> CGFloat { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:104:29: error: 'Edge' is only available in macOS 10.15 or newer
func getPadding(_ edge: Edge.Set, _ item: AnyNavigatableView) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:104:10: note: add @available attribute to enclosing instance method
func getPadding(_ edge: Edge.Set, _ item: AnyNavigatableView) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:103:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:113:55: error: 'Color' is only available in macOS 10.15 or newer
func getBackground(_ item: AnyNavigatableView) -> Color { getConfig(item).backgroundColour ?? config.backgroundColour }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:113:10: note: add @available attribute to enclosing instance method
func getBackground(_ item: AnyNavigatableView) -> Color { getConfig(item).backgroundColour ?? config.backgroundColour }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:103:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:58: error: 'Angle' is only available in macOS 10.15 or newer
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:10: note: add @available attribute to enclosing instance method
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:202:59: error: 'UnitPoint' is only available in macOS 10.15 or newer
func getRotationAnchor(_ view: AnyNavigatableView) -> UnitPoint { switch view == temporaryViews.last {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:202:10: note: add @available attribute to enclosing instance method
func getRotationAnchor(_ view: AnyNavigatableView) -> UnitPoint { switch view == temporaryViews.last {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:222:69: error: 'Angle' is only available in macOS 10.15 or newer
func calculateRotationAngleValue(_ view: AnyNavigatableView) -> Angle { let rotationFactor = gestureData.isActive ? 1 - gestureProgress : animatableData.rotation
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:222:10: note: add @available attribute to enclosing instance method
func calculateRotationAngleValue(_ view: AnyNavigatableView) -> Angle { let rotationFactor = gestureData.isActive ? 1 - gestureProgress : animatableData.rotation
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:216:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:28: error: 'Animation' is only available in macOS 10.15 or newer
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: note: add 'if #available' version check
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: note: add 'if #available' version check
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:18: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:18: error: 'ForEach' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:18: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:26:14: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:27:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:28:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(createDragGesture())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:29:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: stack.views, perform: onViewsChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:30:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: isGestureActive, perform: onDragGestureEnded)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:31:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: animatableData.opacity, perform: onAnimationCompleted)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:32:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(.keyboard(withDelay: isKeyboardVisible), value: isKeyboardVisible)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:32:14: note: add 'if #available' version check
.animation(.keyboard(withDelay: isKeyboardVisible), value: isKeyboardVisible)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:38:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.top, getPadding(.top, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:38:14: note: add 'if #available' version check
.padding(.top, getPadding(.top, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:39:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, getPadding(.bottom, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:39:14: note: add 'if #available' version check
.padding(.bottom, getPadding(.bottom, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:40:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.leading, getPadding(.leading, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:40:14: note: add 'if #available' version check
.padding(.leading, getPadding(.leading, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:41:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.trailing, getPadding(.trailing, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:41:14: note: add 'if #available' version check
.padding(.trailing, getPadding(.trailing, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:42:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:42:14: note: add 'if #available' version check
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:14: note: add 'if #available' version check
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:45: error: 'compositingGroup()' is only available in macOS 10.15 or newer
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:45: note: add 'if #available' version check
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:44:14: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(getOpacity(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:44:14: note: add 'if #available' version check
.opacity(getOpacity(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:45:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(getScale(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:45:14: note: add 'if #available' version check
.scaleEffect(getScale(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:46:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(getOffset(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:46:14: note: add 'if #available' version check
.offset(getOffset(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:47:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: getRotationTranslation(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:47:14: note: add 'if #available' version check
.offset(x: getRotationTranslation(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:48:14: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
.rotation3DEffect(getRotationAngle(item), axis: getRotationAxis(), anchor: getRotationAnchor(item), perspective: getRotationPerspective())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:48:14: note: add 'if #available' version check
.rotation3DEffect(getRotationAngle(item), axis: getRotationAxis(), anchor: getRotationAnchor(item), perspective: getRotationPerspective())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:49:14: error: 'compositingGroup()' is only available in macOS 10.15 or newer
.compositingGroup()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:49:14: note: add 'if #available' version check
.compositingGroup()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:50:14: error: 'disabled' is only available in macOS 10.15 or newer
.disabled(gestureData.isActive)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:50:14: note: add 'if #available' version check
.disabled(gestureData.isActive)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: error: 'DragGesture' is only available in macOS 10.15 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: note: add 'if #available' version check
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: note: add 'if #available' version check
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:57:10: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
.updating($isGestureActive) { _, state, _ in state = true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:57:10: note: add 'if #available' version check
.updating($isGestureActive) { _, state, _ in state = true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:58:10: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged(onDragGestureChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:58:10: note: add 'if #available' version check
.onChanged(onDragGestureChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:95:46: error: 'withAnimation' is only available in macOS 10.15 or newer
func onDragGestureEndedWithoutReturn() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:95:46: note: add 'if #available' version check
func onDragGestureEndedWithoutReturn() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:95:10: note: add @available attribute to enclosing instance method
func onDragGestureEndedWithoutReturn() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:114: error: 'zero' is only available in macOS 10.15 or newer
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:114: note: add 'if #available' version check
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:10: note: add @available attribute to enclosing instance method
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:239:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
case .no: .easeInOut(duration: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:239:20: note: add 'if #available' version check
case .no: .easeInOut(duration: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:240:68: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
case .dissolve, .horizontalSlide, .verticalSlide, .scale: .interpolatingSpring(mass: 3, stiffness: 1000, damping: 500, initialVelocity: 6.4)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:240:68: note: add 'if #available' version check
case .dissolve, .horizontalSlide, .verticalSlide, .scale: .interpolatingSpring(mass: 3, stiffness: 1000, damping: 500, initialVelocity: 6.4)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:241:30: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
case .cubeRotation: .easeOut(duration: 0.52)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:241:30: note: add 'if #available' version check
case .cubeRotation: .easeOut(duration: 0.52)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:259:35: error: setter for 'temporaryViews' is only available in macOS 10.15 or newer
case .push, .replaceRoot: temporaryViews = views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:259:35: note: add 'if #available' version check
case .push, .replaceRoot: temporaryViews = views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:258:10: note: add @available attribute to enclosing instance method
func updateTemporaryViews(_ views: [AnyNavigatableView]) { switch stack.transitionType {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:254:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:260:20: error: setter for 'temporaryViews' is only available in macOS 10.15 or newer
case .pop: temporaryViews = views + [temporaryViews.last].compactMap { $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:260:20: note: add 'if #available' version check
case .pop: temporaryViews = views + [temporaryViews.last].compactMap { $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:258:10: note: add @available attribute to enclosing instance method
func updateTemporaryViews(_ views: [AnyNavigatableView]) { switch stack.transitionType {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:254:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:272:44: error: 'withAnimation' is only available in macOS 10.15 or newer
func animateOffsetAndOpacityChange() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:272:44: note: add 'if #available' version check
func animateOffsetAndOpacityChange() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:272:10: note: add @available attribute to enclosing instance method
func animateOffsetAndOpacityChange() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:254:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:296:9: error: setter for 'temporaryViews' is only available in macOS 10.15 or newer
temporaryViews = stack.views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:296:9: note: add 'if #available' version check
temporaryViews = stack.views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:295:10: note: add @available attribute to enclosing instance method
func resetViewOnAnimationCompleted() { guard stack.transitionType == .pop else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:294:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:84: error: 'View' is only available in macOS 10.15 or newer
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:62: error: 'ObservableObject' is only available in macOS 10.15 or newer
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:29: note: add @available attribute to enclosing instance method
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:29:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:62: error: 'ObservableObject' is only available in macOS 10.15 or newer
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:29: note: add @available attribute to enclosing instance method
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:29:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:91: error: 'GeometryReader' is only available in macOS 10.15 or newer
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:91: note: add 'if #available' version check
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:17:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { ScreenManager.update(reader); NavigationManager.setRoot(self) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:17:14: note: add 'if #available' version check
.onAppear { ScreenManager.update(reader); NavigationManager.setRoot(self) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:18:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: reader.size) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:18:14: note: add 'if #available' version check
.onChange(of: reader.size) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:19:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: reader.safeAreaInsets) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:19:14: note: add 'if #available' version check
.onChange(of: reader.safeAreaInsets) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
[17/20] Compiling MijickNavigationView Public+NavigatableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:15:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var stack: NavigationManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:16:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var screenManager: ScreenManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:17:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var keyboardManager: KeyboardManager = .shared
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:18:6: error: 'GestureState' is only available in macOS 10.15 or newer
@GestureState private var isGestureActive: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var temporaryViews: [AnyNavigatableView] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
@State private var animatableData: AnimatableData = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State private var gestureData: GestureData = .init()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:57: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:38: error: 'Gesture' is only available in macOS 10.15 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:62:40: error: 'DragGesture' is only available in macOS 10.15 or newer
func onDragGestureChanged(_ value: DragGesture.Value) { guard canUseDragGesture(), canUseDragGesturePosition(value) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:62:10: note: add @available attribute to enclosing instance method
func onDragGestureChanged(_ value: DragGesture.Value) { guard canUseDragGesture(), canUseDragGesturePosition(value) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:61:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:80:45: error: 'DragGesture' is only available in macOS 10.15 or newer
func canUseDragGesturePosition(_ value: DragGesture.Value) -> Bool { if config.backGesturePosition == .anywhere { return true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:80:10: note: add @available attribute to enclosing instance method
func canUseDragGesturePosition(_ value: DragGesture.Value) -> Bool { if config.backGesturePosition == .anywhere { return true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:88:58: error: 'DragGesture' is only available in macOS 10.15 or newer
func calculateNewDragGestureDataTranslation(_ value: DragGesture.Value) -> CGFloat { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:88:10: note: add @available attribute to enclosing instance method
func calculateNewDragGestureDataTranslation(_ value: DragGesture.Value) -> CGFloat { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:104:29: error: 'Edge' is only available in macOS 10.15 or newer
func getPadding(_ edge: Edge.Set, _ item: AnyNavigatableView) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:104:10: note: add @available attribute to enclosing instance method
func getPadding(_ edge: Edge.Set, _ item: AnyNavigatableView) -> CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:103:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:113:55: error: 'Color' is only available in macOS 10.15 or newer
func getBackground(_ item: AnyNavigatableView) -> Color { getConfig(item).backgroundColour ?? config.backgroundColour }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:113:10: note: add @available attribute to enclosing instance method
func getBackground(_ item: AnyNavigatableView) -> Color { getConfig(item).backgroundColour ?? config.backgroundColour }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:103:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:58: error: 'Angle' is only available in macOS 10.15 or newer
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:10: note: add @available attribute to enclosing instance method
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:202:59: error: 'UnitPoint' is only available in macOS 10.15 or newer
func getRotationAnchor(_ view: AnyNavigatableView) -> UnitPoint { switch view == temporaryViews.last {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:202:10: note: add @available attribute to enclosing instance method
func getRotationAnchor(_ view: AnyNavigatableView) -> UnitPoint { switch view == temporaryViews.last {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:222:69: error: 'Angle' is only available in macOS 10.15 or newer
func calculateRotationAngleValue(_ view: AnyNavigatableView) -> Angle { let rotationFactor = gestureData.isActive ? 1 - gestureProgress : animatableData.rotation
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:222:10: note: add @available attribute to enclosing instance method
func calculateRotationAngleValue(_ view: AnyNavigatableView) -> Angle { let rotationFactor = gestureData.isActive ? 1 - gestureProgress : animatableData.rotation
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:216:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:28: error: 'Animation' is only available in macOS 10.15 or newer
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: note: add 'if #available' version check
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:9: note: add 'if #available' version check
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:18: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:18: error: 'ForEach' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:18: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:25:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack { ForEach(temporaryViews, id: \.id, content: createItem) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:26:14: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
.ignoresSafeArea()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:27:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:28:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
.gesture(createDragGesture())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:29:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: stack.views, perform: onViewsChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:30:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: isGestureActive, perform: onDragGestureEnded)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:31:14: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer
.onAnimationCompleted(for: animatableData.opacity, perform: onAnimationCompleted)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:32:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
.animation(.keyboard(withDelay: isKeyboardVisible), value: isKeyboardVisible)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:32:14: note: add 'if #available' version check
.animation(.keyboard(withDelay: isKeyboardVisible), value: isKeyboardVisible)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:24:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:13:8: note: add @available attribute to enclosing struct
struct NavigationView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:38:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.top, getPadding(.top, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:38:14: note: add 'if #available' version check
.padding(.top, getPadding(.top, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:39:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, getPadding(.bottom, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:39:14: note: add 'if #available' version check
.padding(.bottom, getPadding(.bottom, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:40:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.leading, getPadding(.leading, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:40:14: note: add 'if #available' version check
.padding(.leading, getPadding(.leading, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:41:14: error: 'padding' is only available in macOS 10.15 or newer
.padding(.trailing, getPadding(.trailing, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:41:14: note: add 'if #available' version check
.padding(.trailing, getPadding(.trailing, item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:42:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:42:14: note: add 'if #available' version check
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:14: note: add 'if #available' version check
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:45: error: 'compositingGroup()' is only available in macOS 10.15 or newer
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:43:45: note: add 'if #available' version check
.background(getBackground(item).compositingGroup())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:44:14: error: 'opacity' is only available in macOS 10.15 or newer
.opacity(getOpacity(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:44:14: note: add 'if #available' version check
.opacity(getOpacity(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:45:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(getScale(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:45:14: note: add 'if #available' version check
.scaleEffect(getScale(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:46:14: error: 'offset' is only available in macOS 10.15 or newer
.offset(getOffset(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:46:14: note: add 'if #available' version check
.offset(getOffset(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:47:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: getRotationTranslation(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:47:14: note: add 'if #available' version check
.offset(x: getRotationTranslation(item))
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:48:14: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
.rotation3DEffect(getRotationAngle(item), axis: getRotationAxis(), anchor: getRotationAnchor(item), perspective: getRotationPerspective())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:48:14: note: add 'if #available' version check
.rotation3DEffect(getRotationAngle(item), axis: getRotationAxis(), anchor: getRotationAnchor(item), perspective: getRotationPerspective())
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:49:14: error: 'compositingGroup()' is only available in macOS 10.15 or newer
.compositingGroup()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:49:14: note: add 'if #available' version check
.compositingGroup()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:50:14: error: 'disabled' is only available in macOS 10.15 or newer
.disabled(gestureData.isActive)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:50:14: note: add 'if #available' version check
.disabled(gestureData.isActive)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:36:10: note: add @available attribute to enclosing instance method
func createItem(_ item: AnyNavigatableView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:35:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: error: 'DragGesture' is only available in macOS 10.15 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: note: add 'if #available' version check
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:48: note: add 'if #available' version check
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:57:10: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
.updating($isGestureActive) { _, state, _ in state = true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:57:10: note: add 'if #available' version check
.updating($isGestureActive) { _, state, _ in state = true }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:58:10: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged(onDragGestureChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:58:10: note: add 'if #available' version check
.onChanged(onDragGestureChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:56:10: note: add @available attribute to enclosing instance method
func createDragGesture() -> some Gesture { DragGesture()
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:55:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:95:46: error: 'withAnimation' is only available in macOS 10.15 or newer
func onDragGestureEndedWithoutReturn() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:95:46: note: add 'if #available' version check
func onDragGestureEndedWithoutReturn() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:95:10: note: add @available attribute to enclosing instance method
func onDragGestureEndedWithoutReturn() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:73:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:114: error: 'zero' is only available in macOS 10.15 or newer
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:114: note: add 'if #available' version check
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:198:10: note: add @available attribute to enclosing instance method
func getRotationAngle(_ view: AnyNavigatableView) -> Angle { guard canCalculateRotation(view) else { return .zero }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:197:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:239:20: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
case .no: .easeInOut(duration: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:239:20: note: add 'if #available' version check
case .no: .easeInOut(duration: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:240:68: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
case .dissolve, .horizontalSlide, .verticalSlide, .scale: .interpolatingSpring(mass: 3, stiffness: 1000, damping: 500, initialVelocity: 6.4)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:240:68: note: add 'if #available' version check
case .dissolve, .horizontalSlide, .verticalSlide, .scale: .interpolatingSpring(mass: 3, stiffness: 1000, damping: 500, initialVelocity: 6.4)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:241:30: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
case .cubeRotation: .easeOut(duration: 0.52)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:241:30: note: add 'if #available' version check
case .cubeRotation: .easeOut(duration: 0.52)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:238:10: note: add @available attribute to enclosing instance method
func getAnimation() -> Animation { switch stack.transitionAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:237:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:259:35: error: setter for 'temporaryViews' is only available in macOS 10.15 or newer
case .push, .replaceRoot: temporaryViews = views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:259:35: note: add 'if #available' version check
case .push, .replaceRoot: temporaryViews = views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:258:10: note: add @available attribute to enclosing instance method
func updateTemporaryViews(_ views: [AnyNavigatableView]) { switch stack.transitionType {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:254:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:260:20: error: setter for 'temporaryViews' is only available in macOS 10.15 or newer
case .pop: temporaryViews = views + [temporaryViews.last].compactMap { $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:260:20: note: add 'if #available' version check
case .pop: temporaryViews = views + [temporaryViews.last].compactMap { $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:258:10: note: add @available attribute to enclosing instance method
func updateTemporaryViews(_ views: [AnyNavigatableView]) { switch stack.transitionType {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:254:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:272:44: error: 'withAnimation' is only available in macOS 10.15 or newer
func animateOffsetAndOpacityChange() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:272:44: note: add 'if #available' version check
func animateOffsetAndOpacityChange() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:272:10: note: add @available attribute to enclosing instance method
func animateOffsetAndOpacityChange() { withAnimation(getAnimation()) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:254:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:296:9: error: setter for 'temporaryViews' is only available in macOS 10.15 or newer
temporaryViews = stack.views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:296:9: note: add 'if #available' version check
temporaryViews = stack.views
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:295:10: note: add @available attribute to enclosing instance method
func resetViewOnAnimationCompleted() { guard stack.transitionType == .pop else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/NavigationView.swift:294:9: note: add @available attribute to enclosing extension
private extension NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:84: error: 'View' is only available in macOS 10.15 or newer
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:62: error: 'ObservableObject' is only available in macOS 10.15 or newer
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:29: note: add @available attribute to enclosing instance method
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:29:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:62: error: 'ObservableObject' is only available in macOS 10.15 or newer
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:37:29: note: add @available attribute to enclosing instance method
@discardableResult func environmentObject(_ object: some ObservableObject) -> any NavigatableView { AnyNavigatableView(self, object) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:29:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:91: error: 'GeometryReader' is only available in macOS 10.15 or newer
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:91: note: add 'if #available' version check
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:17:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear { ScreenManager.update(reader); NavigationManager.setRoot(self) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:17:14: note: add 'if #available' version check
.onAppear { ScreenManager.update(reader); NavigationManager.setRoot(self) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:18:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: reader.size) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:18:14: note: add 'if #available' version check
.onChange(of: reader.size) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:19:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: reader.safeAreaInsets) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:19:14: note: add 'if #available' version check
.onChange(of: reader.safeAreaInsets) { _ in ScreenManager.update(reader) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:15:10: note: add @available attribute to enclosing instance method
func implementNavigationView(config: NavigationGlobalConfig = .init()) -> some View { GeometryReader { reader in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+NavigatableView.swift:14:8: note: add @available attribute to enclosing extension
public extension NavigatableView {
^
[18/20] Compiling MijickNavigationView Equatable++.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var height: CGFloat = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:15:7: note: add @available attribute to enclosing class
class KeyboardManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:17:32: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var subscription: [AnyCancellable] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:15:7: note: add @available attribute to enclosing class
class KeyboardManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:36:36: error: 'Publishers' is only available in macOS 10.15 or newer
var keyboardWillOpenPublisher: Publishers.CompactMap<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:36:9: note: add @available attribute to enclosing property
var keyboardWillOpenPublisher: Publishers.CompactMap<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:35:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:41:36: error: 'Publishers' is only available in macOS 10.15 or newer
var keyboardWillHidePublisher: Publishers.Map<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:41:9: note: add @available attribute to enclosing property
var keyboardWillHidePublisher: Publishers.Map<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:35:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<KeyboardManager, CGFloat>' cannot be converted to contextual type 'KeyPath<KeyboardManager, CGFloat>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:34: error: cannot find 'UIApplication' in scope
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:76: error: cannot find 'UIResponder' in scope
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:115: error: 'nil' requires a contextual type
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:126: error: 'nil' requires a contextual type
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:136: error: 'nil' requires a contextual type
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:40: error: 'Publishers' is only available in macOS 10.15 or newer
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:40: note: add 'if #available' version check
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:10: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:10: note: add 'if #available' version check
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:17: error: setter for 'height' is only available in macOS 10.15 or newer
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:17: note: add 'if #available' version check
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:32:10: error: 'store(in:)' is only available in macOS 10.15 or newer
.store(in: &subscription)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:32:10: note: add 'if #available' version check
.store(in: &subscription)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:37:25: error: cannot find 'UIResponder' in scope
.publisher(for: UIResponder.keyboardWillShowNotification)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:38:36: error: cannot find 'UIResponder' in scope
.compactMap { $0.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect }
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:42:25: error: cannot find 'UIResponder' in scope
.publisher(for: UIResponder.keyboardWillHideNotification)
^~~~~~~~~~~
[19/20] Compiling MijickNavigationView KeyboardManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
@Published private(set) var height: CGFloat = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:15:7: note: add @available attribute to enclosing class
class KeyboardManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:17:32: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var subscription: [AnyCancellable] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:15:7: note: add @available attribute to enclosing class
class KeyboardManager: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:36:36: error: 'Publishers' is only available in macOS 10.15 or newer
var keyboardWillOpenPublisher: Publishers.CompactMap<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:36:9: note: add @available attribute to enclosing property
var keyboardWillOpenPublisher: Publishers.CompactMap<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:35:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:41:36: error: 'Publishers' is only available in macOS 10.15 or newer
var keyboardWillHidePublisher: Publishers.Map<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:41:9: note: add @available attribute to enclosing property
var keyboardWillHidePublisher: Publishers.Map<NotificationCenter.Publisher, CGFloat> { NotificationCenter.default
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:35:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<KeyboardManager, CGFloat>' cannot be converted to contextual type 'KeyPath<KeyboardManager, CGFloat>'
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:34: error: cannot find 'UIApplication' in scope
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:76: error: cannot find 'UIResponder' in scope
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:115: error: 'nil' requires a contextual type
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:126: error: 'nil' requires a contextual type
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:25:136: error: 'nil' requires a contextual type
static func hideKeyboard() { UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:40: error: 'Publishers' is only available in macOS 10.15 or newer
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:40: note: add 'if #available' version check
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:10: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:10: note: add 'if #available' version check
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:17: error: setter for 'height' is only available in macOS 10.15 or newer
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:31:17: note: add 'if #available' version check
.sink { self.height = $0 }
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:32:10: error: 'store(in:)' is only available in macOS 10.15 or newer
.store(in: &subscription)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:32:10: note: add 'if #available' version check
.store(in: &subscription)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:30:10: note: add @available attribute to enclosing instance method
func subscribeToKeyboardEvents() { Publishers.Merge(keyboardWillOpenPublisher, keyboardWillHidePublisher)
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:29:9: note: add @available attribute to enclosing extension
private extension KeyboardManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:37:25: error: cannot find 'UIResponder' in scope
.publisher(for: UIResponder.keyboardWillShowNotification)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:38:36: error: cannot find 'UIResponder' in scope
.compactMap { $0.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect }
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Managers/KeyboardManager.swift:42:25: error: cannot find 'UIResponder' in scope
.publisher(for: UIResponder.keyboardWillHideNotification)
^~~~~~~~~~~
[20/20] Compiling MijickNavigationView Public+View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:28:92: error: 'View' is only available in macOS 10.15 or newer
func onFocus(_ view: some NavigatableView, perform action: @escaping () -> ()) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:28:10: note: add @available attribute to enclosing instance method
func onFocus(_ view: some NavigatableView, perform action: @escaping () -> ()) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:29:9: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
onReceive(NavigationManager.shared.$views) { views in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:29:9: note: add 'if #available' version check
onReceive(NavigationManager.shared.$views) { views in
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:28:10: note: add @available attribute to enclosing instance method
func onFocus(_ view: some NavigatableView, perform action: @escaping () -> ()) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Public/Public+View.swift:26:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm