The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PopoverPresenter, reference main (8bcc99), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 11:27:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c-villain/PopoverPresenter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c-villain/PopoverPresenter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bcc993 Update Package.swift
Cloned https://github.com/c-villain/PopoverPresenter.git
Revision (git rev-parse @):
8bcc993c39a82ef5121f7d0ab55e9caf9a6ae4d3
SUCCESS checkout https://github.com/c-villain/PopoverPresenter.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "popoverpresenter",
      "name": "PopoverPresenter",
      "url": "https://github.com/c-villain/PopoverPresenter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PopoverPresenter",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/c-villain/PopoverPresenter.git
[1/95] Fetching popoverpresenter
Fetched https://github.com/c-villain/PopoverPresenter.git from cache (0.91s)
Creating working copy for https://github.com/c-villain/PopoverPresenter.git
Working copy of https://github.com/c-villain/PopoverPresenter.git resolved at main (8bcc993)
warning: '.resolve-product-dependencies': dependency 'popoverpresenter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/c-villain/PopoverPresenter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module PopoverPresenter
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:12:15: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   |               `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     let onDismiss: (() -> Void)?
14 |     let popoverContent: PopoverContent
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
13 |     let onDismiss: (() -> Void)?
14 |     let popoverContent: PopoverContent
15 |     @State var isAlertPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 |     init(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder popoverContent: (Item?) -> PopoverContent) {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:17:16: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
15 |     @State var isAlertPresented = false
16 |
17 |     init(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder popoverContent: (Item?) -> PopoverContent) {
   |     |          `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
18 |         self.item = item
19 |         self.onDismiss = onDismiss
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:17:65: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
15 |     @State var isAlertPresented = false
16 |
17 |     init(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder popoverContent: (Item?) -> PopoverContent) {
   |     |                                                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
18 |         self.item = item
19 |         self.onDismiss = onDismiss
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:23:48: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        |                                                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:10:101: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        |                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:117: error: 'Identifiable' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                                                                                                     `- error: 'Identifiable' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:142: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:60:45: error: 'Binding' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          |                                  `- error: 'Binding' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:40: error: 'ViewBuilder' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                        `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:99: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                                                                                   `- error: 'View' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:59:18: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
61 |                                       onDismiss: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:8:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 6 | }
 7 |
 8 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
 9 |
