The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ExyteMediaPicker, reference main (ce2eda), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 03:06:17 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/exyte/MediaPicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/MediaPicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ce2eda6 Merge pull request #53 from Shonchik/fix-photo-version
Cloned https://github.com/exyte/MediaPicker.git
Revision (git rev-parse @):
ce2eda6300337d1478a78fc033bce8dd9bf4bb2c
SUCCESS checkout https://github.com/exyte/MediaPicker.git at main
Fetching https://github.com/exyte/AnchoredPopup.git
[1/342] Fetching anchoredpopup
Fetched https://github.com/exyte/AnchoredPopup.git from cache (1.09s)
Computing version for https://github.com/exyte/AnchoredPopup.git
Computed https://github.com/exyte/AnchoredPopup.git at 1.1.3 (1.64s)
Creating working copy for https://github.com/exyte/AnchoredPopup.git
Working copy of https://github.com/exyte/AnchoredPopup.git resolved at 1.1.3
========================================
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": "mediapicker",
      "name": "ExyteMediaPicker",
      "url": "https://github.com/exyte/MediaPicker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MediaPicker",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "anchoredpopup",
          "name": "AnchoredPopup",
          "url": "https://github.com/exyte/AnchoredPopup.git",
          "version": "1.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnchoredPopup",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/exyte/MediaPicker.git
[1/3115] Fetching mediapicker
Fetched https://github.com/exyte/MediaPicker.git from cache (0.85s)
Fetching https://github.com/exyte/AnchoredPopup.git from cache
Fetched https://github.com/exyte/AnchoredPopup.git from cache (0.47s)
Computing version for https://github.com/exyte/AnchoredPopup.git
Computed https://github.com/exyte/AnchoredPopup.git at 1.1.3 (0.54s)
Creating working copy for https://github.com/exyte/AnchoredPopup.git
Working copy of https://github.com/exyte/AnchoredPopup.git resolved at 1.1.3
Creating working copy for https://github.com/exyte/MediaPicker.git
Working copy of https://github.com/exyte/MediaPicker.git resolved at main (ce2eda6)
warning: '.resolve-product-dependencies': dependency 'mediapicker' is not used by any target
Found 1 product dependencies
  - AnchoredPopup
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/exyte/MediaPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module AnchoredPopup
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:35:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
    |                                    `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |     static subscript(id: String) -> AnimationItem? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 29 |     }
 30 |
 31 |     @Published var animations: [AnimationItem] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:33:43: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 31 |     @Published var animations: [AnimationItem] = []
 32 |
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
    |                                           `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:34:43: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 32 |
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
    |                                           `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 35 |     private var cancellables = Set<AnyCancellable>()
 36 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:55:44: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          |                                 `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:96:44: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          |                                 `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:139:6: error: 'State' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:141:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
142 |
143 |     @State private var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:143:37: error: 'AnyCancellable' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
142 |
143 |     @State private var cancellable: AnyCancellable?
    |                                     `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
144 |
145 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:143:6: error: 'State' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
142 |
143 |     @State private var cancellable: AnyCancellable?
    |      `- error: 'State' is only available in macOS 10.15 or newer
144 |
145 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:145:41: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     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
146 |         content
147 |             .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:138:48: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:199:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
197 |     var contentBuilder: () -> V
198 |
199 |     @State private var animatableOpacity: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
200 |     @State private var animatableScale: CGSize = .zero
201 |     @State private var animatableOffset: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:200:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
198 |
199 |     @State private var animatableOpacity: CGFloat = 0
200 |     @State private var animatableScale: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
201 |     @State private var animatableOffset: CGSize = .zero
202 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:201:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
199 |     @State private var animatableOpacity: CGFloat = 0
200 |     @State private var animatableScale: CGSize = .zero
201 |     @State private var animatableOffset: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
202 |
203 |     @State private var triggerButtonFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:203:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
201 |     @State private var animatableOffset: CGSize = .zero
202 |
203 |     @State private var triggerButtonFrame: CGRect = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
204 |     @State private var contentSize: CGSize = .zero
205 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:204:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
202 |
203 |     @State private var triggerButtonFrame: CGRect = .zero
204 |     @State private var contentSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
205 |
206 |     @State private var isAnimating = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:206:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
204 |     @State private var contentSize: CGSize = .zero
205 |
206 |     @State private var isAnimating = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
207 |
208 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:208:20: error: 'View' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
206 |     @State private var isAnimating = false
207 |
208 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
209 |         VStack {
210 |             contentBuilder()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:384:18: error: 'UnitPoint' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
381 |     }
382 |
383 |     private func anchorRelativeBaseOffset(
    |                  `- note: add '@available' attribute to enclosing instance method
384 |         point p: UnitPoint,
    |                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
