Build Information
Failed to build navigation-stack-backport with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:16:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:52: error: 'View' is only available in macOS 10.15 or newer
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:33:41: error: 'AnyView' is only available in macOS 10.15 or newer
let view: (NavigationPathItem, Int) -> AnyView?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:44: error: 'View' is only available in macOS 10.15 or newer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:44: error: 'View' is only available in macOS 10.15 or newer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:45:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:45:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:57:31: error: 'Namespace' is only available in macOS 11.0 or newer
static var defaultValue: Set<Namespace.ID> = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:57:13: note: add @available attribute to enclosing static property
static var defaultValue: Set<Namespace.ID> = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:38: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:14: note: add @available attribute to enclosing static method
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:74: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:14: note: add @available attribute to enclosing static method
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:9:26: error: 'Namespace' is only available in macOS 11.0 or newer
var destinationIds: Set<Namespace.ID> = [] {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:15:24: error: 'Namespace' is only available in macOS 11.0 or newer
var presentationIds: [Namespace.ID] = [] {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:22:25: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let pathPopPublisher = PassthroughSubject<Int, Never>()
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:28:29: error: 'Namespace' is only available in macOS 11.0 or newer
private var destinations: [Namespace.ID: Destination] = [:]
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:29:30: error: 'Namespace' is only available in macOS 11.0 or newer
private var presentations: [Namespace.ID: Presentation] = [:]
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:34:18: error: 'Namespace' is only available in macOS 11.0 or newer
func update(id: Namespace.ID, destination: Destination) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:34:7: note: add @available attribute to enclosing instance method
func update(id: Namespace.ID, destination: Destination) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:33:1: note: add @available attribute to enclosing extension
extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:45:18: error: 'Namespace' is only available in macOS 11.0 or newer
func update(id: Namespace.ID, presentation: Presentation) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:45:7: note: add @available attribute to enclosing instance method
func update(id: Namespace.ID, presentation: Presentation) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:33:1: note: add @available attribute to enclosing extension
extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
extension NavigationAuthority: UINavigationControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:57: error: 'AnyView' is only available in macOS 10.15 or newer
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:129:45: error: 'Namespace' is only available in macOS 11.0 or newer
func cleanupDestinations(_ removedIds: Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:129:7: note: add @available attribute to enclosing instance method
func cleanupDestinations(_ removedIds: Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:150:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:150:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:4:19: error: 'AnyView' is only available in macOS 10.15 or newer
public let body: AnyView
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:6:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:6:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:14:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) where P: Codable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:14:9: note: add @available attribute to enclosing initializer
public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) where P: Codable {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:22:85: error: 'Text' is only available in macOS 10.15 or newer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:22:39: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:85: error: 'Text' is only available in macOS 10.15 or newer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:30:39: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:38:68: error: 'Text' is only available in macOS 10.15 or newer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:46:68: error: 'Text' is only available in macOS 10.15 or newer
public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:3:37: error: 'View' is only available in macOS 10.15 or newer
public struct NavigationLink<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:59:4: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:56:9: note: add @available attribute to enclosing struct
struct Backport: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:56:9: note: add @available attribute to enclosing struct
struct Backport: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:61:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:56:9: note: add @available attribute to enclosing struct
struct Backport: View {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:3:15: note: add @available attribute to enclosing struct
public struct NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:19: error: 'NavigationPath' is only available in macOS 13.0 or newer
extension SwiftUI.NavigationPath: NavigationPathBox {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:1: note: add @available attribute to enclosing extension
extension SwiftUI.NavigationPath: NavigationPathBox {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:4:19: error: 'AnyView' is only available in macOS 10.15 or newer
public let body: AnyView
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:15: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:20: error: 'Binding' is only available in macOS 10.15 or newer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:46: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:20: error: 'Binding' is only available in macOS 10.15 or newer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:43: error: 'View' is only available in macOS 10.15 or newer
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:39:4: error: 'State' is only available in macOS 10.15 or newer
@State private var path = NavigationPathBackport(items: [])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:41:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:41:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:47:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var path: NavigationPathBackport
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:50:4: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var authority = NavigationAuthority()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:52:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
var viewControllers: [UIViewController] {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:3:19: note: add @available attribute to enclosing struct
@MainActor struct NavigationUpdate {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:71:8: note: add @available attribute to enclosing struct
struct Presentation {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:83:8: note: add @available attribute to enclosing struct
struct PresentationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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) {
^~~~~~~~~~~~~~~~~~~~~~
[8/15] Compiling NavigationStackBackport NavigationUpdate.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
var viewControllers: [UIViewController] {
^~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:3:19: note: add @available attribute to enclosing struct
@MainActor struct NavigationUpdate {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:39:27: error: 'nil' requires a contextual type
$0.willMove(toParent: nil)
^
[9/15] Compiling NavigationStackBackport Destination.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:58: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:83: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:136: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:15:3: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var id
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:16:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:52: error: 'View' is only available in macOS 10.15 or newer
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:33:41: error: 'AnyView' is only available in macOS 10.15 or newer
let view: (NavigationPathItem, Int) -> AnyView?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:44: error: 'View' is only available in macOS 10.15 or newer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:44: error: 'View' is only available in macOS 10.15 or newer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:45:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:45:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:57:31: error: 'Namespace' is only available in macOS 11.0 or newer
static var defaultValue: Set<Namespace.ID> = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:57:13: note: add @available attribute to enclosing static property
static var defaultValue: Set<Namespace.ID> = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:38: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:14: note: add @available attribute to enclosing static method
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:74: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:14: note: add @available attribute to enclosing static method
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:6:12: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
content.navigationDestination(for: D.self, destination: destination)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:6:12: note: add 'if #available' version check
content.navigationDestination(for: D.self, destination: destination)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:141: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:141: note: add 'if #available' version check
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:22:5: error: 'transformPreference' is only available in macOS 10.15 or newer
.transformPreference(DestinationIDsKey.self) { ids in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:22:5: note: add 'if #available' version check
.transformPreference(DestinationIDsKey.self) { ids in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:11: error: 'AnyView' is only available in macOS 10.15 or newer
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:11: note: add 'if #available' version check
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:30: error: 'environment' is only available in macOS 10.15 or newer
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:30: note: add 'if #available' version check
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:9:26: error: 'Namespace' is only available in macOS 11.0 or newer
var destinationIds: Set<Namespace.ID> = [] {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:15:24: error: 'Namespace' is only available in macOS 11.0 or newer
var presentationIds: [Namespace.ID] = [] {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:22:25: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let pathPopPublisher = PassthroughSubject<Int, Never>()
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:28:29: error: 'Namespace' is only available in macOS 11.0 or newer
private var destinations: [Namespace.ID: Destination] = [:]
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:29:30: error: 'Namespace' is only available in macOS 11.0 or newer
private var presentations: [Namespace.ID: Presentation] = [:]
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:34:18: error: 'Namespace' is only available in macOS 11.0 or newer
func update(id: Namespace.ID, destination: Destination) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:34:7: note: add @available attribute to enclosing instance method
func update(id: Namespace.ID, destination: Destination) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:33:1: note: add @available attribute to enclosing extension
extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:45:18: error: 'Namespace' is only available in macOS 11.0 or newer
func update(id: Namespace.ID, presentation: Presentation) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:45:7: note: add @available attribute to enclosing instance method
func update(id: Namespace.ID, presentation: Presentation) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:33:1: note: add @available attribute to enclosing extension
extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
extension NavigationAuthority: UINavigationControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:57: error: 'AnyView' is only available in macOS 10.15 or newer
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:129:45: error: 'Namespace' is only available in macOS 11.0 or newer
func cleanupDestinations(_ removedIds: Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:129:7: note: add @available attribute to enclosing instance method
func cleanupDestinations(_ removedIds: Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:150:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:150:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:55:53: error: cannot find type 'UIHostingController' in scope
(navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = presentation.view
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: error: 'AnyView' is only available in macOS 10.15 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: error: 'Image' is only available in macOS 10.15 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: error: 'init(systemName:)' is only available in macOS 11.0 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
[10/15] Compiling NavigationStackBackport NavigationAuthority.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:58: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:83: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:136: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:15:3: error: 'Namespace' is only available in macOS 11.0 or newer
@Namespace private var id
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:16:3: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.navigationAuthority) private var authority
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:38: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:52: error: 'View' is only available in macOS 10.15 or newer
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:33:41: error: 'AnyView' is only available in macOS 10.15 or newer
let view: (NavigationPathItem, Int) -> AnyView?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:44: error: 'View' is only available in macOS 10.15 or newer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:44: error: 'View' is only available in macOS 10.15 or newer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:45:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:45:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:57:31: error: 'Namespace' is only available in macOS 11.0 or newer
static var defaultValue: Set<Namespace.ID> = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:57:13: note: add @available attribute to enclosing static property
static var defaultValue: Set<Namespace.ID> = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:38: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:14: note: add @available attribute to enclosing static method
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:74: error: 'Namespace' is only available in macOS 11.0 or newer
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:59:14: note: add @available attribute to enclosing static method
static func reduce(value: inout Set<Namespace.ID>, nextValue: () -> Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:56:8: note: add @available attribute to enclosing struct
struct DestinationIDsKey: PreferenceKey {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:6:12: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
content.navigationDestination(for: D.self, destination: destination)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:6:12: note: add 'if #available' version check
content.navigationDestination(for: D.self, destination: destination)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:5:30: note: add 'if #available' version check
if #available(iOS 16.0, *) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:7:10: note: add 'if #available' version check
} else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:141: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:141: note: add 'if #available' version check
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:4:20: note: add @available attribute to enclosing instance method
@ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:3:8: note: add @available attribute to enclosing extension
public extension Backport {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:22:5: error: 'transformPreference' is only available in macOS 10.15 or newer
.transformPreference(DestinationIDsKey.self) { ids in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:22:5: note: add 'if #available' version check
.transformPreference(DestinationIDsKey.self) { ids in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:18:7: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:13:16: note: add @available attribute to enclosing generic struct
private struct DestinationModifier<D: Hashable, C: View>: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:11: error: 'AnyView' is only available in macOS 10.15 or newer
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:11: note: add 'if #available' version check
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:30: error: 'environment' is only available in macOS 10.15 or newer
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:39:30: note: add 'if #available' version check
return AnyView(view(data).environment(\.navigationContextId, contextId))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:36:2: note: add @available attribute to enclosing initializer
init<Data>(view: @escaping (Data) -> some View) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:32:8: note: add @available attribute to enclosing struct
struct Destination {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:9:26: error: 'Namespace' is only available in macOS 11.0 or newer
var destinationIds: Set<Namespace.ID> = [] {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:15:24: error: 'Namespace' is only available in macOS 11.0 or newer
var presentationIds: [Namespace.ID] = [] {
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:22:25: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let pathPopPublisher = PassthroughSubject<Int, Never>()
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:28:29: error: 'Namespace' is only available in macOS 11.0 or newer
private var destinations: [Namespace.ID: Destination] = [:]
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:29:30: error: 'Namespace' is only available in macOS 11.0 or newer
private var presentations: [Namespace.ID: Presentation] = [:]
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:34:18: error: 'Namespace' is only available in macOS 11.0 or newer
func update(id: Namespace.ID, destination: Destination) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:34:7: note: add @available attribute to enclosing instance method
func update(id: Namespace.ID, destination: Destination) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:33:1: note: add @available attribute to enclosing extension
extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:45:18: error: 'Namespace' is only available in macOS 11.0 or newer
func update(id: Namespace.ID, presentation: Presentation) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:45:7: note: add @available attribute to enclosing instance method
func update(id: Namespace.ID, presentation: Presentation) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:33:1: note: add @available attribute to enclosing extension
extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
extension NavigationAuthority: UINavigationControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:57: error: 'AnyView' is only available in macOS 10.15 or newer
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:129:45: error: 'Namespace' is only available in macOS 11.0 or newer
func cleanupDestinations(_ removedIds: Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:129:7: note: add @available attribute to enclosing instance method
func cleanupDestinations(_ removedIds: Set<Namespace.ID>) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:150:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:150:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:55:53: error: cannot find type 'UIHostingController' in scope
(navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = presentation.view
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
init(navigationController: UINavigationController) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: error: 'AnyView' is only available in macOS 10.15 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:10: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: error: 'Image' is only available in macOS 10.15 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: error: 'init(systemName:)' is only available in macOS 11.0 or newer
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:121:18: note: add 'if #available' version check
return AnyView(Image(systemName: "exclamationmark.triangle.fill"))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:114:7: note: add @available attribute to enclosing instance method
func view(for item: NavigationPathItem, index: Int) -> AnyView {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:113:9: note: add @available attribute to enclosing extension
private extension NavigationAuthority {
^
[11/15] Compiling NavigationStackBackport NavigationPathBackport.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:19: error: 'NavigationPath' is only available in macOS 13.0 or newer
extension SwiftUI.NavigationPath: NavigationPathBox {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:1: note: add @available attribute to enclosing extension
extension SwiftUI.NavigationPath: NavigationPathBox {
^
[12/15] Compiling NavigationStackBackport NavigationPathBox.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:19: error: 'NavigationPath' is only available in macOS 13.0 or newer
extension SwiftUI.NavigationPath: NavigationPathBox {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:1: note: add @available attribute to enclosing extension
extension SwiftUI.NavigationPath: NavigationPathBox {
^
[13/15] Compiling NavigationStackBackport NavigationPathItem.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:4:19: error: 'AnyView' is only available in macOS 10.15 or newer
public let body: AnyView
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:15: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:20: error: 'Binding' is only available in macOS 10.15 or newer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:46: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:20: error: 'Binding' is only available in macOS 10.15 or newer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:43: error: 'View' is only available in macOS 10.15 or newer
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:39:4: error: 'State' is only available in macOS 10.15 or newer
@State private var path = NavigationPathBackport(items: [])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:41:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:41:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:47:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var path: NavigationPathBackport
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:50:4: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var authority = NavigationAuthority()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:52:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:22:25: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let pathPopPublisher = PassthroughSubject<Int, Never>()
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:54:6: error: value of type 'UIKitNavigation<some View>' has no member 'ignoresSafeArea'
.ignoresSafeArea()
^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:55:18: error: cannot infer key path type from context; consider explicitly specifying a root type
.environment(\.navigationAuthority, authority)
^
<#Root#>
[14/15] Compiling NavigationStackBackport NavigationStack.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:4:19: error: 'AnyView' is only available in macOS 10.15 or newer
public let body: AnyView
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:15: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:20: error: 'Binding' is only available in macOS 10.15 or newer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:46: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:20: error: 'Binding' is only available in macOS 10.15 or newer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:43: error: 'View' is only available in macOS 10.15 or newer
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:39:4: error: 'State' is only available in macOS 10.15 or newer
@State private var path = NavigationPathBackport(items: [])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:41:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:41:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:37:9: note: add @available attribute to enclosing struct
struct ImplicitStateView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:47:4: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var path: NavigationPathBackport
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:50:4: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var authority = NavigationAuthority()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:52:7: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:46:9: note: add @available attribute to enclosing struct
struct AuthorityView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:6:9: note: add @available attribute to enclosing initializer
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:14:9: note: add @available attribute to enclosing initializer
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:11: error: 'AnyView' is only available in macOS 10.15 or newer
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:11: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:27: note: add 'if #available' version check
body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:22:9: note: add @available attribute to enclosing initializer
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavigationStack<Data, Root: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:22:25: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
let pathPopPublisher = PassthroughSubject<Int, Never>()
^
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:54:6: error: value of type 'UIKitNavigation<some View>' has no member 'ignoresSafeArea'
.ignoresSafeArea()
^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:55:18: error: cannot infer key path type from context; consider explicitly specifying a root type
.environment(\.navigationAuthority, authority)
^
<#Root#>
[15/15] Compiling NavigationStackBackport UIKitNavigation.swift
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:9:30: error: cannot find 'UINavigationController' in scope
let navigationController = UINavigationController()
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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
error: fatalError
BUILD FAILURE 5.10 macosSpm