10 |     var popoverPresenterKey: PopoverPresenter {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
28 |
29 |     @Published public var isPopoverPresented = false
   |      `- error: 'Published' is only available in macOS 10.15 or newer
30 |     @Published public var currentPopover: AnyView? = nil
31 |     @Published public var activePopover: PopoverType? = nil {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:30:43: error: 'AnyView' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
28 |
29 |     @Published public var isPopoverPresented = false
30 |     @Published public var currentPopover: AnyView? = nil
   |                                           `- error: 'AnyView' is only available in macOS 10.15 or newer
31 |     @Published public var activePopover: PopoverType? = nil {
32 |         willSet {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
28 |
29 |     @Published public var isPopoverPresented = false
30 |     @Published public var currentPopover: AnyView? = nil
   |      `- error: 'Published' is only available in macOS 10.15 or newer
31 |     @Published public var activePopover: PopoverType? = nil {
32 |         willSet {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
   :
29 |     @Published public var isPopoverPresented = false
30 |     @Published public var currentPopover: AnyView? = nil
31 |     @Published public var activePopover: PopoverType? = nil {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
32 |         willSet {
33 |             isPopoverPresented = newValue != nil
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:25:38: error: 'ObservableObject' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
[4/5] Compiling PopoverPresenter CustomPopover.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:12:15: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   |               `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     let onDismiss: (() -> Void)?
14 |     let popoverContent: PopoverContent
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
13 |     let onDismiss: (() -> Void)?
14 |     let popoverContent: PopoverContent
15 |     @State var isAlertPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 |     init(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder popoverContent: (Item?) -> PopoverContent) {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:17:16: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
15 |     @State var isAlertPresented = false
16 |
17 |     init(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder popoverContent: (Item?) -> PopoverContent) {
   |     |          `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
18 |         self.item = item
19 |         self.onDismiss = onDismiss
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:17:65: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
15 |     @State var isAlertPresented = false
16 |
17 |     init(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder popoverContent: (Item?) -> PopoverContent) {
   |     |                                                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
18 |         self.item = item
19 |         self.onDismiss = onDismiss
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:23:48: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        |                                                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:10:101: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        |                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:117: error: 'Identifiable' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                                                                                                     `- error: 'Identifiable' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:142: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:60:45: error: 'Binding' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          |                                  `- error: 'Binding' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:40: error: 'ViewBuilder' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                        `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:62:99: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
   |                                                                                                   `- error: 'View' is only available in macOS 10.15 or newer
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:59:18: error: 'View' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
61 |                                       onDismiss: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:25:16: error: 'ZStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   |                |- error: 'ZStack' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
26 |             content
27 |                 .layoutPriority(1)
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:27:18: error: 'layoutPriority' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
26 |             content
27 |                 .layoutPriority(1)
   |                  |- error: 'layoutPriority' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
28 |                 .blur(radius: isPopoverPresented ? 10 : 0)
29 |                 .clipped()
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:28:18: error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
26 |             content
27 |                 .layoutPriority(1)
28 |                 .blur(radius: isPopoverPresented ? 10 : 0)
   |                  |- error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
29 |                 .clipped()
30 |                 .allowsHitTesting(!isPopoverPresented)
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:29:18: error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
27 |                 .layoutPriority(1)
28 |                 .blur(radius: isPopoverPresented ? 10 : 0)
29 |                 .clipped()
   |                  |- error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
30 |                 .allowsHitTesting(!isPopoverPresented)
31 |                 .zIndex(0)
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:30:18: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
28 |                 .blur(radius: isPopoverPresented ? 10 : 0)
29 |                 .clipped()
30 |                 .allowsHitTesting(!isPopoverPresented)
   |                  |- error: 'allowsHitTesting' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
31 |                 .zIndex(0)
32 |             if isPopoverPresented {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:31:18: error: 'zIndex' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
29 |                 .clipped()
30 |                 .allowsHitTesting(!isPopoverPresented)
31 |                 .zIndex(0)
   |                  |- error: 'zIndex' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
32 |             if isPopoverPresented {
33 |                 /*
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:37:17: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
35 |                  for closing alert
36 |                  */
37 |                 Color.clear
   |                 |- error: 'Color' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
38 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
39 |                     .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:37:23: error: 'clear' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
35 |                  for closing alert
36 |                  */
37 |                 Color.clear
   |                       |- error: 'clear' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
38 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
39 |                     .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:38:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
36 |                  */
37 |                 Color.clear
38 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
   |                      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
39 |                     .contentShape(Rectangle())
40 |                     .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:39:22: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
37 |                 Color.clear
38 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
39 |                     .contentShape(Rectangle())
   |                      |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
40 |                     .onTapGesture {
41 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:39:35: error: 'Rectangle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
37 |                 Color.clear
38 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
39 |                     .contentShape(Rectangle())
   |                                   |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
40 |                     .onTapGesture {
41 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:40:22: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
38 |                     .frame(maxWidth: .infinity, maxHeight: .infinity)
39 |                     .contentShape(Rectangle())
40 |                     .onTapGesture {
   |                      |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
41 |                         withAnimation {
42 |                             item.wrappedValue = nil
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:41:25: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
39 |                     .contentShape(Rectangle())
40 |                     .onTapGesture {
41 |                         withAnimation {
   |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
42 |                             item.wrappedValue = nil
43 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:45:22: error: 'zIndex' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
43 |                         }
44 |                     }
45 |                     .zIndex(1)
   |                      |- error: 'zIndex' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
46 |
47 |                 popoverContent
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:48:22: error: 'transition' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
46 |
47 |                 popoverContent
48 |                     .transition(.asymmetric(insertion: .scale, removal: .move(edge: .bottom)))
   |                      |- error: 'transition' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
49 |                     .clipped()
50 |                     .onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:48:34: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
46 |
47 |                 popoverContent
48 |                     .transition(.asymmetric(insertion: .scale, removal: .move(edge: .bottom)))
   |                                  |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
49 |                     .clipped()
50 |                     .onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:48:57: error: 'scale' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
46 |
47 |                 popoverContent
48 |                     .transition(.asymmetric(insertion: .scale, removal: .move(edge: .bottom)))
   |                                                         |- error: 'scale' is only available in macOS 10.15 or newer
   |                                                         `- note: add 'if #available' version check
49 |                     .clipped()
50 |                     .onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:48:74: error: 'move(edge:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
46 |
47 |                 popoverContent
48 |                     .transition(.asymmetric(insertion: .scale, removal: .move(edge: .bottom)))
   |                                                                          |- error: 'move(edge:)' is only available in macOS 10.15 or newer
   |                                                                          `- note: add 'if #available' version check
49 |                     .clipped()
50 |                     .onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:49:22: error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
47 |                 popoverContent
48 |                     .transition(.asymmetric(insertion: .scale, removal: .move(edge: .bottom)))
49 |                     .clipped()
   |                      |- error: 'clipped(antialiased:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
50 |                     .onDisappear {
51 |                         onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:50:22: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
48 |                     .transition(.asymmetric(insertion: .scale, removal: .move(edge: .bottom)))
49 |                     .clipped()
50 |                     .onDisappear {
   |                      |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
51 |                         onDismiss?()
52 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:53:22: error: 'zIndex' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
51 |                         onDismiss?()
52 |                     }
53 |                     .zIndex(2)
   |                      |- error: 'zIndex' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
54 |             }
55 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:32:35: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
30 |                 .allowsHitTesting(!isPopoverPresented)
31 |                 .zIndex(0)
32 |             if isPopoverPresented {
   |                                   |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
33 |                 /*
34 |                  clear background
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:54:13: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   :
52 |                     }
53 |                     .zIndex(2)
54 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
55 |         }
56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:25:23: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct CustomPopover<Item, PopoverContent>: ViewModifier where Item : Identifiable, PopoverContent: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     var item: Binding<Item?>
   :
21 |     }
22 |
23 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
24 |         let isPopoverPresented = item.wrappedValue != nil
25 |         return ZStack {
   |                       |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                       `- note: add 'if #available' version check
26 |             content
27 |                 .layoutPriority(1)
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:63:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
64 |     }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/CustomPopover.swift:63:9: error: 'modifier' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
60 |     func customPopover<Item, Content>(item: Binding<Item?>,
   |          `- note: add '@available' attribute to enclosing instance method
61 |                                       onDismiss: (() -> Void)? = nil,
62 |                                       @ViewBuilder content: @escaping (Item?) -> Content) -> some View where Item : Identifiable,  Content : View {
63 |         modifier(CustomPopover(item: item, onDismiss: onDismiss, popoverContent: content))
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
64 |     }
65 | }
[5/5] Compiling PopoverPresenter PopoverPresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:8:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 6 | }
 7 |
 8 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
 9 |
10 |     var popoverPresenterKey: PopoverPresenter {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
28 |
29 |     @Published public var isPopoverPresented = false
   |      `- error: 'Published' is only available in macOS 10.15 or newer
30 |     @Published public var currentPopover: AnyView? = nil
31 |     @Published public var activePopover: PopoverType? = nil {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:30:43: error: 'AnyView' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
28 |
29 |     @Published public var isPopoverPresented = false
30 |     @Published public var currentPopover: AnyView? = nil
   |                                           `- error: 'AnyView' is only available in macOS 10.15 or newer
31 |     @Published public var activePopover: PopoverType? = nil {
32 |         willSet {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:30:6: error: 'Published' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
28 |
29 |     @Published public var isPopoverPresented = false
30 |     @Published public var currentPopover: AnyView? = nil
   |      `- error: 'Published' is only available in macOS 10.15 or newer
31 |     @Published public var activePopover: PopoverType? = nil {
32 |         willSet {
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
   :
29 |     @Published public var isPopoverPresented = false
30 |     @Published public var currentPopover: AnyView? = nil
31 |     @Published public var activePopover: PopoverType? = nil {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
32 |         willSet {
33 |             isPopoverPresented = newValue != nil
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:25:38: error: 'ObservableObject' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
<unknown>:0: error: cannot convert value of type 'KeyPath<PopoverPresenter, Bool>' to expected argument type 'ReferenceWritableKeyPath<PopoverPresenter, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<PopoverPresenter, AnyView?>' to expected argument type 'ReferenceWritableKeyPath<PopoverPresenter, AnyView?>'
/Users/admin/builder/spi-builder-workspace/Sources/PopoverPresenter/PopoverPresenter.swift:33:13: error: setter for 'isPopoverPresented' is only available in macOS 10.15 or newer
23 | }
24 |
25 | final public class PopoverPresenter: ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
26 |
27 |     public init() {}
   :
31 |     @Published public var activePopover: PopoverType? = nil {
32 |         willSet {
33 |             isPopoverPresented = newValue != nil
   |             |- error: setter for 'isPopoverPresented' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
34 |         }
35 |     }
<unknown>:0: error: cannot convert value of type 'KeyPath<PopoverPresenter, PopoverType?>' to expected argument type 'ReferenceWritableKeyPath<PopoverPresenter, PopoverType?>'
BUILD FAILURE 6.3 macosSpm