385 |         contentWidth cw: CGFloat,
386 |         contentHeight ch: CGFloat
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:433:106: error: 'UnitPoint' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
431 |     }
432 |
433 |     private func autoAnchorPoint(contentWidth cw: CGFloat, contentHeight ch: CGFloat, bounds: CGRect) -> UnitPoint {
    |                  |                                                                                       `- error: 'UnitPoint' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
434 |         let candidates: [UnitPoint] = [.topLeading, .topTrailing, .bottomLeading, .bottomTrailing]
435 |         let triggerCenter = CGPoint(x: triggerButtonFrame.midX, y: triggerButtonFrame.midY)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:194:60: error: 'View' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:10:28: error: cannot find type 'UIView' in scope
 8 | import SwiftUI
 9 |
10 | open class UIBackdropView: UIView {
   |                            `- error: cannot find type 'UIView' in scope
11 |     open override class var layerClass: AnyClass {
12 |         NSClassFromString("CABackdropLayer") ?? CALayer.self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:11:29: error: property does not override any property from its superclass
 9 |
10 | open class UIBackdropView: UIView {
11 |     open override class var layerClass: AnyClass {
   |                             `- error: property does not override any property from its superclass
12 |         NSClassFromString("CABackdropLayer") ?? CALayer.self
13 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:19:37: error: cannot find type 'Context' in scope
17 |     public init() {}
18 |
19 |     public func makeUIView(context: Context) -> UIBackdropView {
   |                                     `- error: cannot find type 'Context' in scope
20 |         UIBackdropView()
21 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:23:65: error: cannot find type 'Context' in scope
21 |     }
22 |
23 |     public func updateUIView(_ uiView: UIBackdropView, context: Context) {}
   |                                                                 `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:16:25: error: cannot find type 'UIViewRepresentable' in scope
14 | }
15 |
16 | public struct Backdrop: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
17 |     public init() {}
18 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | public struct Blur: View {
   |               `- note: add '@available' attribute to enclosing struct
27 |     public var radius: CGFloat
28 |     public var opaque: Bool
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
36 |         Backdrop()
37 |             .blur(radius: radius, opaque: opaque)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:13:30: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          |                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:13:49: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          |                                      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:13:163: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          |                                                                                                                                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:17:30: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          |                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
 19 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:17:49: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          |                                      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
 19 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:17:104: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          |                                                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
 19 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:36:34: error: 'UnitPoint' is only available in macOS 10.15 or newer
 33 | // - MARK: Customization parameters
 34 |
 35 | public enum AnchoredPopupPosition {
    |             `- note: add '@available' attribute to enclosing enum
 36 |     case anchorRelative(_ point: UnitPoint, keepInScreenBounds: Bool = true) // popup view will be aligned to anchor view at corresponding proportion
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 37 |     case auto // similar to `anchorRelative(..., keepInScreenBounds: true)` but auto-picks the best anchor `UnitPoint` to keep the popup within safe area
 38 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:38:34: error: 'UnitPoint' is only available in macOS 10.15 or newer
 33 | // - MARK: Customization parameters
 34 |
 35 | public enum AnchoredPopupPosition {
    |             `- note: add '@available' attribute to enclosing enum
 36 |     case anchorRelative(_ point: UnitPoint, keepInScreenBounds: Bool = true) // popup view will be aligned to anchor view at corresponding proportion
 37 |     case auto // similar to `anchorRelative(..., keepInScreenBounds: true)` but auto-picks the best anchor `UnitPoint` to keep the popup within safe area
 38 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 39 |     case absolute(_ point: UnitPoint, position: CGPoint) // popup will be placed at exact screen position, with point specifying which part of popup aligns to that position
 40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:39:28: error: 'UnitPoint' is only available in macOS 10.15 or newer
 33 | // - MARK: Customization parameters
 34 |
 35 | public enum AnchoredPopupPosition {
    |             `- note: add '@available' attribute to enclosing enum
 36 |     case anchorRelative(_ point: UnitPoint, keepInScreenBounds: Bool = true) // popup view will be aligned to anchor view at corresponding proportion
 37 |     case auto // similar to `anchorRelative(..., keepInScreenBounds: true)` but auto-picks the best anchor `UnitPoint` to keep the popup within safe area
 38 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
 39 |     case absolute(_ point: UnitPoint, position: CGPoint) // popup will be placed at exact screen position, with point specifying which part of popup aligns to that position
    |                            `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:44:16: error: 'Color' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 45 |     case blur(radius: CGFloat = 6)
 46 |     case view(AnyView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:46:15: error: 'AnyView' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
 45 |     case blur(radius: CGFloat = 6)
 46 |     case view(AnyView)
    |               `- error: 'AnyView' is only available in macOS 10.15 or newer
 47 |
 48 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:49:26: error: 'View' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
    :
 47 |
 48 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
 49 |     public init<Content: View>(viewBuilder: @escaping () -> Content) {
    |            |             `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 50 |         self = .view(AnyView(viewBuilder()))
 51 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:56:33: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 52 | }
 53 |
 54 | public struct PopupParameters {
    |               `- note: add '@available' attribute to enclosing struct
 55 |     var position: AnchoredPopupPosition = .screenRelative()
 56 |     var animation: Animation = .easeIn(duration: 0.3)
    |                                 `- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 57 |
 58 |     /// Should open popup on tap on the anchor view
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:56:20: error: 'Animation' is only available in macOS 10.15 or newer
 52 | }
 53 |
 54 | public struct PopupParameters {
    |               `- note: add '@available' attribute to enclosing struct
 55 |     var position: AnchoredPopupPosition = .screenRelative()
 56 |     var animation: Animation = .easeIn(duration: 0.3)
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 57 |
 58 |     /// Should open popup on tap on the anchor view
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:79:40: error: 'Animation' is only available in macOS 10.15 or newer
 52 | }
 53 |
 54 | public struct PopupParameters {
    |               `- note: add '@available' attribute to enclosing struct
 55 |     var position: AnchoredPopupPosition = .screenRelative()
 56 |     var animation: Animation = .easeIn(duration: 0.3)
    :
 77 |
 78 |     /// Appear/disappear animation - default is `easeOut`
 79 |     public func animation(_ animation: Animation) -> PopupParameters {
    |                 |                      `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 80 |         var params = self
 81 |         params.animation = animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:129:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
127 | }
128 |
129 | public extension EnvironmentValues {
    |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
130 |     var anchoredPopupDismiss: SendableClosure? {
131 |         get { self[AnchoredPopupDismissKey.self] }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
36 |     var background: AnchoredPopupBackground
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
37 |
38 |     @State private var animatableOpacity: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
39 |
40 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:40:20: error: 'View' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
   :
38 |     @State private var animatableOpacity: CGFloat = 0
39 |
40 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
41 |         ZStack {
42 |             Group {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:90:42: error: cannot find type 'UIView' in scope
88 | /// A special view to handle hit-testing on background parts of popup content
89 | struct PopupHitTestingBackground: UIViewRepresentable {
90 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
91 |         let view = UIView()
92 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:90:30: error: cannot find type 'Context' in scope
88 | /// A special view to handle hit-testing on background parts of popup content
89 | struct PopupHitTestingBackground: UIViewRepresentable {
90 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
91 |         let view = UIView()
92 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:97:33: error: cannot find type 'UIView' in scope
95 |     }
96 |
97 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:97:50: error: cannot find type 'Context' in scope
95 |     }
96 |
97 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:89:35: error: cannot find type 'UIViewRepresentable' in scope
87 |
88 | /// A special view to handle hit-testing on background parts of popup content
89 | struct PopupHitTestingBackground: UIViewRepresentable {
   |                                   `- error: cannot find type 'UIViewRepresentable' in scope
90 |     func makeUIView(context: Context) -> UIView {
91 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:13:27: error: cannot find type 'UIWindow' in scope
11 | final class WindowManager {
12 | 	static let shared = WindowManager()
13 |     var windows: [String: UIWindow] = [:]
   |                           `- error: cannot find type 'UIWindow' in scope
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:15:40: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | final class WindowManager {
   |             `- note: add '@available' attribute to enclosing class
12 | 	static let shared = WindowManager()
13 |     var windows: [String: UIWindow] = [:]
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
   |                 |                      `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing static method
16 | 		guard let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene else {
17 | 			print("No valid scene available")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:41:28: error: cannot find type 'UIWindow' in scope
39 | }
40 |
41 | class UIPassthroughWindow: UIWindow {
   |                            `- error: cannot find type 'UIWindow' in scope
42 |     var id: String
43 |     var closeOnTapOutside: Bool
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:46:23: error: cannot find type 'UIWindowScene' in scope
44 |     var isPassthrough: Bool
45 |
46 |     init(windowScene: UIWindowScene, id: String, closeOnTapOutside: Bool, isPassthrough: Bool) {
   |                       `- error: cannot find type 'UIWindowScene' in scope
47 |         self.id = id
48 |         self.closeOnTapOutside = closeOnTapOutside
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:57:70: error: cannot find type 'UIView' in scope
55 |     }
56 |
57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
   |                                                                      `- error: cannot find type 'UIView' in scope
58 |         guard let vc = self.rootViewController else {
59 |             return nil // pass to next window
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:57:57: error: cannot find type 'UIEvent' in scope
55 |     }
56 |
57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
   |                                                         `- error: cannot find type 'UIEvent' in scope
58 |         guard let vc = self.rootViewController else {
59 |             return nil // pass to next window
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:70: error: cannot find type 'UIView' in scope
82 |     }
83 |
84 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
   |                                                                      `- error: cannot find type 'UIView' in scope
85 |         for subview in vc.subviews {
86 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:59: error: cannot find type 'UIView' in scope
82 |     }
83 |
84 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
   |                                                           `- error: cannot find type 'UIView' in scope
85 |         for subview in vc.subviews {
86 |             if subview.frame.contains(point) {
[5/10] Compiling AnchoredPopup AnchoredPopup.swift
[6/10] Compiling AnchoredPopup Utils.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
36 |     var background: AnchoredPopupBackground
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
37 |
38 |     @State private var animatableOpacity: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
39 |
40 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:40:20: error: 'View' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
   :
38 |     @State private var animatableOpacity: CGFloat = 0
39 |
40 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
41 |         ZStack {
42 |             Group {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:90:42: error: cannot find type 'UIView' in scope
88 | /// A special view to handle hit-testing on background parts of popup content
89 | struct PopupHitTestingBackground: UIViewRepresentable {
90 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
91 |         let view = UIView()
92 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:90:30: error: cannot find type 'Context' in scope
88 | /// A special view to handle hit-testing on background parts of popup content
89 | struct PopupHitTestingBackground: UIViewRepresentable {
90 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
91 |         let view = UIView()
92 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:97:33: error: cannot find type 'UIView' in scope
95 |     }
96 |
97 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:97:50: error: cannot find type 'Context' in scope
95 |     }
96 |
97 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:89:35: error: cannot find type 'UIViewRepresentable' in scope
87 |
88 | /// A special view to handle hit-testing on background parts of popup content
89 | struct PopupHitTestingBackground: UIViewRepresentable {
   |                                   `- error: cannot find type 'UIViewRepresentable' in scope
90 |     func makeUIView(context: Context) -> UIView {
91 |         let view = UIView()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:11:5: error: cannot find 'UIApplication' in scope
 9 |
10 | @MainActor func hideKeyboard() {
11 |     UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |     `- error: cannot find 'UIApplication' in scope
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:11:47: error: cannot find 'UIResponder' in scope
 9 |
10 | @MainActor func hideKeyboard() {
11 |     UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                               `- error: cannot find 'UIResponder' in scope
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:11:86: error: 'nil' requires a contextual type
 9 |
10 | @MainActor func hideKeyboard() {
11 |     UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                      `- error: 'nil' requires a contextual type
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:11:97: error: 'nil' requires a contextual type
 9 |
10 | @MainActor func hideKeyboard() {
11 |     UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                 `- error: 'nil' requires a contextual type
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:11:107: error: 'nil' requires a contextual type
 9 |
10 | @MainActor func hideKeyboard() {
11 |     UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                           `- error: 'nil' requires a contextual type
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:35:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
    |                                    `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |     static subscript(id: String) -> AnimationItem? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:63:18: error: value of type 'PopupHitTestingBackground' has no member 'ignoresSafeArea'
61 |
62 |             PopupHitTestingBackground()
63 |                 .ignoresSafeArea()
   |                  `- error: value of type 'PopupHitTestingBackground' has no member 'ignoresSafeArea'
64 |         }
65 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:69:13: error: 'withAnimation' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
   :
65 |     }
66 |
67 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
   |                  `- note: add '@available' attribute to enclosing instance method
68 |         DispatchQueue.main.async {
69 |             withAnimation(.easeInOut(duration: 0.2)) {
   |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
70 |                 if animation.state == .growing {
71 |                     setDisplayedState()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:69:28: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
   :
65 |     }
66 |
67 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
   |                  `- note: add '@available' attribute to enclosing instance method
68 |         DispatchQueue.main.async {
69 |             withAnimation(.easeInOut(duration: 0.2)) {
   |                            |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
70 |                 if animation.state == .growing {
71 |                     setDisplayedState()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:80:9: error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
   :
77 |     }
78 |
79 |     private func setHiddenState() {
   |                  `- note: add '@available' attribute to enclosing instance method
80 |         animatableOpacity = 0
   |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
81 |     }
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:84:9: error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
32 | // MARK: - AnimatedBackgroundView
33 |
34 | struct AnimatedBackgroundView: View {
   |        `- note: add '@available' attribute to enclosing struct
35 |     @Binding var id: String
36 |     var background: AnchoredPopupBackground
   :
81 |     }
82 |
83 |     private func setDisplayedState() {
   |                  `- note: add '@available' attribute to enclosing instance method
84 |         animatableOpacity = 1
   |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
85 |     }
86 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:91:20: error: cannot find 'UIView' in scope
89 | struct PopupHitTestingBackground: UIViewRepresentable {
90 |     func makeUIView(context: Context) -> UIView {
91 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
92 |         view.backgroundColor = .clear
93 |         view.isUserInteractionEnabled = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:92:33: error: cannot infer contextual base in reference to member 'clear'
90 |     func makeUIView(context: Context) -> UIView {
91 |         let view = UIView()
92 |         view.backgroundColor = .clear
   |                                 `- error: cannot infer contextual base in reference to member 'clear'
93 |         view.isUserInteractionEnabled = false
94 |         return view
[7/10] Compiling AnchoredPopup AnchoredAnimationManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:35:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
    |                                    `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |     static subscript(id: String) -> AnimationItem? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 29 |     }
 30 |
 31 |     @Published var animations: [AnimationItem] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:33:43: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 31 |     @Published var animations: [AnimationItem] = []
 32 |
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
    |                                           `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:34:43: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 32 |
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
    |                                           `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 35 |     private var cancellables = Set<AnyCancellable>()
 36 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:55:44: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          |                                 `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:96:44: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          |                                 `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:139:6: error: 'State' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:141:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
142 |
143 |     @State private var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:143:37: error: 'AnyCancellable' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
142 |
143 |     @State private var cancellable: AnyCancellable?
    |                                     `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
144 |
145 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:143:6: error: 'State' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
141 |     @ViewBuilder var contentBuilder: () -> V
142 |
143 |     @State private var cancellable: AnyCancellable?
    |      `- error: 'State' is only available in macOS 10.15 or newer
144 |
145 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:145:41: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     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
146 |         content
147 |             .overlay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:138:48: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:199:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
197 |     var contentBuilder: () -> V
198 |
199 |     @State private var animatableOpacity: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
200 |     @State private var animatableScale: CGSize = .zero
201 |     @State private var animatableOffset: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:200:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
198 |
199 |     @State private var animatableOpacity: CGFloat = 0
200 |     @State private var animatableScale: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
201 |     @State private var animatableOffset: CGSize = .zero
202 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:201:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
199 |     @State private var animatableOpacity: CGFloat = 0
200 |     @State private var animatableScale: CGSize = .zero
201 |     @State private var animatableOffset: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
202 |
203 |     @State private var triggerButtonFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:203:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
201 |     @State private var animatableOffset: CGSize = .zero
202 |
203 |     @State private var triggerButtonFrame: CGRect = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
204 |     @State private var contentSize: CGSize = .zero
205 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:204:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
202 |
203 |     @State private var triggerButtonFrame: CGRect = .zero
204 |     @State private var contentSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
205 |
206 |     @State private var isAnimating = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:206:6: error: 'State' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
204 |     @State private var contentSize: CGSize = .zero
205 |
206 |     @State private var isAnimating = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
207 |
208 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:208:20: error: 'View' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
206 |     @State private var isAnimating = false
207 |
208 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
209 |         VStack {
210 |             contentBuilder()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:384:18: error: 'UnitPoint' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
381 |     }
382 |
383 |     private func anchorRelativeBaseOffset(
    |                  `- note: add '@available' attribute to enclosing instance method
384 |         point p: UnitPoint,
    |                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
385 |         contentWidth cw: CGFloat,
386 |         contentHeight ch: CGFloat
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:433:106: error: 'UnitPoint' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
431 |     }
432 |
433 |     private func autoAnchorPoint(contentWidth cw: CGFloat, contentHeight ch: CGFloat, bounds: CGRect) -> UnitPoint {
    |                  |                                                                                       `- error: 'UnitPoint' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
434 |         let candidates: [UnitPoint] = [.topLeading, .topTrailing, .bottomLeading, .bottomTrailing]
435 |         let triggerCenter = CGPoint(x: triggerButtonFrame.midX, y: triggerButtonFrame.midY)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:194:60: error: 'View' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
<unknown>:0: error: cannot convert value of type 'KeyPath<AnchoredAnimationManager, [AnchoredAnimationManager.AnimationItem]>' to expected argument type 'ReferenceWritableKeyPath<AnchoredAnimationManager, [AnchoredAnimationManager.AnimationItem]>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:43:13: error: cannot pass as inout because setter for 'animations' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 39 |     }
 40 |
 41 |     func changeStateForAnimation(for id: String, state: GrowingViewState) {
    |          `- note: add '@available' attribute to enclosing instance method
 42 |         if let index = animations.firstIndex(where: { $0.id == id }) {
 43 |             animations[index].state = state
    |             |- error: cannot pass as inout because setter for 'animations' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 44 |         }
 45 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:49:13: error: cannot pass as inout because setter for 'animations' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 45 |     }
 46 |
 47 |    func updateFrame(for id: String, frame: CGRect) {
    |         `- note: add '@available' attribute to enclosing instance method
 48 |         if let index = animations.firstIndex(where: { $0.id == id }) {
 49 |             animations[index].buttonFrame = frame
    |             |- error: cannot pass as inout because setter for 'animations' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 50 |         } else {
 51 |             animations.append(AnimationItem(id: id, buttonFrame: frame, state: .hidden))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:51:13: error: cannot pass as inout because setter for 'animations' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 45 |     }
 46 |
 47 |    func updateFrame(for id: String, frame: CGRect) {
    |         `- note: add '@available' attribute to enclosing instance method
 48 |         if let index = animations.firstIndex(where: { $0.id == id }) {
 49 |             animations[index].buttonFrame = frame
 50 |         } else {
 51 |             animations.append(AnimationItem(id: id, buttonFrame: frame, state: .hidden))
    |             |- error: cannot pass as inout because setter for 'animations' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 52 |         }
 53 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:64:23: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
    :
 62 |
 63 |         // Create a CurrentValueSubject to hold the current value
 64 |         let subject = CurrentValueSubject<AnimationItem?, Never>(nil)
    |                       |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 65 |
 66 |         // Generate the publisher and handle state changes
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:68:14: error: 'map' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
    :
 66 |         // Generate the publisher and handle state changes
 67 |         $animations
 68 |             .map { animations in
    |              |- error: 'map' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 69 |                 animations.first { $0.id == id }
 70 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:71:14: error: 'compactMap' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
    :
 69 |                 animations.first { $0.id == id }
 70 |             }
 71 |             .compactMap { $0 }
    |              |- error: 'compactMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 72 |             .filter { newItem in
 73 |                 if let last = lastValue {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:72:14: error: 'filter' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
    :
 70 |             }
 71 |             .compactMap { $0 }
 72 |             .filter { newItem in
    |              |- error: 'filter' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 73 |                 if let last = lastValue {
 74 |                     // Only emit if the item has changed from the last value
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:86:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
    :
 84 |                 }
 85 |             }
 86 |             .sink { newItem in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 87 |                 // Emit the value to the CurrentValueSubject
 88 |                 subject.send(newItem)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:90:14: error: 'store(in:)' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 53 |     }
 54 |
 55 |     func statePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 56 |         if let publisher = statePublishers[id] {
 57 |             return publisher
    :
 88 |                 subject.send(newItem)
 89 |             }
 90 |             .store(in: &cancellables)
    |              |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 91 |
 92 |         statePublishers[id] = subject
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:105:23: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
    :
103 |
104 |         // Create a CurrentValueSubject to hold the current value
105 |         let subject = CurrentValueSubject<AnimationItem?, Never>(nil)
    |                       |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
106 |
107 |         // Generate the publisher and handle state changes
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:109:14: error: 'map' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
    :
107 |         // Generate the publisher and handle state changes
108 |         $animations
109 |             .map { animations in
    |              |- error: 'map' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
110 |                 animations.first { $0.id == id }
111 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:112:14: error: 'compactMap' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
    :
110 |                 animations.first { $0.id == id }
111 |             }
112 |             .compactMap { $0 }
    |              |- error: 'compactMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
113 |             .filter { newItem in
114 |                 if let last = lastValue {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:113:14: error: 'filter' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
    :
111 |             }
112 |             .compactMap { $0 }
113 |             .filter { newItem in
    |              |- error: 'filter' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
114 |                 if let last = lastValue {
115 |                     // Only emit if the item has changed from the last value
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:127:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
    :
125 |                 }
126 |             }
127 |             .sink { newItem in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
128 |                 // Emit the value to the CurrentValueSubject
129 |                 subject.send(newItem)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:131:14: error: 'store(in:)' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 94 |     }
 95 |
 96 |     func framePublisher(for id: String) -> CurrentValueSubject<AnimationItem?, Never> {
    |          `- note: add '@available' attribute to enclosing instance method
 97 |         if let publisher = framePublishers[id] {
 98 |             return publisher
    :
129 |                 subject.send(newItem)
130 |             }
131 |             .store(in: &cancellables)
    |              |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
132 |
133 |         framePublishers[id] = subject
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:147:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
148 |                 GeometryReader { geo in
149 |                     Color.clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:148:17: error: 'GeometryReader' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
148 |                 GeometryReader { geo in
    |                 |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
149 |                     Color.clear
150 |                         .preference(key: ButtonFramePreferenceKey.self, value: ButtonFrameInfo(id: id, frame: geo.frame(in: .global)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:149:21: error: 'Color' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
148 |                 GeometryReader { geo in
149 |                     Color.clear
    |                     |- error: 'Color' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
150 |                         .preference(key: ButtonFramePreferenceKey.self, value: ButtonFrameInfo(id: id, frame: geo.frame(in: .global)))
151 |                 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:149:27: error: 'clear' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
148 |                 GeometryReader { geo in
149 |                     Color.clear
    |                           |- error: 'clear' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
150 |                         .preference(key: ButtonFramePreferenceKey.self, value: ButtonFrameInfo(id: id, frame: geo.frame(in: .global)))
151 |                 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:150:26: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
148 |                 GeometryReader { geo in
149 |                     Color.clear
150 |                         .preference(key: ButtonFramePreferenceKey.self, value: ButtonFrameInfo(id: id, frame: geo.frame(in: .global)))
    |                          |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
151 |                 }
152 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:150:115: error: 'frame(in:)' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
148 |                 GeometryReader { geo in
149 |                     Color.clear
150 |                         .preference(key: ButtonFramePreferenceKey.self, value: ButtonFrameInfo(id: id, frame: geo.frame(in: .global)))
    |                                                                                                                   |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                                                                   `- note: add 'if #available' version check
151 |                 }
152 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:153:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
151 |                 }
152 |             }
153 |             .onPreferenceChange(ButtonFramePreferenceKey.self) { value in
    |              |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
154 |                 DispatchQueue.main.async {
155 |                     if id == value.id {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:160:14: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
158 |                 }
159 |             }
160 |             .simultaneousGesture(
    |              |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
161 |                 params.openOnTap ? TapGesture().onEnded { _ in
162 |                     // trigger displaying animation only if popup is hidden
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:161:36: error: 'TapGesture' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
159 |             }
160 |             .simultaneousGesture(
161 |                 params.openOnTap ? TapGesture().onEnded { _ in
    |                                    |- error: 'TapGesture' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
162 |                     // trigger displaying animation only if popup is hidden
163 |                     let currentState = AnchoredAnimationManager.shared.animations.first(where: { $0.id == id })?.state
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:161:49: error: 'onEnded' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
159 |             }
160 |             .simultaneousGesture(
161 |                 params.openOnTap ? TapGesture().onEnded { _ in
    |                                                 |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
162 |                     // trigger displaying animation only if popup is hidden
163 |                     let currentState = AnchoredAnimationManager.shared.animations.first(where: { $0.id == id })?.state
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:170:14: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
168 |                 } : nil
169 |             )
170 |             .onReceive(AnchoredAnimationManager.shared.statePublisher(for: id)) { animation in
    |              |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
171 |                 if animation?.state == .growing {
172 |                     WindowManager.openNewWindow(id: id, closeOnTapOutside: params.closeOnTapOutside, isPassthrough: params.isPassthrough) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:173:25: error: 'ZStack' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
171 |                 if animation?.state == .growing {
172 |                     WindowManager.openNewWindow(id: id, closeOnTapOutside: params.closeOnTapOutside, isPassthrough: params.isPassthrough) {
173 |                         ZStack {
    |                         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
174 |                             AnimatedBackgroundView(id: $id, background: params.background)
175 |                                 .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:175:34: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
173 |                         ZStack {
174 |                             AnimatedBackgroundView(id: $id, background: params.background)
175 |                                 .simultaneousGesture(
    |                                  |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
176 |                                     TapGesture().onEnded {
177 |                                         if params.closeOnTapOutside {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:176:37: error: 'TapGesture' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
174 |                             AnimatedBackgroundView(id: $id, background: params.background)
175 |                                 .simultaneousGesture(
176 |                                     TapGesture().onEnded {
    |                                     |- error: 'TapGesture' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
177 |                                         if params.closeOnTapOutside {
178 |                                             // trigger hiding animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:176:50: error: 'onEnded' is only available in macOS 10.15 or newer
136 | }
137 |
138 | struct TriggerButton<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
139 |     @State var id: String
140 |     var params: PopupParameters
    :
143 |     @State private var cancellable: AnyCancellable?
144 |
145 |     func body(content: Content) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
146 |         content
147 |             .overlay {
    :
174 |                             AnimatedBackgroundView(id: $id, background: params.background)
175 |                                 .simultaneousGesture(
176 |                                     TapGesture().onEnded {
    |                                                  |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
177 |                                         if params.closeOnTapOutside {
178 |                                             // trigger hiding animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:223:54: error: cannot find 'UIScreen' in scope
221 |                 .scaleEffect(animatableScale)
222 |                 .offset(animatableOffset)
223 |                 .offset(x: triggerButtonFrame.midX - UIScreen.main.bounds.width / 2,
    |                                                      `- error: cannot find 'UIScreen' in scope
224 |                         y: triggerButtonFrame.midY - UIScreen.main.bounds.height / 2)
225 |                 .opacity(animatableOpacity)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:224:54: error: cannot find 'UIScreen' in scope
222 |                 .offset(animatableOffset)
223 |                 .offset(x: triggerButtonFrame.midX - UIScreen.main.bounds.width / 2,
224 |                         y: triggerButtonFrame.midY - UIScreen.main.bounds.height / 2)
    |                                                      `- error: cannot find 'UIScreen' in scope
225 |                 .opacity(animatableOpacity)
226 |                 .ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:256:13: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
246 |     }
247 |
248 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add '@available' attribute to enclosing instance method
249 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
250 |
    :
254 |
255 |         if animation.state == .growing {
256 |             isAnimating = true
    |             |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
257 |             setHiddenState()
258 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:260:17: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
246 |     }
247 |
248 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add '@available' attribute to enclosing instance method
249 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
250 |
    :
258 |
259 |             if #available(iOS 17.0, *) {
260 |                 withAnimation(params.animation) {
    |                 |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
261 |                     setDisplayedState()
262 |                 } completion: {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:268:21: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
246 |     }
247 |
248 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add '@available' attribute to enclosing instance method
249 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
250 |
    :
266 |                         AnchoredAnimationManager.shared.changeStateForAnimation(for: id, state: .displayed)
267 |                     }
268 |                     isAnimating = false
    |                     |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
269 |                 }
270 |             } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:283:13: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
246 |     }
247 |
248 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add '@available' attribute to enclosing instance method
249 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
250 |
    :
281 |             }
282 |         } else if animation.state == .shrinking {
283 |             isAnimating = true
    |             |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
284 |             if #available(iOS 17.0, *) {
285 |                 withAnimation(params.animation) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:285:17: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
246 |     }
247 |
248 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add '@available' attribute to enclosing instance method
249 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
250 |
    :
283 |             isAnimating = true
284 |             if #available(iOS 17.0, *) {
285 |                 withAnimation(params.animation) {
    |                 |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
286 |                     setHiddenState()
287 |                 } completion: {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:289:21: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
246 |     }
247 |
248 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add '@available' attribute to enclosing instance method
249 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
250 |
    :
287 |                 } completion: {
288 |                     AnchoredAnimationManager.shared.changeStateForAnimation(for: id, state: .hidden)
289 |                     isAnimating = false
    |                     |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
290 |                 }
291 |             } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:304:9: error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
301 |     }
302 |
303 |     private func setHiddenState() {
    |                  `- note: add '@available' attribute to enclosing instance method
304 |         animatableOffset = .zero
    |         |- error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
305 |         animatableScale = calculateHiddenScale()
306 |         animatableOpacity = 0
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:305:9: error: setter for 'animatableScale' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
301 |     }
302 |
303 |     private func setHiddenState() {
    |                  `- note: add '@available' attribute to enclosing instance method
304 |         animatableOffset = .zero
305 |         animatableScale = calculateHiddenScale()
    |         |- error: setter for 'animatableScale' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
306 |         animatableOpacity = 0
307 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:306:9: error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
301 |     }
302 |
303 |     private func setHiddenState() {
    |                  `- note: add '@available' attribute to enclosing instance method
304 |         animatableOffset = .zero
305 |         animatableScale = calculateHiddenScale()
306 |         animatableOpacity = 0
    |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
307 |     }
308 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:310:9: error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
307 |     }
308 |
309 |     private func setDisplayedState() {
    |                  `- note: add '@available' attribute to enclosing instance method
310 |         animatableOffset = calculateDisplayedOffset()
    |         |- error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
311 |         animatableScale = CGSize(width: 1, height: 1)
312 |         animatableOpacity = 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:311:9: error: setter for 'animatableScale' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
307 |     }
308 |
309 |     private func setDisplayedState() {
    |                  `- note: add '@available' attribute to enclosing instance method
310 |         animatableOffset = calculateDisplayedOffset()
311 |         animatableScale = CGSize(width: 1, height: 1)
    |         |- error: setter for 'animatableScale' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
312 |         animatableOpacity = 1
313 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:312:9: error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
307 |     }
308 |
309 |     private func setDisplayedState() {
    |                  `- note: add '@available' attribute to enclosing instance method
310 |         animatableOffset = calculateDisplayedOffset()
311 |         animatableScale = CGSize(width: 1, height: 1)
312 |         animatableOpacity = 1
    |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
313 |     }
314 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:354:22: error: cannot find 'UIScreen' in scope
352 |             let tx = triggerButtonFrame.midX
353 |             let ty = triggerButtonFrame.midY
354 |             let sw = UIScreen.main.bounds.width
    |                      `- error: cannot find 'UIScreen' in scope
355 |             let sh = UIScreen.main.bounds.height
356 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:355:22: error: cannot find 'UIScreen' in scope
353 |             let ty = triggerButtonFrame.midY
354 |             let sw = UIScreen.main.bounds.width
355 |             let sh = UIScreen.main.bounds.height
    |                      `- error: cannot find 'UIScreen' in scope
356 |
357 |             // normalization: (0, 1) -> (1, -1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:434:26: error: 'UnitPoint' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
431 |     }
432 |
433 |     private func autoAnchorPoint(contentWidth cw: CGFloat, contentHeight ch: CGFloat, bounds: CGRect) -> UnitPoint {
    |                  `- note: add '@available' attribute to enclosing instance method
434 |         let candidates: [UnitPoint] = [.topLeading, .topTrailing, .bottomLeading, .bottomTrailing]
    |                          |- error: 'UnitPoint' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
435 |         let triggerCenter = CGPoint(x: triggerButtonFrame.midX, y: triggerButtonFrame.midY)
436 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:441:39: error: 'UnitPoint' is only available in macOS 10.15 or newer
192 |
193 | @MainActor
194 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add '@available' attribute to enclosing generic struct
195 |     var id: String
196 |     var params: PopupParameters
    :
431 |     }
432 |
433 |     private func autoAnchorPoint(contentWidth cw: CGFloat, contentHeight ch: CGFloat, bounds: CGRect) -> UnitPoint {
    |                  `- note: add '@available' attribute to enclosing instance method
434 |         let candidates: [UnitPoint] = [.topLeading, .topTrailing, .bottomLeading, .bottomTrailing]
435 |         let triggerCenter = CGPoint(x: triggerButtonFrame.midX, y: triggerButtonFrame.midY)
    :
439 |         let preferredY: CGFloat = triggerCenter.y < bounds.midY ? 0 : 1
440 |
441 |         func overflowScore(for point: UnitPoint) -> CGFloat {
    |                                       `- error: 'UnitPoint' is only available in macOS 10.15 or newer
442 |             let baseOffset = anchorRelativeBaseOffset(point: point, contentWidth: cw, contentHeight: ch)
443 |             let center = CGPoint(x: triggerCenter.x + baseOffset.width, y: triggerCenter.y + baseOffset.height)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:13:27: error: cannot find type 'UIWindow' in scope
11 | final class WindowManager {
12 | 	static let shared = WindowManager()
13 |     var windows: [String: UIWindow] = [:]
   |                           `- error: cannot find type 'UIWindow' in scope
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:467:16: error: cannot find 'UIScreen' in scope
465 |         }
466 |
467 |         return UIScreen.main.bounds
    |                `- error: cannot find 'UIScreen' in scope
468 |     }
469 | }
[8/10] Compiling AnchoredPopup PublicAPI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:13:30: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          |                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:13:49: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          |                                      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:13:163: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          |                                                                                                                                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:17:30: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          |                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
 19 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:17:49: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          |                                      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
 19 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:17:104: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          |                                                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
 19 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:36:34: error: 'UnitPoint' is only available in macOS 10.15 or newer
 33 | // - MARK: Customization parameters
 34 |
 35 | public enum AnchoredPopupPosition {
    |             `- note: add '@available' attribute to enclosing enum
 36 |     case anchorRelative(_ point: UnitPoint, keepInScreenBounds: Bool = true) // popup view will be aligned to anchor view at corresponding proportion
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 37 |     case auto // similar to `anchorRelative(..., keepInScreenBounds: true)` but auto-picks the best anchor `UnitPoint` to keep the popup within safe area
 38 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:38:34: error: 'UnitPoint' is only available in macOS 10.15 or newer
 33 | // - MARK: Customization parameters
 34 |
 35 | public enum AnchoredPopupPosition {
    |             `- note: add '@available' attribute to enclosing enum
 36 |     case anchorRelative(_ point: UnitPoint, keepInScreenBounds: Bool = true) // popup view will be aligned to anchor view at corresponding proportion
 37 |     case auto // similar to `anchorRelative(..., keepInScreenBounds: true)` but auto-picks the best anchor `UnitPoint` to keep the popup within safe area
 38 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 39 |     case absolute(_ point: UnitPoint, position: CGPoint) // popup will be placed at exact screen position, with point specifying which part of popup aligns to that position
 40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:39:28: error: 'UnitPoint' is only available in macOS 10.15 or newer
 33 | // - MARK: Customization parameters
 34 |
 35 | public enum AnchoredPopupPosition {
    |             `- note: add '@available' attribute to enclosing enum
 36 |     case anchorRelative(_ point: UnitPoint, keepInScreenBounds: Bool = true) // popup view will be aligned to anchor view at corresponding proportion
 37 |     case auto // similar to `anchorRelative(..., keepInScreenBounds: true)` but auto-picks the best anchor `UnitPoint` to keep the popup within safe area
 38 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
 39 |     case absolute(_ point: UnitPoint, position: CGPoint) // popup will be placed at exact screen position, with point specifying which part of popup aligns to that position
    |                            `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:44:16: error: 'Color' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 45 |     case blur(radius: CGFloat = 6)
 46 |     case view(AnyView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:46:15: error: 'AnyView' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
 45 |     case blur(radius: CGFloat = 6)
 46 |     case view(AnyView)
    |               `- error: 'AnyView' is only available in macOS 10.15 or newer
 47 |
 48 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:49:26: error: 'View' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
    :
 47 |
 48 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
 49 |     public init<Content: View>(viewBuilder: @escaping () -> Content) {
    |            |             `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 50 |         self = .view(AnyView(viewBuilder()))
 51 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:56:33: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 52 | }
 53 |
 54 | public struct PopupParameters {
    |               `- note: add '@available' attribute to enclosing struct
 55 |     var position: AnchoredPopupPosition = .screenRelative()
 56 |     var animation: Animation = .easeIn(duration: 0.3)
    |                                 `- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 57 |
 58 |     /// Should open popup on tap on the anchor view
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:56:20: error: 'Animation' is only available in macOS 10.15 or newer
 52 | }
 53 |
 54 | public struct PopupParameters {
    |               `- note: add '@available' attribute to enclosing struct
 55 |     var position: AnchoredPopupPosition = .screenRelative()
 56 |     var animation: Animation = .easeIn(duration: 0.3)
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 57 |
 58 |     /// Should open popup on tap on the anchor view
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:79:40: error: 'Animation' is only available in macOS 10.15 or newer
 52 | }
 53 |
 54 | public struct PopupParameters {
    |               `- note: add '@available' attribute to enclosing struct
 55 |     var position: AnchoredPopupPosition = .screenRelative()
 56 |     var animation: Animation = .easeIn(duration: 0.3)
    :
 77 |
 78 |     /// Appear/disappear animation - default is `easeOut`
 79 |     public func animation(_ animation: Animation) -> PopupParameters {
    |                 |                      `- error: 'Animation' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 80 |         var params = self
 81 |         params.animation = animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:129:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
127 | }
128 |
129 | public extension EnvironmentValues {
    |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
130 |     var anchoredPopupDismiss: SendableClosure? {
131 |         get { self[AnchoredPopupDismissKey.self] }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:14:14: error: 'modifier' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 15 |     }
 16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:18:14: error: 'modifier' is only available in macOS 10.15 or newer
 10 | // - MARK: Popup creation
 11 |
 12 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 13 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V, customize: @escaping (PopupParameters) -> PopupParameters) -> some View {
 14 |         self.modifier(TriggerButton(id: id, params: customize(PopupParameters()), contentBuilder: contentBuilder))
 15 |     }
 16 |
 17 |     func useAsPopupAnchor<V: View>(id: String, @ViewBuilder contentBuilder: @escaping () -> V) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         self.modifier(TriggerButton(id: id, params: PopupParameters(), contentBuilder: contentBuilder))
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 19 |     }
 20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:35:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
    |                                    `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |     static subscript(id: String) -> AnimationItem? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:50:22: error: 'AnyView' is only available in macOS 10.15 or newer
 40 | }
 41 |
 42 | public enum AnchoredPopupBackground {
    |             `- note: add '@available' attribute to enclosing enum
 43 |     case none
 44 |     case color(Color)
    :
 47 |
 48 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
 49 |     public init<Content: View>(viewBuilder: @escaping () -> Content) {
    |            `- note: add '@available' attribute to enclosing initializer
 50 |         self = .view(AnyView(viewBuilder()))
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 51 |     }
 52 | }
[9/10] Compiling AnchoredPopup WindowManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:13:27: error: cannot find type 'UIWindow' in scope
11 | final class WindowManager {
12 | 	static let shared = WindowManager()
13 |     var windows: [String: UIWindow] = [:]
   |                           `- error: cannot find type 'UIWindow' in scope
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:15:40: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | final class WindowManager {
   |             `- note: add '@available' attribute to enclosing class
12 | 	static let shared = WindowManager()
13 |     var windows: [String: UIWindow] = [:]
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
   |                 |                      `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing static method
16 | 		guard let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene else {
17 | 			print("No valid scene available")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:41:28: error: cannot find type 'UIWindow' in scope
39 | }
40 |
41 | class UIPassthroughWindow: UIWindow {
   |                            `- error: cannot find type 'UIWindow' in scope
42 |     var id: String
43 |     var closeOnTapOutside: Bool
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:46:23: error: cannot find type 'UIWindowScene' in scope
44 |     var isPassthrough: Bool
45 |
46 |     init(windowScene: UIWindowScene, id: String, closeOnTapOutside: Bool, isPassthrough: Bool) {
   |                       `- error: cannot find type 'UIWindowScene' in scope
47 |         self.id = id
48 |         self.closeOnTapOutside = closeOnTapOutside
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:57:70: error: cannot find type 'UIView' in scope
55 |     }
56 |
57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
   |                                                                      `- error: cannot find type 'UIView' in scope
58 |         guard let vc = self.rootViewController else {
59 |             return nil // pass to next window
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:57:57: error: cannot find type 'UIEvent' in scope
55 |     }
56 |
57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
   |                                                         `- error: cannot find type 'UIEvent' in scope
58 |         guard let vc = self.rootViewController else {
59 |             return nil // pass to next window
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:70: error: cannot find type 'UIView' in scope
82 |     }
83 |
84 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
   |                                                                      `- error: cannot find type 'UIView' in scope
85 |         for subview in vc.subviews {
86 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:59: error: cannot find type 'UIView' in scope
82 |     }
83 |
84 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
   |                                                           `- error: cannot find type 'UIView' in scope
85 |         for subview in vc.subviews {
86 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:16:21: error: cannot find 'UIApplication' in scope
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
16 | 		guard let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene else {
   |                     `- error: cannot find 'UIApplication' in scope
17 | 			print("No valid scene available")
18 | 			return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:16:68: error: cannot find type 'UIWindowScene' in scope
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
16 | 		guard let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene else {
   |                                                                    `- error: cannot find type 'UIWindowScene' in scope
17 | 			print("No valid scene available")
18 | 			return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:21:41: error: extra arguments at positions #1, #2, #3, #4 in call
19 | 		}
20 |
21 |         let window = UIPassthroughWindow(windowScene: scene, id: id, closeOnTapOutside: closeOnTapOutside, isPassthrough: isPassthrough)
   |                                         `- error: extra arguments at positions #1, #2, #3, #4 in call
22 |         window.backgroundColor = .clear
23 |         let root = content()
   :
51 |     }
52 |
53 |     required init?(coder: NSCoder) {
   |              `- note: 'init(coder:)' declared here
54 |         fatalError("init(coder:) has not been implemented")
55 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:21:42: error: missing argument for parameter 'coder' in call
19 | 		}
20 |
21 |         let window = UIPassthroughWindow(windowScene: scene, id: id, closeOnTapOutside: closeOnTapOutside, isPassthrough: isPassthrough)
   |                                          `- error: missing argument for parameter 'coder' in call
22 |         window.backgroundColor = .clear
23 |         let root = content()
   :
51 |     }
52 |
53 |     required init?(coder: NSCoder) {
   |              `- note: 'init(coder:)' declared here
54 |         fatalError("init(coder:) has not been implemented")
55 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:22:35: error: cannot infer contextual base in reference to member 'clear'
20 |
21 |         let window = UIPassthroughWindow(windowScene: scene, id: id, closeOnTapOutside: closeOnTapOutside, isPassthrough: isPassthrough)
22 |         window.backgroundColor = .clear
   |                                   `- error: cannot infer contextual base in reference to member 'clear'
23 |         let root = content()
24 |             .environment(\.anchoredPopupDismiss) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:35:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | /// this manager stores states for all the paired growing/shrinking animations
 11 | @MainActor
 12 | class AnchoredAnimationManager: ObservableObject {
    |       `- note: add '@available' attribute to enclosing class
 13 |     static let shared = AnchoredAnimationManager()
 14 |
    :
 33 |     private var statePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 34 |     private var framePublishers: [String: CurrentValueSubject<AnimationItem?, Never>] = [:]
 35 |     private var cancellables = Set<AnyCancellable>()
    |                                    `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |     static subscript(id: String) -> AnimationItem? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:24:14: error: 'environment' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor
11 | final class WindowManager {
   |             `- note: add '@available' attribute to enclosing class
12 | 	static let shared = WindowManager()
13 |     var windows: [String: UIWindow] = [:]
14 |
15 |     static func openNewWindow<Content: View>(id: String, closeOnTapOutside: Bool, isPassthrough: Bool, content: ()->Content) {
   |                 `- note: add '@available' attribute to enclosing static method
16 | 		guard let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene else {
17 | 			print("No valid scene available")
   :
22 |         window.backgroundColor = .clear
23 |         let root = content()
24 |             .environment(\.anchoredPopupDismiss) {
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
25 |                 AnchoredAnimationManager.shared.changeStateForAnimation(for: id, state: .shrinking)
26 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:27:26: error: cannot find 'UIHostingController' in scope
25 |                 AnchoredAnimationManager.shared.changeStateForAnimation(for: id, state: .shrinking)
26 |             }
27 |         let controller = UIHostingController(rootView: root)
   |                          `- error: cannot find 'UIHostingController' in scope
28 |         controller.view.backgroundColor = .clear
29 |         window.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:28:44: error: cannot infer contextual base in reference to member 'clear'
26 |             }
27 |         let controller = UIHostingController(rootView: root)
28 |         controller.view.backgroundColor = .clear
   |                                            `- error: cannot infer contextual base in reference to member 'clear'
29 |         window.rootViewController = controller
30 | 		window.windowLevel = .alert + 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:30:25: error: member 'alert(isPresented:content:)' expects argument of type 'Text'
28 |         controller.view.backgroundColor = .clear
29 |         window.rootViewController = controller
30 | 		window.windowLevel = .alert + 1
   |                         `- error: member 'alert(isPresented:content:)' expects argument of type 'Text'
31 | 		window.makeKeyAndVisible()
32 |         shared.windows[id] = window
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:30:33: error: cannot convert value of type 'Int' to expected argument type 'Text'
28 |         controller.view.backgroundColor = .clear
29 |         window.rootViewController = controller
30 | 		window.windowLevel = .alert + 1
   |                                 `- error: cannot convert value of type 'Int' to expected argument type 'Text'
31 | 		window.makeKeyAndVisible()
32 |         shared.windows[id] = window
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:50:9: error: 'super' cannot be used in class 'UIPassthroughWindow' because it has no superclass
48 |         self.closeOnTapOutside = closeOnTapOutside
49 |         self.isPassthrough = isPassthrough
50 |         super.init(windowScene: windowScene)
   |         `- error: 'super' cannot be used in class 'UIPassthroughWindow' because it has no superclass
51 |     }
52 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:58:29: error: value of type 'UIPassthroughWindow' has no member 'rootViewController'
56 |
57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
58 |         guard let vc = self.rootViewController else {
   |                             `- error: value of type 'UIPassthroughWindow' has no member 'rootViewController'
59 |             return nil // pass to next window
60 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:80:34: error: 'super' cannot be used in class 'UIPassthroughWindow' because it has no superclass
78 |
79 |         // pass tap to this
80 |         let farthestDescendent = super.hitTest(point, with: event)
   |                                  `- error: 'super' cannot be used in class 'UIPassthroughWindow' because it has no superclass
81 |         return farthestDescendent
82 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:70:49: error: call to main actor-isolated instance method 'changeStateForAnimation(for:state:)' in a synchronous nonisolated context [#ActorIsolatedCall]
55 |     }
56 |
57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
   |                   `- note: add '@MainActor' to make instance method 'hitTest(_:with:)' part of global actor 'MainActor'
58 |         guard let vc = self.rootViewController else {
59 |             return nil // pass to next window
   :
68 |         if didTapBackground {
69 |             if closeOnTapOutside {
70 |                 AnchoredAnimationManager.shared.changeStateForAnimation(for: id, state: .shrinking)
   |                                                 `- error: call to main actor-isolated instance method 'changeStateForAnimation(for:state:)' in a synchronous nonisolated context [#ActorIsolatedCall]
71 |             }
72 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:41:10: note: calls to instance method 'changeStateForAnimation(for:state:)' from outside of its actor context are implicitly asynchronous
 39 |     }
 40 |
 41 |     func changeStateForAnimation(for id: String, state: GrowingViewState) {
    |          `- note: calls to instance method 'changeStateForAnimation(for:state:)' from outside of its actor context are implicitly asynchronous
 42 |         if let index = animations.firstIndex(where: { $0.id == id }) {
 43 |             animations[index].state = state
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[10/10] Compiling AnchoredPopup BlurBackdropView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:10:28: error: cannot find type 'UIView' in scope
 8 | import SwiftUI
 9 |
10 | open class UIBackdropView: UIView {
   |                            `- error: cannot find type 'UIView' in scope
11 |     open override class var layerClass: AnyClass {
12 |         NSClassFromString("CABackdropLayer") ?? CALayer.self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:11:29: error: property does not override any property from its superclass
 9 |
10 | open class UIBackdropView: UIView {
11 |     open override class var layerClass: AnyClass {
   |                             `- error: property does not override any property from its superclass
12 |         NSClassFromString("CABackdropLayer") ?? CALayer.self
13 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:19:37: error: cannot find type 'Context' in scope
17 |     public init() {}
18 |
19 |     public func makeUIView(context: Context) -> UIBackdropView {
   |                                     `- error: cannot find type 'Context' in scope
20 |         UIBackdropView()
21 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:23:65: error: cannot find type 'Context' in scope
21 |     }
22 |
23 |     public func updateUIView(_ uiView: UIBackdropView, context: Context) {}
   |                                                                 `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:16:25: error: cannot find type 'UIViewRepresentable' in scope
14 | }
15 |
16 | public struct Backdrop: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
17 |     public init() {}
18 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | public struct Blur: View {
   |               `- note: add '@available' attribute to enclosing struct
27 |     public var radius: CGFloat
28 |     public var opaque: Bool
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
36 |         Backdrop()
37 |             .blur(radius: radius, opaque: opaque)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/BlurBackdropView.swift:37:14: error: value of type 'Backdrop' has no member 'blur'
35 |     public var body: some View {
36 |         Backdrop()
37 |             .blur(radius: radius, opaque: opaque)
   |              `- error: value of type 'Backdrop' has no member 'blur'
38 |     }
39 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/ExyteMediaPicker/Resources/Media.xcassets
BUILD FAILURE 6.3 macosSpm