The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Spices, reference 4.2.2 (a807bc), with Swift 6.0 for macOS (SPM) on 21 May 2025 10:54:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'Section' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:26:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
24 |                 if let header {
25 |                     Text(header)
26 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             } footer: {
28 |                 if let footer {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:23:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
21 |                     dismiss: dismiss
22 |                 )
23 |             } header: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
24 |                 if let header {
25 |                     Text(header)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:30:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
28 |                 if let footer {
29 |                     Text(footer)
30 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |             }
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:27:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
25 |                     Text(header)
26 |                 }
27 |             } footer: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
28 |                 if let footer {
29 |                     Text(footer)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:47:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
45 |                 dismiss: dismiss
46 |             )
47 |             .navigationBarTitleDisplayMode(.inline)
   |              `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
48 |         }
49 |     }
SwiftUI.View:5:29: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | extension View {
5 |     nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
  |                             `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: 'Button' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:60:17: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   |                 |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: 'Text' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:61:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
62 |                 Text(menuItem.name.rawValue)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:64:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
62 |                 Text(menuItem.name.rawValue)
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
   |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:65:17: error: 'NavigationView' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
65 |                 NavigationView {
   |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:67:25: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
   |                         |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
68 |                     }
69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'ForEach' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |     private let title: String
 6 |     private let menuItems: [MenuItem]
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:21:10: error: ambiguous use of 'toolbar(content:)'
19 |         .disabled(!userInteraction.isEnabled)
20 |         .navigationTitle(title)
21 |         .toolbar {
   |          `- error: ambiguous use of 'toolbar(content:)'
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
[33/43] Compiling Spices ChildSpiceStoreMenuItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
 6 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var error: Error?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
 6 |     @State private var isErrorPresented = false
 7 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
   :
 7 |     @State private var error: Error?
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         Button {
11 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:14:21: error: cannot find 'UIApplication' in scope
12 |                 try menuItem.storage.value()
13 |                 if menuItem.requiresRestart {
14 |                     UIApplication.shared.shp_restart()
   |                     `- error: cannot find 'UIApplication' in scope
15 |                 }
16 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:41:24: error: 'View' is only available in macOS 10.15 or newer
35 |
36 | private extension ChildSpiceStoreMenuItemView {
37 |     struct ChildMenuItemListView: View {
   |            `- note: add @available attribute to enclosing struct
38 |         let menuItem: ChildSpiceStoreMenuItem
39 |         let dismiss: () -> Void
40 |
41 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
42 |             MenuItemListView(
43 |                 items: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:56:10: error: 'State' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
57 |
58 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:58:24: error: 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'NavigationLink' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:14:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
12 |             NavigationLink {
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
15 |                 Text(menuItem.name.rawValue)
16 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'Section' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'Section' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:26:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
24 |                 if let header {
25 |                     Text(header)
26 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             } footer: {
28 |                 if let footer {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:23:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
21 |                     dismiss: dismiss
22 |                 )
23 |             } header: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
24 |                 if let header {
25 |                     Text(header)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:30:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
28 |                 if let footer {
29 |                     Text(footer)
30 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |             }
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:27:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
25 |                     Text(header)
26 |                 }
27 |             } footer: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
28 |                 if let footer {
29 |                     Text(footer)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:47:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
45 |                 dismiss: dismiss
46 |             )
47 |             .navigationBarTitleDisplayMode(.inline)
   |              `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
48 |         }
49 |     }
SwiftUI.View:5:29: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | extension View {
5 |     nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
  |                             `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: 'Button' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:60:17: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   |                 |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: 'Text' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:61:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
62 |                 Text(menuItem.name.rawValue)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:64:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
62 |                 Text(menuItem.name.rawValue)
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
   |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:65:17: error: 'NavigationView' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
65 |                 NavigationView {
   |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:67:25: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
   |                         |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
68 |                     }
69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'ForEach' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |     private let title: String
 6 |     private let menuItems: [MenuItem]
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:21:10: error: ambiguous use of 'toolbar(content:)'
19 |         .disabled(!userInteraction.isEnabled)
20 |         .navigationTitle(title)
21 |         .toolbar {
   |          `- error: ambiguous use of 'toolbar(content:)'
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
[34/43] Compiling Spices MenuItemListContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
 6 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var error: Error?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
 6 |     @State private var isErrorPresented = false
 7 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
   :
 7 |     @State private var error: Error?
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         Button {
11 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:14:21: error: cannot find 'UIApplication' in scope
12 |                 try menuItem.storage.value()
13 |                 if menuItem.requiresRestart {
14 |                     UIApplication.shared.shp_restart()
   |                     `- error: cannot find 'UIApplication' in scope
15 |                 }
16 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:41:24: error: 'View' is only available in macOS 10.15 or newer
35 |
36 | private extension ChildSpiceStoreMenuItemView {
37 |     struct ChildMenuItemListView: View {
   |            `- note: add @available attribute to enclosing struct
38 |         let menuItem: ChildSpiceStoreMenuItem
39 |         let dismiss: () -> Void
40 |
41 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
42 |             MenuItemListView(
43 |                 items: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:56:10: error: 'State' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
57 |
58 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:58:24: error: 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'NavigationLink' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:14:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
12 |             NavigationLink {
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
15 |                 Text(menuItem.name.rawValue)
16 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'Section' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'Section' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:26:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
24 |                 if let header {
25 |                     Text(header)
26 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             } footer: {
28 |                 if let footer {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:23:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
21 |                     dismiss: dismiss
22 |                 )
23 |             } header: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
24 |                 if let header {
25 |                     Text(header)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:30:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
28 |                 if let footer {
29 |                     Text(footer)
30 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |             }
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:27:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
25 |                     Text(header)
26 |                 }
27 |             } footer: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
28 |                 if let footer {
29 |                     Text(footer)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:47:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
45 |                 dismiss: dismiss
46 |             )
47 |             .navigationBarTitleDisplayMode(.inline)
   |              `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
48 |         }
49 |     }
SwiftUI.View:5:29: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | extension View {
5 |     nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
  |                             `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: 'Button' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:60:17: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   |                 |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: 'Text' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:61:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
62 |                 Text(menuItem.name.rawValue)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:64:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
62 |                 Text(menuItem.name.rawValue)
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
   |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:65:17: error: 'NavigationView' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
65 |                 NavigationView {
   |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:67:25: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
   |                         |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
68 |                     }
69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'ForEach' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |     private let title: String
 6 |     private let menuItems: [MenuItem]
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:21:10: error: ambiguous use of 'toolbar(content:)'
19 |         .disabled(!userInteraction.isEnabled)
20 |         .navigationTitle(title)
21 |         .toolbar {
   |          `- error: ambiguous use of 'toolbar(content:)'
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
[35/43] Compiling Spices MenuItemListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
 6 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var error: Error?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
 6 |     @State private var isErrorPresented = false
 7 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ButtonMenuItem
 5 |
   :
 7 |     @State private var error: Error?
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         Button {
11 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ButtonMenuItemView.swift:14:21: error: cannot find 'UIApplication' in scope
12 |                 try menuItem.storage.value()
13 |                 if menuItem.requiresRestart {
14 |                     UIApplication.shared.shp_restart()
   |                     `- error: cannot find 'UIApplication' in scope
15 |                 }
16 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:41:24: error: 'View' is only available in macOS 10.15 or newer
35 |
36 | private extension ChildSpiceStoreMenuItemView {
37 |     struct ChildMenuItemListView: View {
   |            `- note: add @available attribute to enclosing struct
38 |         let menuItem: ChildSpiceStoreMenuItem
39 |         let dismiss: () -> Void
40 |
41 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
42 |             MenuItemListView(
43 |                 items: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:56:10: error: 'State' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
57 |
58 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:58:24: error: 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'NavigationLink' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:14:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
12 |             NavigationLink {
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
15 |                 Text(menuItem.name.rawValue)
16 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'Section' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'Section' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:26:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
24 |                 if let header {
25 |                     Text(header)
26 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             } footer: {
28 |                 if let footer {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:23:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
21 |                     dismiss: dismiss
22 |                 )
23 |             } header: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
24 |                 if let header {
25 |                     Text(header)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:30:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
28 |                 if let footer {
29 |                     Text(footer)
30 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |             }
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:27:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
25 |                     Text(header)
26 |                 }
27 |             } footer: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
28 |                 if let footer {
29 |                     Text(footer)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:47:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
45 |                 dismiss: dismiss
46 |             )
47 |             .navigationBarTitleDisplayMode(.inline)
   |              `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
48 |         }
49 |     }
SwiftUI.View:5:29: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | extension View {
5 |     nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
  |                             `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: 'Button' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:60:17: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   |                 |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: 'Text' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:61:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
62 |                 Text(menuItem.name.rawValue)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:64:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
62 |                 Text(menuItem.name.rawValue)
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
   |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:65:17: error: 'NavigationView' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
65 |                 NavigationView {
   |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:67:25: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
   |                         |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
68 |                     }
69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'ForEach' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |     private let title: String
 6 |     private let menuItems: [MenuItem]
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:21:10: error: ambiguous use of 'toolbar(content:)'
19 |         .disabled(!userInteraction.isEnabled)
20 |         .navigationTitle(title)
21 |         .toolbar {
   |          `- error: ambiguous use of 'toolbar(content:)'
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
[36/43] Compiling Spices UIApplication+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[37/43] Compiling Spices UIViewController+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[38/43] Compiling Spices View+RestartOnChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[39/43] Compiling Spices AsyncButtonMenuItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[40/43] Compiling Spices ViewMenuItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
[41/43] Compiling Spices Name.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
[42/43] Compiling Spices Preparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
[43/43] Compiling Spices AnyStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
BUILD FAILURE 6.0 macosSpm