Build Information
Failed to build navigation-stack-backport with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:24:27: error: 'NavigationLink' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:24:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:22:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:24:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:24:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:22:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:4: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:11: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:27: error: 'NavigationLink' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:4: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:11: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:27: error: 'NavigationLink' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:4: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:4: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:11: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:27: error: 'NavigationLink' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationLink(title, value: value))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:9: note: add @available attribute to enclosing initializer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationLink<Label: View>: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:23:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let pathPushPublisher = PassthroughSubject<NavigationPathItem, Never>()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:4:7: note: add @available attribute to enclosing class
class NavigationAuthority: NSObject, ObservableObject {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:62:4: error: 'Button' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:62:4: note: add 'if #available' version check
Button {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:61:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:56:9: note: add @available attribute to enclosing struct
struct Backport: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:68:5: error: 'disabled' is only available in macOS 10.15 or newer
.disabled(item == nil || !authority.canNavigate)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:68:5: note: add 'if #available' version check
.disabled(item == nil || !authority.canNavigate)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:61:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:56:9: note: add @available attribute to enclosing struct
struct Backport: View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:27: error: 'NavigationPath' is only available in macOS 13.0 or newer
var swiftUIPath: SwiftUI.NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:6: note: add @available attribute to enclosing property
var swiftUIPath: SwiftUI.NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:12:25: error: 'NavigationPath' is only available in macOS 13.0 or newer
get { box as! SwiftUI.NavigationPath }
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:12:25: note: add 'if #available' version check
get { box as! SwiftUI.NavigationPath }
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:6: note: add @available attribute to enclosing property
var swiftUIPath: SwiftUI.NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:23:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
box = SwiftUI.NavigationPath()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:23:18: note: add 'if #available' version check
box = SwiftUI.NavigationPath()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:21:9: note: add @available attribute to enclosing initializer
public init() {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:31:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
box = SwiftUI.NavigationPath(elements)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:31:18: note: add 'if #available' version check
box = SwiftUI.NavigationPath(elements)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:29:9: note: add @available attribute to enclosing initializer
public init<S: Sequence>(_ elements: S) where S.Element: Hashable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:39:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
box = SwiftUI.NavigationPath(elements)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:39:18: note: add 'if #available' version check
box = SwiftUI.NavigationPath(elements)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:37:9: note: add @available attribute to enclosing initializer
public init<S: Sequence>(_ elements: S) where S.Element: Hashable, S.Element: Codable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:18: note: add 'if #available' version check
box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:45:9: note: add @available attribute to enclosing initializer
public init(_ codable: CodableRepresentation) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:61: error: 'NavigationPath' is only available in macOS 13.0 or newer
box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:61: note: add 'if #available' version check
box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:45:9: note: add @available attribute to enclosing initializer
public init(_ codable: CodableRepresentation) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:46: warning: conformance of 'NavigationPath' to 'Equatable' is only available in macOS 13.0 or newer
return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:46: note: add 'if #available' version check
return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:69:21: note: add @available attribute to enclosing operator function
public static func == (lhs: Self, rhs: Self) -> Bool {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:68:1: note: add @available attribute to enclosing extension
extension NavigationPath: Equatable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:31: error: 'NavigationPath' is only available in macOS 13.0 or newer
return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:31: note: add 'if #available' version check
return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:69:21: note: add @available attribute to enclosing operator function
public static func == (lhs: Self, rhs: Self) -> Bool {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:68:1: note: add @available attribute to enclosing extension
extension NavigationPath: Equatable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:69: error: 'NavigationPath' is only available in macOS 13.0 or newer
return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:69: note: add 'if #available' version check
return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:69:21: note: add @available attribute to enclosing operator function
public static func == (lhs: Self, rhs: Self) -> Bool {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:68:1: note: add @available attribute to enclosing extension
extension NavigationPath: Equatable {
^
[12/14] Compiling NavigationStackBackport NavigationUpdate.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
var viewControllers: [UIViewController] {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
private let navigationController: UINavigationController
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
private var addedViewControllers: [UIViewController] = []
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:17:29: error: 'AnyView' is only available in macOS 10.15 or newer
mutating func view(_ view: AnyView, at index: Int) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:17:16: note: add @available attribute to enclosing instance method
mutating func view(_ view: AnyView, at index: Int) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:3:19: note: add @available attribute to enclosing struct
@MainActor struct NavigationUpdate {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:21:53: error: cannot find type 'UIHostingController' in scope
(navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = view
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:25:27: error: cannot find 'UIHostingController' in scope
let hostingController = UIHostingController(rootView: view)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:39:27: error: 'nil' requires a contextual type
$0.willMove(toParent: nil)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:45: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:64: error: 'Binding' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:80: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:122: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:58: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:13:9: error: 'Binding' is only available in macOS 10.15 or newer
item: Binding<D?>,
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:14:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder destination: @escaping (D) -> C
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:15:12: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:25:3: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPresented: Bool
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:28:3: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var id
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:29:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationContextId) private var contextId
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:30:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:40: error: 'View' is only available in macOS 10.15 or newer
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:51:3: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var item: D?
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:57: error: 'View' is only available in macOS 10.15 or newer
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:74:12: error: 'AnyView' is only available in macOS 10.15 or newer
let view: AnyView
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:53: error: 'View' is only available in macOS 10.15 or newer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:53: error: 'View' is only available in macOS 10.15 or newer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:84:28: error: 'Namespace' is only available in macOS 11.0 or newer
static var defaultValue: [Namespace.ID] = []
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:84:13: note: add @available attribute to enclosing static property
static var defaultValue: [Namespace.ID] = []
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:35: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:14: note: add @available attribute to enclosing static method
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:68: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:14: note: add @available attribute to enclosing static method
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
content.navigationDestination(isPresented: isPresented, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: note: add 'if #available' version check
content.navigationDestination(isPresented: isPresented, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:127: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:127: note: add 'if #available' version check
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:17:33: error: incorrect argument label in call (have 'item:destination:', expected 'for:destination:')
content.navigationDestination(item: item, destination: destination)
^~~~~
for
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:17:40: error: cannot convert value of type 'Binding<D?>' to expected argument type 'D.Type'
content.navigationDestination(item: item, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:24:33: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let presentationPopPublisher = PassthroughSubject<Namespace.ID, Never>()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:4:7: note: add @available attribute to enclosing class
class NavigationAuthority: NSObject, ObservableObject {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:36:5: error: 'transformPreference' is only available in macOS 10.15 or newer
.transformPreference(PresentationIDsKey.self) { ids in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:43:5: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
.onReceive(authority.presentationPopPublisher) { id in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:43:5: note: add 'if #available' version check
.onReceive(authority.presentationPopPublisher) { id in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:55:21: error: 'Binding' is only available in macOS 10.15 or newer
let isPresented = Binding {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:55:21: note: add 'if #available' version check
let isPresented = Binding {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:11: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:64:16: error: 'buildIf' is only available in macOS 10.15 or newer
if let item {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:64:16: note: add 'if #available' version check
if let item {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:66:4: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:66:4: note: add 'if #available' version check
}
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:68: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:68: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:15: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:15: note: add 'if #available' version check
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:28: error: 'environment' is only available in macOS 10.15 or newer
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:28: note: add 'if #available' version check
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:6:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:8: note: add @available attribute to enclosing generic struct
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
func makeUIViewController(context: Context) -> UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UINavigationController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:30: error: 'View' is only available in macOS 10.15 or newer
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:8: note: add @available attribute to enclosing generic struct
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:9:30: error: cannot find 'UINavigationController' in scope
let navigationController = UINavigationController()
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:11:50: error: cannot infer contextual base in reference to member 'default'
navigationController.navigationBar.barStyle = .default
~^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
weak var navigationController: UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:18:121: error: cannot find type 'UIHostingController' in scope
if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:21:29: error: cannot find 'UIHostingController' in scope
let rootViewController = UIHostingController(rootView: root)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:26:13: error: call to main actor-isolated instance method 'update(path:)' in a synchronous nonisolated context
authority.update(path: path)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:80:18: note: calls to instance method 'update(path:)' from outside of its actor context are implicitly asynchronous
@MainActor func update(path: NavigationPathBackport) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:7: note: add '@MainActor' to make instance method 'updateUIViewController(_:context:)' part of global actor 'MainActor'
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^
@MainActor
[13/14] Compiling NavigationStackBackport Presentation.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
var viewControllers: [UIViewController] {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
private let navigationController: UINavigationController
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
private var addedViewControllers: [UIViewController] = []
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:17:29: error: 'AnyView' is only available in macOS 10.15 or newer
mutating func view(_ view: AnyView, at index: Int) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:17:16: note: add @available attribute to enclosing instance method
mutating func view(_ view: AnyView, at index: Int) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:3:19: note: add @available attribute to enclosing struct
@MainActor struct NavigationUpdate {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:21:53: error: cannot find type 'UIHostingController' in scope
(navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = view
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:25:27: error: cannot find 'UIHostingController' in scope
let hostingController = UIHostingController(rootView: view)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:39:27: error: 'nil' requires a contextual type
$0.willMove(toParent: nil)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:45: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:64: error: 'Binding' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:80: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:122: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:58: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:13:9: error: 'Binding' is only available in macOS 10.15 or newer
item: Binding<D?>,
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:14:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder destination: @escaping (D) -> C
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:15:12: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:25:3: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPresented: Bool
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:28:3: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var id
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:29:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationContextId) private var contextId
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:30:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:40: error: 'View' is only available in macOS 10.15 or newer
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:51:3: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var item: D?
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:57: error: 'View' is only available in macOS 10.15 or newer
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:74:12: error: 'AnyView' is only available in macOS 10.15 or newer
let view: AnyView
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:53: error: 'View' is only available in macOS 10.15 or newer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:53: error: 'View' is only available in macOS 10.15 or newer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:84:28: error: 'Namespace' is only available in macOS 11.0 or newer
static var defaultValue: [Namespace.ID] = []
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:84:13: note: add @available attribute to enclosing static property
static var defaultValue: [Namespace.ID] = []
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:35: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:14: note: add @available attribute to enclosing static method
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:68: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:14: note: add @available attribute to enclosing static method
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
content.navigationDestination(isPresented: isPresented, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: note: add 'if #available' version check
content.navigationDestination(isPresented: isPresented, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:127: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:127: note: add 'if #available' version check
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:17:33: error: incorrect argument label in call (have 'item:destination:', expected 'for:destination:')
content.navigationDestination(item: item, destination: destination)
^~~~~
for
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:17:40: error: cannot convert value of type 'Binding<D?>' to expected argument type 'D.Type'
content.navigationDestination(item: item, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:24:33: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let presentationPopPublisher = PassthroughSubject<Namespace.ID, Never>()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:4:7: note: add @available attribute to enclosing class
class NavigationAuthority: NSObject, ObservableObject {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:36:5: error: 'transformPreference' is only available in macOS 10.15 or newer
.transformPreference(PresentationIDsKey.self) { ids in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:43:5: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
.onReceive(authority.presentationPopPublisher) { id in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:43:5: note: add 'if #available' version check
.onReceive(authority.presentationPopPublisher) { id in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:55:21: error: 'Binding' is only available in macOS 10.15 or newer
let isPresented = Binding {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:55:21: note: add 'if #available' version check
let isPresented = Binding {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:11: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:64:16: error: 'buildIf' is only available in macOS 10.15 or newer
if let item {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:64:16: note: add 'if #available' version check
if let item {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:66:4: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:66:4: note: add 'if #available' version check
}
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:68: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:68: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:15: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:15: note: add 'if #available' version check
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:28: error: 'environment' is only available in macOS 10.15 or newer
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:28: note: add 'if #available' version check
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:6:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:8: note: add @available attribute to enclosing generic struct
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
func makeUIViewController(context: Context) -> UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UINavigationController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:30: error: 'View' is only available in macOS 10.15 or newer
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:8: note: add @available attribute to enclosing generic struct
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:9:30: error: cannot find 'UINavigationController' in scope
let navigationController = UINavigationController()
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:11:50: error: cannot infer contextual base in reference to member 'default'
navigationController.navigationBar.barStyle = .default
~^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
weak var navigationController: UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:18:121: error: cannot find type 'UIHostingController' in scope
if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:21:29: error: cannot find 'UIHostingController' in scope
let rootViewController = UIHostingController(rootView: root)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:26:13: error: call to main actor-isolated instance method 'update(path:)' in a synchronous nonisolated context
authority.update(path: path)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:80:18: note: calls to instance method 'update(path:)' from outside of its actor context are implicitly asynchronous
@MainActor func update(path: NavigationPathBackport) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:7: note: add '@MainActor' to make instance method 'updateUIViewController(_:context:)' part of global actor 'MainActor'
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^
@MainActor
[14/14] Compiling NavigationStackBackport UIKitNavigation.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
var viewControllers: [UIViewController] {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
private let navigationController: UINavigationController
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
private var addedViewControllers: [UIViewController] = []
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:17:29: error: 'AnyView' is only available in macOS 10.15 or newer
mutating func view(_ view: AnyView, at index: Int) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:17:16: note: add @available attribute to enclosing instance method
mutating func view(_ view: AnyView, at index: Int) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:3:19: note: add @available attribute to enclosing struct
@MainActor struct NavigationUpdate {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:21:53: error: cannot find type 'UIHostingController' in scope
(navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = view
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:25:27: error: cannot find 'UIHostingController' in scope
let hostingController = UIHostingController(rootView: view)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:39:27: error: 'nil' requires a contextual type
$0.willMove(toParent: nil)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:45: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:64: error: 'Binding' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:80: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:122: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:58: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:13:9: error: 'Binding' is only available in macOS 10.15 or newer
item: Binding<D?>,
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:14:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder destination: @escaping (D) -> C
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:15:12: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:12:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:25:3: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var isPresented: Bool
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:28:3: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var id
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:29:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationContextId) private var contextId
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:30:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:40: error: 'View' is only available in macOS 10.15 or newer
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:51:3: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var item: D?
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:57: error: 'View' is only available in macOS 10.15 or newer
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:74:12: error: 'AnyView' is only available in macOS 10.15 or newer
let view: AnyView
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:53: error: 'View' is only available in macOS 10.15 or newer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:53: error: 'View' is only available in macOS 10.15 or newer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:84:28: error: 'Namespace' is only available in macOS 11.0 or newer
static var defaultValue: [Namespace.ID] = []
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:84:13: note: add @available attribute to enclosing static property
static var defaultValue: [Namespace.ID] = []
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:35: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:14: note: add @available attribute to enclosing static method
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:68: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:86:14: note: add @available attribute to enclosing static method
static func reduce(value: inout [Namespace.ID], nextValue: () -> [Namespace.ID]) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
content.navigationDestination(isPresented: isPresented, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: note: add 'if #available' version check
content.navigationDestination(isPresented: isPresented, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:127: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:127: note: add 'if #available' version check
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:17:33: error: incorrect argument label in call (have 'item:destination:', expected 'for:destination:')
content.navigationDestination(item: item, destination: destination)
^~~~~
for
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:17:40: error: cannot convert value of type 'Binding<D?>' to expected argument type 'D.Type'
content.navigationDestination(item: item, destination: destination)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:24:33: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let presentationPopPublisher = PassthroughSubject<Namespace.ID, Never>()
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:4:7: note: add @available attribute to enclosing class
class NavigationAuthority: NSObject, ObservableObject {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:36:5: error: 'transformPreference' is only available in macOS 10.15 or newer
.transformPreference(PresentationIDsKey.self) { ids in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:43:5: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
.onReceive(authority.presentationPopPublisher) { id in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:43:5: note: add 'if #available' version check
.onReceive(authority.presentationPopPublisher) { id in
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:32:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:24:16: note: add @available attribute to enclosing generic struct
private struct PresentationModifier<C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:55:21: error: 'Binding' is only available in macOS 10.15 or newer
let isPresented = Binding {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:55:21: note: add 'if #available' version check
let isPresented = Binding {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:11: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: warning: conformance of '_ViewModifier_Content<Modifier>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:20: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:64:16: error: 'buildIf' is only available in macOS 10.15 or newer
if let item {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:64:16: note: add 'if #available' version check
if let item {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:66:4: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:66:4: note: add 'if #available' version check
}
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:68: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:63:68: note: add 'if #available' version check
content.backport.navigationDestination(isPresented: isPresented) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:54:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:50:16: note: add @available attribute to enclosing generic struct
private struct ItemPresentationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:15: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:15: note: add 'if #available' version check
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:28: error: 'environment' is only available in macOS 10.15 or newer
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:79:28: note: add 'if #available' version check
self.view = AnyView(view.environment(\.navigationContextId, contextId))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:76:2: note: add @available attribute to enclosing initializer
init(contextId: Int, isPresented: Bool, view: some View) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:6:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:8: note: add @available attribute to enclosing generic struct
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
func makeUIViewController(context: Context) -> UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UINavigationController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:30: error: 'View' is only available in macOS 10.15 or newer
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:8: note: add @available attribute to enclosing generic struct
struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:9:30: error: cannot find 'UINavigationController' in scope
let navigationController = UINavigationController()
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:11:50: error: cannot infer contextual base in reference to member 'default'
navigationController.navigationBar.barStyle = .default
~^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
weak var navigationController: UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:18:121: error: cannot find type 'UIHostingController' in scope
if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:21:29: error: cannot find 'UIHostingController' in scope
let rootViewController = UIHostingController(rootView: root)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:26:13: error: call to main actor-isolated instance method 'update(path:)' in a synchronous nonisolated context
authority.update(path: path)
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:80:18: note: calls to instance method 'update(path:)' from outside of its actor context are implicitly asynchronous
@MainActor func update(path: NavigationPathBackport) {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:7: note: add '@MainActor' to make instance method 'updateUIViewController(_:context:)' part of global actor 'MainActor'
func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
^
@MainActor
BUILD FAILURE 5.8 macosSpm