The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build ExyteMediaPicker, reference 3.1.4 (c287ee), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 15:05:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exyte/MediaPicker.git
Reference: 3.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/MediaPicker
 * tag               3.1.4      -> FETCH_HEAD
HEAD is now at c287ee4 Fix showFullscreenPreview
Cloned https://github.com/exyte/MediaPicker.git
Revision (git rev-parse @):
c287ee410e5d9e9d642ed9c715042830f174a1d6
SUCCESS checkout https://github.com/exyte/MediaPicker.git at 3.1.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/exyte/MediaPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/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 |         Group {
 42 |             switch background {
/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:41:9: error: 'Group' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |             switch background {
 43 |             case .none:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:41:9: error: 'init(content:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |             switch background {
 43 |             case .none:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:44:17: error: 'EmptyView' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
 43 |             case .none:
 44 |                 EmptyView()
    |                 |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 45 |             case .color(let color):
 46 |                 color
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:44:17: error: 'buildEither(first:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
 43 |             case .none:
 44 |                 EmptyView()
    |                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 45 |             case .color(let color):
 46 |                 color
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:44:17: error: 'buildEither(first:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
 43 |             case .none:
 44 |                 EmptyView()
    |                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 45 |             case .color(let color):
 46 |                 color
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:46:17: error: 'buildEither(first:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 44 |                 EmptyView()
 45 |             case .color(let color):
 46 |                 color
    |                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 47 |             case .blur(let radius):
 48 |                 Blur(radius: radius)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:46:17: error: 'buildEither(second:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 44 |                 EmptyView()
 45 |             case .color(let color):
 46 |                 color
    |                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 47 |             case .blur(let radius):
 48 |                 Blur(radius: radius)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:48:17: error: 'buildEither(second:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 46 |                 color
 47 |             case .blur(let radius):
 48 |                 Blur(radius: radius)
    |                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |             case .view(let anyView):
 50 |                 anyView
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:48:17: error: 'buildEither(first:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 46 |                 color
 47 |             case .blur(let radius):
 48 |                 Blur(radius: radius)
    |                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |             case .view(let anyView):
 50 |                 anyView
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:50:17: error: 'buildEither(second:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 48 |                 Blur(radius: radius)
 49 |             case .view(let anyView):
 50 |                 anyView
    |                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 51 |             }
 52 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:50:17: error: 'buildEither(second:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 48 |                 Blur(radius: radius)
 49 |             case .view(let anyView):
 50 |                 anyView
    |                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 51 |             }
 52 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:53:10: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 51 |             }
 52 |         }
 53 |         .ignoresSafeArea()
    |          |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 54 |         .opacity(animatableOpacity)
 55 |         .onReceive(AnchoredAnimationManager.shared.statePublisher(for: id)) { animation in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:54:10: error: 'opacity' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 52 |         }
 53 |         .ignoresSafeArea()
 54 |         .opacity(animatableOpacity)
    |          |- error: 'opacity' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 55 |         .onReceive(AnchoredAnimationManager.shared.statePublisher(for: id)) { animation in
 56 |             if let animation {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:55:10: error: 'onReceive(_:perform:)' 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 {
    |         `- note: add @available attribute to enclosing property
 41 |         Group {
 42 |             switch background {
    :
 53 |         .ignoresSafeArea()
 54 |         .opacity(animatableOpacity)
 55 |         .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
 56 |             if let animation {
 57 |                 setupAndLaunchAnimation(animation)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:64: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
    :
 60 |     }
 61 |
 62 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add @available attribute to enclosing instance method
 63 |         DispatchQueue.main.async {
 64 |             withAnimation(.easeInOut(duration: 0.2)) {
    |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 65 |                 if animation.state == .growing {
 66 |                     setDisplayedState()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:64: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
    :
 60 |     }
 61 |
 62 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add @available attribute to enclosing instance method
 63 |         DispatchQueue.main.async {
 64 |             withAnimation(.easeInOut(duration: 0.2)) {
    |                            |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 65 |                 if animation.state == .growing {
 66 |                     setDisplayedState()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:75: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
    :
 72 |     }
 73 |
 74 |     private func setHiddenState() {
    |                  `- note: add @available attribute to enclosing instance method
 75 |         animatableOpacity = 0
    |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/Utils.swift:79: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
    :
 76 |     }
 77 |
 78 |     private func setDisplayedState() {
    |                  `- note: add @available attribute to enclosing instance method
 79 |         animatableOpacity = 1
    |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 80 |     }
 81 | }
[5/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) // popup view will be aligned to anchor view at corresponding proportion
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 37 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
 38 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:37: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) // popup view will be aligned to anchor view at corresponding proportion
 37 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 38 | }
 39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:42:16: error: 'Color' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 43 |     case blur(radius: CGFloat = 6)
 44 |     case view(AnyView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:44:15: error: 'AnyView' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
 43 |     case blur(radius: CGFloat = 6)
 44 |     case view(AnyView)
    |               `- error: 'AnyView' is only available in macOS 10.15 or newer
 45 |
 46 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:47:26: error: 'View' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
    :
 45 |
 46 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
 47 |     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
 48 |         self = .view(AnyView(viewBuilder()))
 49 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:54:33: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 50 | }
 51 |
 52 | public struct PopupParameters {
    |               `- note: add @available attribute to enclosing struct
 53 |     var position: AnchoredPopupPosition = .screenRelative()
 54 |     var animation: Animation = .easeIn(duration: 0.3)
    |                                 `- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 55 |
 56 |     /// Should close on tap anywhere inside the popup
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:54:20: error: 'Animation' is only available in macOS 10.15 or newer
 50 | }
 51 |
 52 | public struct PopupParameters {
    |               `- note: add @available attribute to enclosing struct
 53 |     var position: AnchoredPopupPosition = .screenRelative()
 54 |     var animation: Animation = .easeIn(duration: 0.3)
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 55 |
 56 |     /// Should close on tap anywhere inside the popup
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:74:40: error: 'Animation' is only available in macOS 10.15 or newer
 50 | }
 51 |
 52 | public struct PopupParameters {
    |               `- note: add @available attribute to enclosing struct
 53 |     var position: AnchoredPopupPosition = .screenRelative()
 54 |     var animation: Animation = .easeIn(duration: 0.3)
    :
 72 |
 73 |     /// Appear/disappear animation - default is `easeOut`
 74 |     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
 75 |         var params = self
 76 |         params.animation = animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:117:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
115 | }
116 |
117 | public extension EnvironmentValues {
    |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
118 |     var anchoredPopupDismiss: SendableClosure? {
119 |         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:48:22: error: 'AnyView' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
    :
 45 |
 46 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
 47 |     public init<Content: View>(viewBuilder: @escaping () -> Content) {
    |            `- note: add @available attribute to enclosing initializer
 48 |         self = .view(AnyView(viewBuilder()))
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 49 |     }
 50 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Compiling AnchoredPopup AnchoredPopup.swift
[7/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:196:6: error: 'State' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
194 |     var contentBuilder: () -> V
195 |
196 |     @State private var animatableOpacity: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
197 |     @State private var animatableScale: CGSize = .zero
198 |     @State private var animatableOffset: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:197:6: error: 'State' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
195 |
196 |     @State private var animatableOpacity: CGFloat = 0
197 |     @State private var animatableScale: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
198 |     @State private var animatableOffset: CGSize = .zero
199 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:198:6: error: 'State' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
196 |     @State private var animatableOpacity: CGFloat = 0
197 |     @State private var animatableScale: CGSize = .zero
198 |     @State private var animatableOffset: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
199 |
200 |     @State private var triggerButtonFrame: IntRect = .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
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
198 |     @State private var animatableOffset: CGSize = .zero
199 |
200 |     @State private var triggerButtonFrame: IntRect = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
201 |     @State private var contentSize: IntSize = .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
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
199 |
200 |     @State private var triggerButtonFrame: IntRect = .zero
201 |     @State private var contentSize: IntSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
202 |
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
/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
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
201 |     @State private var contentSize: IntSize = .zero
202 |
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
    |      `- error: 'State' is only available in macOS 10.15 or newer
204 |
205 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:205:20: error: 'View' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:191:60: error: 'View' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | 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
192 |     var id: String
193 |     var params: PopupParameters
/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: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: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) // popup view will be aligned to anchor view at corresponding proportion
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 37 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
 38 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:37: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) // popup view will be aligned to anchor view at corresponding proportion
 37 |     case screenRelative(_ point: UnitPoint = .center) // popup view will be aligned to whole screen
    |                                  `- error: 'UnitPoint' is only available in macOS 10.15 or newer
 38 | }
 39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:42:16: error: 'Color' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 43 |     case blur(radius: CGFloat = 6)
 44 |     case view(AnyView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:44:15: error: 'AnyView' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
 43 |     case blur(radius: CGFloat = 6)
 44 |     case view(AnyView)
    |               `- error: 'AnyView' is only available in macOS 10.15 or newer
 45 |
 46 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:47:26: error: 'View' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public enum AnchoredPopupBackground {
    |             `- note: add @available attribute to enclosing enum
 41 |     case none
 42 |     case color(Color)
    :
 45 |
 46 |     // Convenience initializer for `view` that automatically wraps the content in `AnyView`
 47 |     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
 48 |         self = .view(AnyView(viewBuilder()))
 49 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:54:33: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 50 | }
 51 |
 52 | public struct PopupParameters {
    |               `- note: add @available attribute to enclosing struct
 53 |     var position: AnchoredPopupPosition = .screenRelative()
 54 |     var animation: Animation = .easeIn(duration: 0.3)
    |                                 `- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
 55 |
 56 |     /// Should close on tap anywhere inside the popup
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:54:20: error: 'Animation' is only available in macOS 10.15 or newer
 50 | }
 51 |
 52 | public struct PopupParameters {
    |               `- note: add @available attribute to enclosing struct
 53 |     var position: AnchoredPopupPosition = .screenRelative()
 54 |     var animation: Animation = .easeIn(duration: 0.3)
    |                    `- error: 'Animation' is only available in macOS 10.15 or newer
 55 |
 56 |     /// Should close on tap anywhere inside the popup
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:74:40: error: 'Animation' is only available in macOS 10.15 or newer
 50 | }
 51 |
 52 | public struct PopupParameters {
    |               `- note: add @available attribute to enclosing struct
 53 |     var position: AnchoredPopupPosition = .screenRelative()
 54 |     var animation: Animation = .easeIn(duration: 0.3)
    :
 72 |
 73 |     /// Appear/disappear animation - default is `easeOut`
 74 |     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
 75 |         var params = self
 76 |         params.animation = animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/PublicAPI.swift:117:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
115 | }
116 |
117 | public extension EnvironmentValues {
    |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
118 |     var anchoredPopupDismiss: SendableClosure? {
119 |         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 |         Group {
 42 |             switch background {
/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 |         if let vc = self.rootViewController {
 59 |             vc.view.layoutSubviews() // otherwise the frame is as if the popup is still outside the screen
/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 |         if let vc = self.rootViewController {
 59 |             vc.view.layoutSubviews() // otherwise the frame is as if the popup is still outside the screen
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:74:70: error: cannot find type 'UIView' in scope
 72 |     }
 73 |
 74 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
    |                                                                      `- error: cannot find type 'UIView' in scope
 75 |         for subview in vc.subviews {
 76 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:74:59: error: cannot find type 'UIView' in scope
 72 |     }
 73 |
 74 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
    |                                                           `- error: cannot find type 'UIView' in scope
 75 |         for subview in vc.subviews {
 76 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:39: error: cannot find type 'UIHostingController' in scope
 82 | }
 83 |
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
    |                                       `- error: cannot find type 'UIHostingController' in scope
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:86:47: error: cannot find type 'UITouch' in scope
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: cannot find type 'UITouch' in scope
 87 |         // Check if any touch is inside one of the subviews, if so, ignore it
 88 |         if !isTouchInsideSubview(touches) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:86:69: error: cannot find type 'UIEvent' in scope
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: cannot find type 'UIEvent' in scope
 87 |         // Check if any touch is inside one of the subviews, if so, ignore it
 88 |         if !isTouchInsideSubview(touches) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:94:47: error: cannot find type 'UITouch' in scope
 92 |     }
 93 |
 94 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: cannot find type 'UITouch' in scope
 95 |         if !isTouchInsideSubview(touches) {
 96 |             super.touchesMoved(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:94:69: error: cannot find type 'UIEvent' in scope
 92 |     }
 93 |
 94 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: cannot find type 'UIEvent' in scope
 95 |         if !isTouchInsideSubview(touches) {
 96 |             super.touchesMoved(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:100:47: error: cannot find type 'UITouch' in scope
 98 |     }
 99 |
100 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: cannot find type 'UITouch' in scope
101 |         if !isTouchInsideSubview(touches) {
102 |             super.touchesEnded(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:100:69: error: cannot find type 'UIEvent' in scope
 98 |     }
 99 |
100 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: cannot find type 'UIEvent' in scope
101 |         if !isTouchInsideSubview(touches) {
102 |             super.touchesEnded(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:106:51: error: cannot find type 'UITouch' in scope
104 |     }
105 |
106 |     override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: cannot find type 'UITouch' in scope
107 |         if !isTouchInsideSubview(touches) {
108 |             super.touchesCancelled(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:106:73: error: cannot find type 'UIEvent' in scope
104 |     }
105 |
106 |     override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
107 |         if !isTouchInsideSubview(touches) {
108 |             super.touchesCancelled(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:113:54: error: cannot find type 'UITouch' in scope
111 |
112 |     // Helper function to determine if any touch is inside a subview
113 |     private func isTouchInsideSubview(_ touches: Set<UITouch>) -> Bool {
    |                                                      `- error: cannot find type 'UITouch' in scope
114 |         guard let touch = touches.first else {
115 |             return false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:32: error: 'View' is only available in macOS 10.15 or newer
 82 | }
 83 |
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
    |       |                        `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing generic class
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
[8/10] Compiling AnchoredPopup BlurBackdropView.swift
/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: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: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 | }
[9/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:196:6: error: 'State' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
194 |     var contentBuilder: () -> V
195 |
196 |     @State private var animatableOpacity: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
197 |     @State private var animatableScale: CGSize = .zero
198 |     @State private var animatableOffset: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:197:6: error: 'State' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
195 |
196 |     @State private var animatableOpacity: CGFloat = 0
197 |     @State private var animatableScale: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
198 |     @State private var animatableOffset: CGSize = .zero
199 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:198:6: error: 'State' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
196 |     @State private var animatableOpacity: CGFloat = 0
197 |     @State private var animatableScale: CGSize = .zero
198 |     @State private var animatableOffset: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
199 |
200 |     @State private var triggerButtonFrame: IntRect = .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
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
198 |     @State private var animatableOffset: CGSize = .zero
199 |
200 |     @State private var triggerButtonFrame: IntRect = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
201 |     @State private var contentSize: IntSize = .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
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
199 |
200 |     @State private var triggerButtonFrame: IntRect = .zero
201 |     @State private var contentSize: IntSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
202 |
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
/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
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
201 |     @State private var contentSize: IntSize = .zero
202 |
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
    |      `- error: 'State' is only available in macOS 10.15 or newer
204 |
205 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:205:20: error: 'View' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:191:60: error: 'View' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | 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
192 |     var id: String
193 |     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.toIntRect()
    |             |- 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.toIntRect(), 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.toIntRect()
 50 |         } else {
 51 |             animations.append(AnimationItem(id: id, buttonFrame: frame.toIntRect(), 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 |                 TapGesture().onEnded { gesture in
162 |                     // trigger displaying animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:161:17: 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 |                 TapGesture().onEnded { gesture in
    |                 |- error: 'TapGesture' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
162 |                     // trigger displaying animation
163 |                     hideKeyboard()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:161:30: 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 |                 TapGesture().onEnded { gesture in
    |                              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
162 |                     // trigger displaying animation
163 |                     hideKeyboard()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:167: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 {
    :
165 |                 }
166 |             )
167 |             .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
168 |                 if animation?.state == .growing {
169 |                     WindowManager.openNewWindow(id: id, closeOnTapOutside: params.closeOnTapOutside, isPassthrough: params.isPassthrough) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:170: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 {
    :
168 |                 if animation?.state == .growing {
169 |                     WindowManager.openNewWindow(id: id, closeOnTapOutside: params.closeOnTapOutside, isPassthrough: params.isPassthrough) {
170 |                         ZStack {
    |                         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
171 |                             AnimatedBackgroundView(id: $id, background: params.background)
172 |                                 .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:172: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 {
    :
170 |                         ZStack {
171 |                             AnimatedBackgroundView(id: $id, background: params.background)
172 |                                 .simultaneousGesture(
    |                                  |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
173 |                                     TapGesture().onEnded {
174 |                                         if params.closeOnTapOutside {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:173: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 {
    :
171 |                             AnimatedBackgroundView(id: $id, background: params.background)
172 |                                 .simultaneousGesture(
173 |                                     TapGesture().onEnded {
    |                                     |- error: 'TapGesture' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
174 |                                         if params.closeOnTapOutside {
175 |                                             // trigger hiding animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:173: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 {
    :
171 |                             AnimatedBackgroundView(id: $id, background: params.background)
172 |                                 .simultaneousGesture(
173 |                                     TapGesture().onEnded {
    |                                                  |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
174 |                                         if params.closeOnTapOutside {
175 |                                             // trigger hiding animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:206:9: error: 'VStack' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
207 |             contentBuilder()
208 |                 .overlay(GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:208:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
208 |                 .overlay(GeometryReader { geo in
    |                  |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
209 |                     Color.clear.onAppear {
210 |                         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:208:26: error: 'GeometryReader' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
208 |                 .overlay(GeometryReader { geo in
    |                          |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
209 |                     Color.clear.onAppear {
210 |                         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:209:21: error: 'Color' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
208 |                 .overlay(GeometryReader { geo in
209 |                     Color.clear.onAppear {
    |                     |- error: 'Color' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
210 |                         DispatchQueue.main.async {
211 |                             contentSize = geo.size.toIntSize()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:209:27: error: 'clear' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
208 |                 .overlay(GeometryReader { geo in
209 |                     Color.clear.onAppear {
    |                           |- error: 'clear' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
210 |                         DispatchQueue.main.async {
211 |                             contentSize = geo.size.toIntSize()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:209:33: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
208 |                 .overlay(GeometryReader { geo in
209 |                     Color.clear.onAppear {
    |                                 |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
210 |                         DispatchQueue.main.async {
211 |                             contentSize = geo.size.toIntSize()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:211:29: error: setter for 'contentSize' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
209 |                     Color.clear.onAppear {
210 |                         DispatchQueue.main.async {
211 |                             contentSize = geo.size.toIntSize()
    |                             |- error: setter for 'contentSize' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
212 |                             if let animation = AnchoredAnimationManager.shared.animations.first(where: { $0.id == id }) {
213 |                                 setupAndLaunchAnimation(animation)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:218:18: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
216 |                     }
217 |                 })
218 |                 .scaleEffect(animatableScale)
    |                  |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
219 |                 .offset(animatableOffset)
220 |                 .position(x: triggerButtonFrame.floatMidX, y: triggerButtonFrame.floatMidY)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:219:18: error: 'offset' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
217 |                 })
218 |                 .scaleEffect(animatableScale)
219 |                 .offset(animatableOffset)
    |                  |- error: 'offset' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
220 |                 .position(x: triggerButtonFrame.floatMidX, y: triggerButtonFrame.floatMidY)
221 |                 .opacity(animatableOpacity)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:220:18: error: 'position(x:y:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
218 |                 .scaleEffect(animatableScale)
219 |                 .offset(animatableOffset)
220 |                 .position(x: triggerButtonFrame.floatMidX, y: triggerButtonFrame.floatMidY)
    |                  |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
221 |                 .opacity(animatableOpacity)
222 |                 .ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:221:18: error: 'opacity' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
219 |                 .offset(animatableOffset)
220 |                 .position(x: triggerButtonFrame.floatMidX, y: triggerButtonFrame.floatMidY)
221 |                 .opacity(animatableOpacity)
    |                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
222 |                 .ignoresSafeArea()
223 |                 .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:222:18: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
220 |                 .position(x: triggerButtonFrame.floatMidX, y: triggerButtonFrame.floatMidY)
221 |                 .opacity(animatableOpacity)
222 |                 .ignoresSafeArea()
    |                  |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
223 |                 .simultaneousGesture(
224 |                     TapGesture().onEnded { gesture in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:223:18: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
221 |                 .opacity(animatableOpacity)
222 |                 .ignoresSafeArea()
223 |                 .simultaneousGesture(
    |                  |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
224 |                     TapGesture().onEnded { gesture in
225 |                         if params.closeOnTap {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:224:21: error: 'TapGesture' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
222 |                 .ignoresSafeArea()
223 |                 .simultaneousGesture(
224 |                     TapGesture().onEnded { gesture in
    |                     |- error: 'TapGesture' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
225 |                         if params.closeOnTap {
226 |                             // trigger hiding animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:224:34: error: 'onEnded' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
222 |                 .ignoresSafeArea()
223 |                 .simultaneousGesture(
224 |                     TapGesture().onEnded { gesture in
    |                                  |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
225 |                         if params.closeOnTap {
226 |                             // trigger hiding animation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:232:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
230 |                 )
231 |         }
232 |         .onReceive(AnchoredAnimationManager.shared.framePublisher(for: id)) { animation in
    |          |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
233 |             if let animation, triggerButtonFrame == .zero {
234 |                 triggerButtonFrame = animation.buttonFrame
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:234:17: error: setter for 'triggerButtonFrame' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
232 |         .onReceive(AnchoredAnimationManager.shared.framePublisher(for: id)) { animation in
233 |             if let animation, triggerButtonFrame == .zero {
234 |                 triggerButtonFrame = animation.buttonFrame
    |                 |- error: setter for 'triggerButtonFrame' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
235 |             }
236 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:237:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
203 |     @State private var semaphore = DispatchSemaphore(value: 1)
204 |
205 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
206 |         VStack {
207 |             contentBuilder()
    :
235 |             }
236 |         }
237 |         .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
238 |             if let animation {
239 |                 setupAndLaunchAnimation(animation)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:252:17: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
242 |     }
243 |
244 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add @available attribute to enclosing instance method
245 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
246 |
    :
250 |
251 |             if #available(iOS 17.0, *) {
252 |                 withAnimation(params.animation) {
    |                 |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
253 |                     setDisplayedState()
254 |                 } completion: {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:269:17: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
242 |     }
243 |
244 |     private func setupAndLaunchAnimation(_ animation: AnchoredAnimationManager.AnimationItem) {
    |                  `- note: add @available attribute to enclosing instance method
245 |         if contentSize == .zero || triggerButtonFrame == .zero { return }
246 |
    :
267 |         } else if animation.state == .shrinking {
268 |             if #available(iOS 17.0, *) {
269 |                 withAnimation(params.animation) {
    |                 |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
270 |                     setHiddenState()
271 |                 } completion: {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:290:9: error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
287 |     }
288 |
289 |     private func setHiddenState() {
    |                  `- note: add @available attribute to enclosing instance method
290 |         animatableOffset = .zero
    |         |- error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
291 |         animatableScale = calculateHiddenScale()
292 |         animatableOpacity = 0
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:291:9: error: setter for 'animatableScale' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
287 |     }
288 |
289 |     private func setHiddenState() {
    |                  `- note: add @available attribute to enclosing instance method
290 |         animatableOffset = .zero
291 |         animatableScale = calculateHiddenScale()
    |         |- error: setter for 'animatableScale' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
292 |         animatableOpacity = 0
293 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:292:9: error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
287 |     }
288 |
289 |     private func setHiddenState() {
    |                  `- note: add @available attribute to enclosing instance method
290 |         animatableOffset = .zero
291 |         animatableScale = calculateHiddenScale()
292 |         animatableOpacity = 0
    |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
293 |     }
294 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:296:9: error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
293 |     }
294 |
295 |     private func setDisplayedState() {
    |                  `- note: add @available attribute to enclosing instance method
296 |         animatableOffset = calculateDisplayedOffset()
    |         |- error: setter for 'animatableOffset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
297 |         animatableScale = CGSize(width: 1, height: 1)
298 |         animatableOpacity = 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:297:9: error: setter for 'animatableScale' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
293 |     }
294 |
295 |     private func setDisplayedState() {
    |                  `- note: add @available attribute to enclosing instance method
296 |         animatableOffset = calculateDisplayedOffset()
297 |         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
298 |         animatableOpacity = 1
299 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:298:9: error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
189 |
190 | @MainActor
191 | fileprivate struct AnchoredAnimationView<V>: View where V: View {
    |                    `- note: add @available attribute to enclosing generic struct
192 |     var id: String
193 |     var params: PopupParameters
    :
293 |     }
294 |
295 |     private func setDisplayedState() {
    |                  `- note: add @available attribute to enclosing instance method
296 |         animatableOffset = calculateDisplayedOffset()
297 |         animatableScale = CGSize(width: 1, height: 1)
298 |         animatableOpacity = 1
    |         |- error: setter for 'animatableOpacity' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
299 |     }
300 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:335:22: error: cannot find 'UIScreen' in scope
333 |             let tx = triggerButtonFrame.floatMidX
334 |             let ty = triggerButtonFrame.floatMidY
335 |             let sw = UIScreen.main.bounds.width
    |                      `- error: cannot find 'UIScreen' in scope
336 |             let sh = UIScreen.main.bounds.height
337 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/AnchoredAnimationManager.swift:336:22: error: cannot find 'UIScreen' in scope
334 |             let ty = triggerButtonFrame.floatMidY
335 |             let sw = UIScreen.main.bounds.width
336 |             let sh = UIScreen.main.bounds.height
    |                      `- error: cannot find 'UIScreen' in scope
337 |
338 |             // normalization: (0, 1) -> (1, -1)
[10/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 |         if let vc = self.rootViewController {
 59 |             vc.view.layoutSubviews() // otherwise the frame is as if the popup is still outside the screen
/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 |         if let vc = self.rootViewController {
 59 |             vc.view.layoutSubviews() // otherwise the frame is as if the popup is still outside the screen
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:74:70: error: cannot find type 'UIView' in scope
 72 |     }
 73 |
 74 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
    |                                                                      `- error: cannot find type 'UIView' in scope
 75 |         for subview in vc.subviews {
 76 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:74:59: error: cannot find type 'UIView' in scope
 72 |     }
 73 |
 74 |     private func isTouchInsideSubview(point: CGPoint, vc: UIView) -> UIView? {
    |                                                           `- error: cannot find type 'UIView' in scope
 75 |         for subview in vc.subviews {
 76 |             if subview.frame.contains(point) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:39: error: cannot find type 'UIHostingController' in scope
 82 | }
 83 |
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
    |                                       `- error: cannot find type 'UIHostingController' in scope
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:86:47: error: cannot find type 'UITouch' in scope
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: cannot find type 'UITouch' in scope
 87 |         // Check if any touch is inside one of the subviews, if so, ignore it
 88 |         if !isTouchInsideSubview(touches) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:86:69: error: cannot find type 'UIEvent' in scope
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: cannot find type 'UIEvent' in scope
 87 |         // Check if any touch is inside one of the subviews, if so, ignore it
 88 |         if !isTouchInsideSubview(touches) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:94:47: error: cannot find type 'UITouch' in scope
 92 |     }
 93 |
 94 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: cannot find type 'UITouch' in scope
 95 |         if !isTouchInsideSubview(touches) {
 96 |             super.touchesMoved(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:94:69: error: cannot find type 'UIEvent' in scope
 92 |     }
 93 |
 94 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: cannot find type 'UIEvent' in scope
 95 |         if !isTouchInsideSubview(touches) {
 96 |             super.touchesMoved(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:100:47: error: cannot find type 'UITouch' in scope
 98 |     }
 99 |
100 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: cannot find type 'UITouch' in scope
101 |         if !isTouchInsideSubview(touches) {
102 |             super.touchesEnded(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:100:69: error: cannot find type 'UIEvent' in scope
 98 |     }
 99 |
100 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: cannot find type 'UIEvent' in scope
101 |         if !isTouchInsideSubview(touches) {
102 |             super.touchesEnded(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:106:51: error: cannot find type 'UITouch' in scope
104 |     }
105 |
106 |     override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: cannot find type 'UITouch' in scope
107 |         if !isTouchInsideSubview(touches) {
108 |             super.touchesCancelled(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:106:73: error: cannot find type 'UIEvent' in scope
104 |     }
105 |
106 |     override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
107 |         if !isTouchInsideSubview(touches) {
108 |             super.touchesCancelled(touches, with: event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:113:54: error: cannot find type 'UITouch' in scope
111 |
112 |     // Helper function to determine if any touch is inside a subview
113 |     private func isTouchInsideSubview(_ touches: Set<UITouch>) -> Bool {
    |                                                      `- error: cannot find type 'UITouch' in scope
114 |         guard let touch = touches.first else {
115 |             return false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:84:32: error: 'View' is only available in macOS 10.15 or newer
 82 | }
 83 |
 84 | class UIPassthroughVC<Content: View>: UIHostingController<Content> {
    |       |                        `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing generic class
 85 |
 86 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
/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:26: error: value of type 'UIPassthroughWindow' has no member 'rootViewController'
 56 |
 57 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
 58 |         if let vc = self.rootViewController {
    |                          `- error: value of type 'UIPassthroughWindow' has no member 'rootViewController'
 59 |             vc.view.layoutSubviews() // otherwise the frame is as if the popup is still outside the screen
 60 |             if let _ = isTouchInsideSubview(point: point, vc: vc.view) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:66:45: 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 |         if let vc = self.rootViewController {
 59 |             vc.view.layoutSubviews() // otherwise the frame is as if the popup is still outside the screen
    :
 64 |         }
 65 |         if closeOnTapOutside {
 66 |             AnchoredAnimationManager.shared.changeStateForAnimation(for: id, state: .shrinking)
    |                                             `- error: call to main actor-isolated instance method 'changeStateForAnimation(for:state:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 67 |         }
 68 |         if isPassthrough {
/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:90:13: error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
 88 |         if !isTouchInsideSubview(touches) {
 89 |             // If touch is not inside any subview, pass the touch to the next responder
 90 |             super.touchesBegan(touches, with: event)
    |             `- error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
 91 |         }
 92 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:96:13: error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
 94 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
 95 |         if !isTouchInsideSubview(touches) {
 96 |             super.touchesMoved(touches, with: event)
    |             `- error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
 97 |         }
 98 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:102:13: error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
100 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
101 |         if !isTouchInsideSubview(touches) {
102 |             super.touchesEnded(touches, with: event)
    |             `- error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
103 |         }
104 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:108:13: error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
106 |     override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
107 |         if !isTouchInsideSubview(touches) {
108 |             super.touchesCancelled(touches, with: event)
    |             `- error: 'super' cannot be used in class 'UIPassthroughVC' because it has no superclass
109 |         }
110 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:118:53: error: value of type 'UIPassthroughVC<Content>' has no member 'view'
116 |         }
117 |
118 |         let touchLocation = touch.location(in: self.view)
    |                                                     `- error: value of type 'UIPassthroughVC<Content>' has no member 'view'
119 |
120 |         // Iterate over all subviews to check if the touch is inside any of them
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AnchoredPopup/Sources/AnchoredPopup/WindowManager.swift:121:29: error: value of type 'UIPassthroughVC<Content>' has no member 'view'
119 |
120 |         // Iterate over all subviews to check if the touch is inside any of them
121 |         for subview in self.view.subviews {
    |                             `- error: value of type 'UIPassthroughVC<Content>' has no member 'view'
122 |             if subview.frame.contains(touchLocation) {
123 |                 return true
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
Fetching https://github.com/exyte/AnchoredPopup.git
[1/267] Fetching anchoredpopup
Fetched https://github.com/exyte/AnchoredPopup.git from cache (1.06s)
Computing version for https://github.com/exyte/AnchoredPopup.git
Computed https://github.com/exyte/AnchoredPopup.git at 1.0.7 (1.48s)
Creating working copy for https://github.com/exyte/AnchoredPopup.git
Working copy of https://github.com/exyte/AnchoredPopup.git resolved at 1.0.7
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.2 macosSpm