The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PeekDialog, reference v2.0.1-rc (05c69d), with Swift 6.2 for macOS (SPM) on 7 Sep 2026 10:24:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cembaykara/PeekDialog.git
Reference: v2.0.1-rc
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cembaykara/PeekDialog
 * tag               v2.0.1-rc  -> FETCH_HEAD
HEAD is now at 05c69d5 Add .peekPlacementInset for extra distance from the placement edge.
Cloned https://github.com/cembaykara/PeekDialog.git
Revision (git rev-parse @):
05c69d5e1c52400f92ff1272bcca567843427aa3
SUCCESS checkout https://github.com/cembaykara/PeekDialog.git at v2.0.1-rc
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cembaykara/PeekDialog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
[4/15] Compiling PeekDialog PeekPresenter.swift
[5/15] Compiling PeekDialog PeekWindow.swift
[6/16] Compiling PeekDialog ViewExtension.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:44:30: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          |                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:45:22: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:20: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
    |                    `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:48:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
 48 |         @ViewBuilder content: @escaping () -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 49 |     ) -> some View {
 50 |         modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:49:15: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 50 |         modifier(
 51 |             PeekDialog(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:41: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
    |                                         `- error: 'top' is only available in macOS 10.15 or newer
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:95:33: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          |                      `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:96:20: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:20: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
    |                    `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:100:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
101 |     ) -> some View {
102 |         modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:101:15: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
    :
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
101 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
102 |         modifier(
103 |             PeekDialog(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:41: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
    |                                         `- error: 'top' is only available in macOS 10.15 or newer
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:158:58: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
156 |     ///
157 |     /// - SeeAlso: `DialogStyle`, `PeekDialog`
158 |     func dialogStyle<S: DialogStyle>(_ style: S) -> some View {
    |          |                                               `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
159 |         preference(key: PeekDialogStylePreferenceKey.self,
160 |                    value: AnyDialogStyle(style))
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:182:74: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
180 |     /// - Note: Like `dialogStyle`, apply this to the content **inside** the `peekDialog`
181 |     ///   closure, not on the view that has the `peekDialog` modifier.
182 |     func peekInteractiveDismissDisabled(_ disabled: Bool = true) -> some View {
    |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
183 |         preference(key: PeekInteractiveDismissKey.self, value: disabled)
184 |     }
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:205:55: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
203 |     /// - Note: Like `dialogStyle`, apply this to the content **inside** the
204 |     ///   `peekDialog` closure, not on the view that has the `peekDialog` modifier.
205 |     func peekPlacementInset(_ inset: CGFloat) -> some View {
    |          |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
206 |         preference(key: PeekPlacementInsetKey.self, value: inset)
207 |     }
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:9:18: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:50:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
    :
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
 50 |         modifier(
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 51 |             PeekDialog(
 52 |                 isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:50:9: error: 'modifier' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
    :
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
 50 |         modifier(
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 51 |             PeekDialog(
 52 |                 isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:102:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
    :
100 |         @ViewBuilder content: @escaping (T) -> Content
101 |     ) -> some View {
102 |         modifier(
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
103 |             PeekDialog(
104 |                 item: item,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:102:9: error: 'modifier' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
    :
100 |         @ViewBuilder content: @escaping (T) -> Content
101 |     ) -> some View {
102 |         modifier(
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
103 |             PeekDialog(
104 |                 item: item,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:159:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
156 |     ///
157 |     /// - SeeAlso: `DialogStyle`, `PeekDialog`
158 |     func dialogStyle<S: DialogStyle>(_ style: S) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
159 |         preference(key: PeekDialogStylePreferenceKey.self,
    |         |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
160 |                    value: AnyDialogStyle(style))
161 |     }
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:183:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
180 |     /// - Note: Like `dialogStyle`, apply this to the content **inside** the `peekDialog`
181 |     ///   closure, not on the view that has the `peekDialog` modifier.
182 |     func peekInteractiveDismissDisabled(_ disabled: Bool = true) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
183 |         preference(key: PeekInteractiveDismissKey.self, value: disabled)
    |         |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
184 |     }
185 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:206:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
203 |     /// - Note: Like `dialogStyle`, apply this to the content **inside** the
204 |     ///   `peekDialog` closure, not on the view that has the `peekDialog` modifier.
205 |     func peekPlacementInset(_ inset: CGFloat) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
206 |         preference(key: PeekPlacementInsetKey.self, value: inset)
    |         |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
207 |     }
208 |
[7/16] Compiling PeekDialog PeekDialogItemView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Compiling PeekDialog PeekDialogHostView.swift
[9/16] Compiling PeekDialog PeekDialogBridge.swift
[10/16] Compiling PeekDialog PeekStackLayout.swift
[11/16] Compiling PeekDialog PeekStackingBehavior.swift
[12/16] Emitting module PeekDialog
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:11:23: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public protocol DialogStyle {
   |                 `- note: add '@available' attribute to enclosing protocol
11 | 	associatedtype Body: View
   |                 |     `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing associated type
12 | 	func makeBody(configuration: Configuration) -> Body
13 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:19:21: error: 'AnyView' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public struct DialogStyleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
18 | 	var isPresented: Bool
19 | 	var passedContent: AnyView
   |                     `- error: 'AnyView' is only available in macOS 10.15 or newer
20 | 	var onDismiss: (() -> Void)?
21 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:24:44: error: 'AnyView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
   |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
25 | 	private let _id: ObjectIdentifier
26 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:32:54: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
25 | 	private let _id: ObjectIdentifier
   :
30 | 	}
31 |
32 | 	func makeBody(configuration: Configuration) -> some View {
   |       |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing instance method
33 | 		_makeBody(configuration)
34 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:46:54: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:57:61: error: 'View' is only available in macOS 10.15 or newer
54 | }
55 |
56 | public struct PlainDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
57 | 	public func makeBody(configuration: Configuration) -> some View {
   |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing instance method
58 | 		configuration.passedContent
59 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:65:19: error: 'Glass' is only available in macOS 26.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
   |                   `- error: 'Glass' is only available in macOS 26.0 or newer
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:67:61: error: 'View' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:11:36: error: 'AnyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    |                                    `- error: 'AnyView' is only available in macOS 10.15 or newer
 12 |
 13 | 	@Binding private var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:13:3: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
 12 |
 13 | 	@Binding private var isPresented: Bool
    |   `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |
 15 | 	@State private var dialogID = UUID()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:15:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 13 | 	@Binding private var isPresented: Bool
 14 |
 15 | 	@State private var dialogID = UUID()
    |   `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 | 	#if !os(iOS)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 16 |
 17 | 	#if !os(iOS)
 18 | 	@State private var style: AnyDialogStyle = .default
    |   `- error: 'State' is only available in macOS 10.15 or newer
 19 | 	@State private var offset: CGSize = .zero
 20 | 	@State private var opacity: Double = 1.0
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 17 | 	#if !os(iOS)
 18 | 	@State private var style: AnyDialogStyle = .default
 19 | 	@State private var offset: CGSize = .zero
    |   `- error: 'State' is only available in macOS 10.15 or newer
 20 | 	@State private var opacity: Double = 1.0
 21 | 	@State private var timer: Timer?
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 18 | 	@State private var style: AnyDialogStyle = .default
 19 | 	@State private var offset: CGSize = .zero
 20 | 	@State private var opacity: Double = 1.0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 21 | 	@State private var timer: Timer?
 22 | 	@State private var dismissDisabled = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 19 | 	@State private var offset: CGSize = .zero
 20 | 	@State private var opacity: Double = 1.0
 21 | 	@State private var timer: Timer?
    |   `- error: 'State' is only available in macOS 10.15 or newer
 22 | 	@State private var dismissDisabled = false
 23 | 	@State private var placementInset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 20 | 	@State private var opacity: Double = 1.0
 21 | 	@State private var timer: Timer?
 22 | 	@State private var dismissDisabled = false
    |   `- error: 'State' is only available in macOS 10.15 or newer
 23 | 	@State private var placementInset: CGFloat = 0
 24 | 	#endif
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:23:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 21 | 	@State private var timer: Timer?
 22 | 	@State private var dismissDisabled = false
 23 | 	@State private var placementInset: CGFloat = 0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 24 | 	#endif
 25 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:25: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 25 |
 26 | 	private let delay: Double
 27 | 	private let placement: VerticalAlignment
    |                         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 28 | 	private let onDismiss: (() -> Void)?
 29 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:36:26: error: 'AnyTransition' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:97:19: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  |                `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:98:9: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
    |         `- error: 'Binding' is only available in macOS 10.15 or newer
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:100:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
101 | 		onDismiss: (() -> Void)? = nil,
102 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:102:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
101 | 		onDismiss: (() -> Void)? = nil,
102 | 		@ViewBuilder content: @escaping (T) -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
103 | 	) {
104 | 		self.delay = selfDismissDelay.duration
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:100:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
101 | 		onDismiss: (() -> Void)? = nil,
102 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:126:16: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  |             `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:127:16: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:129:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
130 | 		onDismiss: (() -> Void)? = nil,
131 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:131:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
130 | 		onDismiss: (() -> Void)? = nil,
131 | 		@ViewBuilder content: @escaping () -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
132 | 	) {
133 | 		self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:129:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
130 | 		onDismiss: (() -> Void)? = nil,
131 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:141:38: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	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
142 | 		#if os(iOS)
143 | 		content.background(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:213:34: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              |                   `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:212:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
210 |
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
213 | 	private var dialogContent: some View {
214 | 		VStack {
/Users/admin/builder/spi-builder-workspace/PeekDialog/Presentation/PeekDialogPreferenceKeys.swift:43:17: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
39 |
40 | /// Nudges a dialog from its placement anchor without affecting layout.
41 | struct PeekPlacementInsetModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
42 | 	let inset: CGFloat
43 | 	let placement: VerticalAlignment
   |                 `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
44 |
45 | 	func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/Presentation/PeekDialogPreferenceKeys.swift:45:38: error: 'View' is only available in macOS 10.15 or newer
39 |
40 | /// Nudges a dialog from its placement anchor without affecting layout.
41 | struct PeekPlacementInsetModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
42 | 	let inset: CGFloat
43 | 	let placement: VerticalAlignment
44 |
45 | 	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
46 | 		content.offset(y: offsetY)
47 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:44:30: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          |                   `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:45:22: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:20: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
    |                    `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:48:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
 48 |         @ViewBuilder content: @escaping () -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 49 |     ) -> some View {
 50 |         modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:49:15: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 50 |         modifier(
 51 |             PeekDialog(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:41: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 42 |     /// - Note: The `dismissDelay` parameter allows you to control how long the dialog stays visible. Use `.persistent`
 43 |     ///   if you want the dialog to remain visible until the user dismisses it manually.
 44 |     func peekDialog<Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 45 |         isPresented: Binding<Bool>,
 46 |         dismissDelay: PeekDialogDelay = .persistent,
 47 |         placement: VerticalAlignment = .top,
    |                                         `- error: 'top' is only available in macOS 10.15 or newer
 48 |         @ViewBuilder content: @escaping () -> Content
 49 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:95:33: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          |                      `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:96:20: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:20: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
    |                    `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:100:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
101 |     ) -> some View {
102 |         modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:101:15: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
    :
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
101 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
102 |         modifier(
103 |             PeekDialog(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:41: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
 93 |     /// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 94 |     /// or the item becomes `nil`.
 95 |     func peekDialog<T, Content: View>(
    |          `- note: add '@available' attribute to enclosing instance method
 96 |         with item: Binding<T?>,
 97 |         dismissDelay: PeekDialogDelay = .persistent,
 98 |         placement: VerticalAlignment = .top,
    |                                         `- error: 'top' is only available in macOS 10.15 or newer
 99 |         onDismiss: (() -> Void)? = nil,
100 |         @ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:158:58: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
156 |     ///
157 |     /// - SeeAlso: `DialogStyle`, `PeekDialog`
158 |     func dialogStyle<S: DialogStyle>(_ style: S) -> some View {
    |          |                                               `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
159 |         preference(key: PeekDialogStylePreferenceKey.self,
160 |                    value: AnyDialogStyle(style))
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:182:74: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
180 |     /// - Note: Like `dialogStyle`, apply this to the content **inside** the `peekDialog`
181 |     ///   closure, not on the view that has the `peekDialog` modifier.
182 |     func peekInteractiveDismissDisabled(_ disabled: Bool = true) -> some View {
    |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
183 |         preference(key: PeekInteractiveDismissKey.self, value: disabled)
184 |     }
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:205:55: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
    :
203 |     /// - Note: Like `dialogStyle`, apply this to the content **inside** the
204 |     ///   `peekDialog` closure, not on the view that has the `peekDialog` modifier.
205 |     func peekPlacementInset(_ inset: CGFloat) -> some View {
    |          |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
206 |         preference(key: PeekPlacementInsetKey.self, value: inset)
207 |     }
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:9:18: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 |     /// Displays a peek dialog with customizable content and dismissal behavior.
[13/16] Compiling PeekDialog PeekDialogPreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/Presentation/PeekDialogPreferenceKeys.swift:43:17: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
39 |
40 | /// Nudges a dialog from its placement anchor without affecting layout.
41 | struct PeekPlacementInsetModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
42 | 	let inset: CGFloat
43 | 	let placement: VerticalAlignment
   |                 `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
44 |
45 | 	func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/Presentation/PeekDialogPreferenceKeys.swift:45:38: error: 'View' is only available in macOS 10.15 or newer
39 |
40 | /// Nudges a dialog from its placement anchor without affecting layout.
41 | struct PeekPlacementInsetModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
42 | 	let inset: CGFloat
43 | 	let placement: VerticalAlignment
44 |
45 | 	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
46 | 		content.offset(y: offsetY)
47 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Presentation/PeekDialogPreferenceKeys.swift:46:11: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
39 |
40 | /// Nudges a dialog from its placement anchor without affecting layout.
41 | struct PeekPlacementInsetModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
42 | 	let inset: CGFloat
43 | 	let placement: VerticalAlignment
44 |
45 | 	func body(content: Content) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
46 | 		content.offset(y: offsetY)
   |           |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
47 | 	}
48 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Presentation/PeekDialogPreferenceKeys.swift:52:9: error: 'bottom' is only available in macOS 10.15 or newer
39 |
40 | /// Nudges a dialog from its placement anchor without affecting layout.
41 | struct PeekPlacementInsetModifier: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
42 | 	let inset: CGFloat
43 | 	let placement: VerticalAlignment
   :
47 | 	}
48 |
49 | 	private var offsetY: CGFloat {
   |              `- note: add '@available' attribute to enclosing property
50 | 		guard inset != 0 else { return 0 }
51 | 		switch placement {
52 | 		case .bottom:
   |         |- error: 'bottom' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 | 			return -inset
54 | 		default:
[14/16] Compiling PeekDialog PeekDialog.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:11:36: error: 'AnyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    |                                    `- error: 'AnyView' is only available in macOS 10.15 or newer
 12 |
 13 | 	@Binding private var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:13:3: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
 12 |
 13 | 	@Binding private var isPresented: Bool
    |   `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |
 15 | 	@State private var dialogID = UUID()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:15:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 13 | 	@Binding private var isPresented: Bool
 14 |
 15 | 	@State private var dialogID = UUID()
    |   `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 | 	#if !os(iOS)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:18:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 16 |
 17 | 	#if !os(iOS)
 18 | 	@State private var style: AnyDialogStyle = .default
    |   `- error: 'State' is only available in macOS 10.15 or newer
 19 | 	@State private var offset: CGSize = .zero
 20 | 	@State private var opacity: Double = 1.0
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:19:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 17 | 	#if !os(iOS)
 18 | 	@State private var style: AnyDialogStyle = .default
 19 | 	@State private var offset: CGSize = .zero
    |   `- error: 'State' is only available in macOS 10.15 or newer
 20 | 	@State private var opacity: Double = 1.0
 21 | 	@State private var timer: Timer?
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:20:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 18 | 	@State private var style: AnyDialogStyle = .default
 19 | 	@State private var offset: CGSize = .zero
 20 | 	@State private var opacity: Double = 1.0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 21 | 	@State private var timer: Timer?
 22 | 	@State private var dismissDisabled = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:21:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 19 | 	@State private var offset: CGSize = .zero
 20 | 	@State private var opacity: Double = 1.0
 21 | 	@State private var timer: Timer?
    |   `- error: 'State' is only available in macOS 10.15 or newer
 22 | 	@State private var dismissDisabled = false
 23 | 	@State private var placementInset: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:22:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 20 | 	@State private var opacity: Double = 1.0
 21 | 	@State private var timer: Timer?
 22 | 	@State private var dismissDisabled = false
    |   `- error: 'State' is only available in macOS 10.15 or newer
 23 | 	@State private var placementInset: CGFloat = 0
 24 | 	#endif
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:23:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 21 | 	@State private var timer: Timer?
 22 | 	@State private var dismissDisabled = false
 23 | 	@State private var placementInset: CGFloat = 0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 24 | 	#endif
 25 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:25: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 25 |
 26 | 	private let delay: Double
 27 | 	private let placement: VerticalAlignment
    |                         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 28 | 	private let onDismiss: (() -> Void)?
 29 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:36:26: error: 'AnyTransition' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:97:19: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  |                `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:98:9: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
    |         `- error: 'Binding' is only available in macOS 10.15 or newer
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:100:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
101 | 		onDismiss: (() -> Void)? = nil,
102 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:102:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
101 | 		onDismiss: (() -> Void)? = nil,
102 | 		@ViewBuilder content: @escaping (T) -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
103 | 	) {
104 | 		self.delay = selfDismissDelay.duration
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:100:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
100 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
101 | 		onDismiss: (() -> Void)? = nil,
102 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:126:16: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  |             `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:127:16: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:129:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
130 | 		onDismiss: (() -> Void)? = nil,
131 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:131:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
130 | 		onDismiss: (() -> Void)? = nil,
131 | 		@ViewBuilder content: @escaping () -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
132 | 	) {
133 | 		self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:129:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
129 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
130 | 		onDismiss: (() -> Void)? = nil,
131 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:141:38: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	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
142 | 		#if os(iOS)
143 | 		content.background(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:213:34: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              |                   `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:212:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
210 |
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
213 | 	private var dialogContent: some View {
214 | 		VStack {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38:9: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
    |         |- error: 'top' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39:9: error: 'bottom' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
    |         |- error: 'bottom' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 41 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38:9: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
    |         |- error: 'top' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38:15: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
    |               |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38:38: error: 'move(edge:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
    |                                      |- error: 'move(edge:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38:66: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
    |                                                                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                                  `- note: add 'if #available' version check
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39:9: error: 'bottom' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
    |         |- error: 'bottom' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 41 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39:18: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
    |                  |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 41 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39:41: error: 'move(edge:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
    |                                         |- error: 'move(edge:)' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 41 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39:72: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
    |                                                                        |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                                        `- note: add 'if #available' version check
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 41 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:40:13: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
    |             |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 41 | 		}
 42 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:40:36: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
    |                                    |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 41 | 		}
 42 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:40:44: error: 'combined(with:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
    |                                            |- error: 'combined(with:)' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 41 | 		}
 42 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:40:60: error: 'scale(scale:anchor:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
    |                                                            |- error: 'scale(scale:anchor:)' is only available in macOS 10.15 or newer
    |                                                            `- note: add 'if #available' version check
 41 | 		}
 42 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:40:90: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 34 |
 35 | 	#if !os(iOS)
 36 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 37 | 		switch placement {
 38 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 39 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 40 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
    |                                                                                          |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                                                          `- note: add 'if #available' version check
 41 | 		}
 42 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:108:23: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
106 | 		self.onDismiss = onDismiss
107 |
108 | 		self._isPresented = Binding<Bool>(
    |                       |- error: 'Binding' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
109 | 			get: { item.wrappedValue != nil },
110 | 			set: { newValue in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:119:12: error: 'AnyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
117 | 		self.contentBuilder = {
118 | 			if let value = item.wrappedValue {
119 | 				return AnyView(content(value))
    |            |- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
120 | 			} else {
121 | 				return AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:121:12: error: 'AnyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
119 | 				return AnyView(content(value))
120 | 			} else {
121 | 				return AnyView(EmptyView())
    |            |- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
122 | 			}
123 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:121:20: error: 'EmptyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
 95 | 	}
 96 | 	#else
 97 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 98 | 		item: Binding<T?>,
 99 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
119 | 				return AnyView(content(value))
120 | 			} else {
121 | 				return AnyView(EmptyView())
    |                    |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
122 | 			}
123 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:137:27: error: 'AnyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
124 | 	}
125 |
126 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
127 | 		isPresented: Binding<Bool>,
128 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
135 | 		self.onDismiss = onDismiss
136 | 		self.delay = selfDismissDelay.duration
137 | 		self.contentBuilder = { AnyView(content()) }
    |                           |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
138 | 	}
139 | 	#endif
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:160:3: error: 'ZStack' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
158 | 		)
159 | 		#else
160 | 		ZStack {
    |   |- error: 'ZStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
161 | 			content
162 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:160:10: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
158 | 		)
159 | 		#else
160 | 		ZStack {
    |          |- warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          `- note: add 'if #available' version check
161 | 			content
162 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163:5: error: 'VStack' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
161 | 			content
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:164:23: error: 'bottom' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
    |                       |- error: 'bottom' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
165 | 						Spacer(minLength: 0)
166 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:164:47: error: 'center' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
    |                                               |- error: 'center' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
165 | 						Spacer(minLength: 0)
166 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:165:7: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
    |       |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |       `- note: add 'if #available' version check
166 | 					}
167 | 					dialogContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:165:7: error: 'Spacer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
    |       |- error: 'Spacer' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
166 | 					}
167 | 					dialogContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:164:54: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
    |                                                      |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                      `- note: add 'if #available' version check
165 | 						Spacer(minLength: 0)
166 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:164:54: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
    |                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
165 | 						Spacer(minLength: 0)
166 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:166:6: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
166 | 					}
    |      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
167 | 					dialogContent
168 | 						.modifier(PeekPlacementInsetModifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:167:6: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
165 | 						Spacer(minLength: 0)
166 | 					}
167 | 					dialogContent
    |      |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |      `- note: add 'if #available' version check
168 | 						.modifier(PeekPlacementInsetModifier(
169 | 							inset: placementInset,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:168:8: error: 'modifier' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
166 | 					}
167 | 					dialogContent
168 | 						.modifier(PeekPlacementInsetModifier(
    |        |- error: 'modifier' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
169 | 							inset: placementInset,
170 | 							placement: placement
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:172:23: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
170 | 							placement: placement
171 | 						))
172 | 					if placement == .top || placement == .center {
    |                       |- error: 'top' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
173 | 						Spacer(minLength: 0)
174 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:172:44: error: 'center' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
170 | 							placement: placement
171 | 						))
172 | 					if placement == .top || placement == .center {
    |                                            |- error: 'center' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
173 | 						Spacer(minLength: 0)
174 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:173:7: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
171 | 						))
172 | 					if placement == .top || placement == .center {
173 | 						Spacer(minLength: 0)
    |       |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |       `- note: add 'if #available' version check
174 | 					}
175 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:173:7: error: 'Spacer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
171 | 						))
172 | 					if placement == .top || placement == .center {
173 | 						Spacer(minLength: 0)
    |       |- error: 'Spacer' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
174 | 					}
175 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:172:51: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
170 | 							placement: placement
171 | 						))
172 | 					if placement == .top || placement == .center {
    |                                                   |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                   `- note: add 'if #available' version check
173 | 						Spacer(minLength: 0)
174 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:172:51: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
170 | 							placement: placement
171 | 						))
172 | 					if placement == .top || placement == .center {
    |                                                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
173 | 						Spacer(minLength: 0)
174 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:174:6: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
172 | 					if placement == .top || placement == .center {
173 | 						Spacer(minLength: 0)
174 | 					}
    |      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
175 | 				}
176 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163:24: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
161 | 			content
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
    |                        |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163:24: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
161 | 			content
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
    |                        |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163:24: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
161 | 			content
162 | 			if isPresented {
163 | 				VStack(spacing: 0) {
    |                        |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
164 | 					if placement == .bottom || placement == .center {
165 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:176:6: error: 'padding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
174 | 					}
175 | 				}
176 | 				.padding()
    |      |- error: 'padding' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
177 | 				.offset(y: offset.height)
178 | 				.opacity(opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:177:6: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
175 | 				}
176 | 				.padding()
177 | 				.offset(y: offset.height)
    |      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
178 | 				.opacity(opacity)
179 | 				.transition(transition)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:178:6: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
176 | 				.padding()
177 | 				.offset(y: offset.height)
178 | 				.opacity(opacity)
    |      |- error: 'opacity' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
179 | 				.transition(transition)
180 | 				.simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:179:6: error: 'transition' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
177 | 				.offset(y: offset.height)
178 | 				.opacity(opacity)
179 | 				.transition(transition)
    |      |- error: 'transition' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
180 | 				.simultaneousGesture(
181 | 					DragGesture()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:180:6: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
178 | 				.opacity(opacity)
179 | 				.transition(transition)
180 | 				.simultaneousGesture(
    |      |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
181 | 					DragGesture()
182 | 						.onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:181:6: error: 'DragGesture' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
179 | 				.transition(transition)
180 | 				.simultaneousGesture(
181 | 					DragGesture()
    |      |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
182 | 						.onChanged { gesture in
183 | 							timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:181:6: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
179 | 				.transition(transition)
180 | 				.simultaneousGesture(
181 | 					DragGesture()
    |      |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |      `- note: add 'if #available' version check
182 | 						.onChanged { gesture in
183 | 							timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:182:8: error: 'onChanged' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
180 | 				.simultaneousGesture(
181 | 					DragGesture()
182 | 						.onChanged { gesture in
    |        |- error: 'onChanged' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
183 | 							timer?.invalidate()
184 | 							timer = nil
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:184:8: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
182 | 						.onChanged { gesture in
183 | 							timer?.invalidate()
184 | 							timer = nil
    |        |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
185 | 							offset = CGSize(width: 0, height: gesture.translation.height)
186 | 						}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:185:8: error: setter for 'offset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
183 | 							timer?.invalidate()
184 | 							timer = nil
185 | 							offset = CGSize(width: 0, height: gesture.translation.height)
    |        |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
186 | 						}
187 | 						.onEnded { gesture in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:187:8: error: 'onEnded' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
185 | 							offset = CGSize(width: 0, height: gesture.translation.height)
186 | 						}
187 | 						.onEnded { gesture in
    |        |- error: 'onEnded' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
188 | 							let dismissThreshold: CGFloat = 50
189 | 							if abs(gesture.translation.height) > dismissThreshold {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:192:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
190 | 								dismissDialog()
191 | 							} else {
192 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
193 | 								if delay > 0 { setTimer() }
194 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:192:24: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
190 | 								dismissDialog()
191 | 							} else {
192 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |                        |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
193 | 								if delay > 0 { setTimer() }
194 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:192:47: error: setter for 'offset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
190 | 								dismissDialog()
191 | 							} else {
192 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |                                               |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
193 | 								if delay > 0 { setTimer() }
194 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:198:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
196 | 					including: dismissDisabled ? .subviews : .all
197 | 				)
198 | 				.onAppear {
    |      |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
199 | 					opacity = 1.0
200 | 					if delay > 0 { setTimer() }
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:199:6: error: setter for 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
197 | 				)
198 | 				.onAppear {
199 | 					opacity = 1.0
    |      |- error: setter for 'opacity' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
200 | 					if delay > 0 { setTimer() }
201 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:202:6: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
200 | 					if delay > 0 { setTimer() }
201 | 				}
202 | 				.onDisappear {
    |      |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
203 | 					timer?.invalidate()
204 | 					timer = nil
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:204:6: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
202 | 				.onDisappear {
203 | 					timer?.invalidate()
204 | 					timer = nil
    |      |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
205 | 				}
206 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:162:19: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
160 | 		ZStack {
161 | 			content
162 | 			if isPresented {
    |                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
163 | 				VStack(spacing: 0) {
164 | 					if placement == .bottom || placement == .center {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:206:4: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
204 | 					timer = nil
205 | 				}
206 | 			}
    |    |- error: 'buildIf' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
207 | 		}
208 | 		#endif
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:160:10: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
139 | 	#endif
140 |
141 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
142 | 		#if os(iOS)
143 | 		content.background(
    :
158 | 		)
159 | 		#else
160 | 		ZStack {
    |          |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          `- note: add 'if #available' version check
161 | 			content
162 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:214:3: error: 'VStack' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
    |   |- error: 'VStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
215 | 			style.makeBody(configuration: .init(
216 | 				isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:221:4: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
219 | 			))
220 | 		}
221 | 		.contentShape(Rectangle())
    |    |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:221:17: error: 'Rectangle' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
219 | 			))
220 | 		}
221 | 		.contentShape(Rectangle())
    |                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:222:4: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
220 | 		}
221 | 		.contentShape(Rectangle())
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
    |    |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
224 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:222:19: error: 'black' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
220 | 		}
221 | 		.contentShape(Rectangle())
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
    |                   |- error: 'black' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
224 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:222:25: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
220 | 		}
221 | 		.contentShape(Rectangle())
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
    |                         |- error: 'opacity' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
224 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:223:4: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
221 | 		.contentShape(Rectangle())
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
    |    |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
224 | 			style = newStyle
225 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:224:4: error: setter for 'style' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
222 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
223 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
224 | 			style = newStyle
    |    |- error: setter for 'style' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
225 | 		}
226 | 		.onPreferenceChange(PeekInteractiveDismissKey.self) { disabled in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:226:4: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
224 | 			style = newStyle
225 | 		}
226 | 		.onPreferenceChange(PeekInteractiveDismissKey.self) { disabled in
    |    |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
227 | 			dismissDisabled = disabled
228 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:227:4: error: setter for 'dismissDisabled' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
225 | 		}
226 | 		.onPreferenceChange(PeekInteractiveDismissKey.self) { disabled in
227 | 			dismissDisabled = disabled
    |    |- error: setter for 'dismissDisabled' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
228 | 		}
229 | 		.onPreferenceChange(PeekPlacementInsetKey.self) { inset in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:229:4: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
227 | 			dismissDisabled = disabled
228 | 		}
229 | 		.onPreferenceChange(PeekPlacementInsetKey.self) { inset in
    |    |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
230 | 			placementInset = inset
231 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:230:4: error: setter for 'placementInset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
211 | 	#if !os(iOS)
212 | 	@ViewBuilder
213 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
214 | 		VStack {
215 | 			style.makeBody(configuration: .init(
    :
228 | 		}
229 | 		.onPreferenceChange(PeekPlacementInsetKey.self) { inset in
230 | 			placementInset = inset
    |    |- error: setter for 'placementInset' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
231 | 		}
232 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:236:3: error: 'withAnimation' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
233 |
234 | 	@MainActor
235 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
236 | 		withAnimation(.easeIn(duration: 0.20)) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
237 | 			opacity = 0.0
238 | 			isPresented = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:236:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
233 |
234 | 	@MainActor
235 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
236 | 		withAnimation(.easeIn(duration: 0.20)) {
    |                  |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
237 | 			opacity = 0.0
238 | 			isPresented = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:237:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
233 |
234 | 	@MainActor
235 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
236 | 		withAnimation(.easeIn(duration: 0.20)) {
237 | 			opacity = 0.0
    |    |- error: setter for 'opacity' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
238 | 			isPresented = false
239 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:238:4: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
233 |
234 | 	@MainActor
235 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
236 | 		withAnimation(.easeIn(duration: 0.20)) {
237 | 			opacity = 0.0
238 | 			isPresented = false
    |    |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
239 |
240 | 			DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:242:5: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
233 |
234 | 	@MainActor
235 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
236 | 		withAnimation(.easeIn(duration: 0.20)) {
237 | 			opacity = 0.0
    :
240 | 			DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
241 | 				timer?.invalidate()
242 | 				timer = nil
    |     |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
243 | 				offset = .zero
244 | 				onDismiss?()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:243:5: error: setter for 'offset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
233 |
234 | 	@MainActor
235 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
236 | 		withAnimation(.easeIn(duration: 0.20)) {
237 | 			opacity = 0.0
    :
241 | 				timer?.invalidate()
242 | 				timer = nil
243 | 				offset = .zero
    |     |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
244 | 				onDismiss?()
245 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:250:3: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
247 | 	}
248 |
249 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
250 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
    |   |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
251 | 			Task { @MainActor in
252 | 				dismissDialog()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:251:4: error: 'Task' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
247 | 	}
248 |
249 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
250 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
251 | 			Task { @MainActor in
    |    |- error: 'Task' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
252 | 				dismissDialog()
253 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:251:4: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog: ViewModifier {
    |        `- note: add '@available' attribute to enclosing struct
 10 |
 11 | 	private let contentBuilder: () -> AnyView
    :
247 | 	}
248 |
249 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
250 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
251 | 			Task { @MainActor in
    |    |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
252 | 				dismissDialog()
253 | 			}
[15/16] Compiling PeekDialog Configuration.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:11:23: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public protocol DialogStyle {
   |                 `- note: add '@available' attribute to enclosing protocol
11 | 	associatedtype Body: View
   |                 |     `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing associated type
12 | 	func makeBody(configuration: Configuration) -> Body
13 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:19:21: error: 'AnyView' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public struct DialogStyleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
18 | 	var isPresented: Bool
19 | 	var passedContent: AnyView
   |                     `- error: 'AnyView' is only available in macOS 10.15 or newer
20 | 	var onDismiss: (() -> Void)?
21 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:24:44: error: 'AnyView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
   |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
25 | 	private let _id: ObjectIdentifier
26 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:32:54: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
25 | 	private let _id: ObjectIdentifier
   :
30 | 	}
31 |
32 | 	func makeBody(configuration: Configuration) -> some View {
   |       |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing instance method
33 | 		_makeBody(configuration)
34 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:46:54: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:57:61: error: 'View' is only available in macOS 10.15 or newer
54 | }
55 |
56 | public struct PlainDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
57 | 	public func makeBody(configuration: Configuration) -> some View {
   |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing instance method
58 | 		configuration.passedContent
59 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:65:19: error: 'Glass' is only available in macOS 26.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
   |                   `- error: 'Glass' is only available in macOS 26.0 or newer
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:67:61: error: 'View' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:28:22: error: 'AnyView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
25 | 	private let _id: ObjectIdentifier
26 |
27 | 	init<S: DialogStyle>(_ style: S) {
   |  `- note: add '@available' attribute to enclosing initializer
28 | 		self._makeBody = { AnyView(style.makeBody(configuration: $0)) }
   |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
29 | 		self._id = ObjectIdentifier(S.self)
30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:48:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
   |     |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:49:5: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
   |     |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
   |     `- note: add 'if #available' version check
50 | 				RoundedRectangle(cornerRadius: 24)
51 | 					.foregroundStyle(.regularMaterial)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:50:5: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
   |     |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
51 | 					.foregroundStyle(.regularMaterial)
52 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:51:7: error: 'foregroundStyle' is only available in macOS 12.0 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
51 | 					.foregroundStyle(.regularMaterial)
   |       |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
   |       `- note: add 'if #available' version check
52 | 			}
53 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:51:24: error: 'regularMaterial' is only available in macOS 12.0 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
51 | 					.foregroundStyle(.regularMaterial)
   |                        |- error: 'regularMaterial' is only available in macOS 12.0 or newer
   |                        `- note: add 'if #available' version check
52 | 			}
53 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:59:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
54 | }
55 |
56 | public struct PlainDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
57 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
58 | 		configuration.passedContent
59 | 			.frame(maxWidth: 450, minHeight: 64)
   |     |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
60 | 	}
61 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:69:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
   |     |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:70:5: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
   |     |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
   |     `- note: add 'if #available' version check
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
72 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:70:49: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
   |                                                 |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
   |                                                 `- note: add 'if #available' version check
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
72 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:71:5: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
   |     |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
   |     `- note: add 'if #available' version check
72 | 	}
73 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:71:18: error: 'Rectangle' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
   |                  |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
72 | 	}
73 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:71:30: error: 'opacity' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
   |                              |- error: 'opacity' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
72 | 	}
73 | }
[16/16] Compiling PeekDialog PeekDialogState.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:11:23: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public protocol DialogStyle {
   |                 `- note: add '@available' attribute to enclosing protocol
11 | 	associatedtype Body: View
   |                 |     `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing associated type
12 | 	func makeBody(configuration: Configuration) -> Body
13 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:19:21: error: 'AnyView' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public struct DialogStyleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
18 | 	var isPresented: Bool
19 | 	var passedContent: AnyView
   |                     `- error: 'AnyView' is only available in macOS 10.15 or newer
20 | 	var onDismiss: (() -> Void)?
21 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:24:44: error: 'AnyView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
   |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
25 | 	private let _id: ObjectIdentifier
26 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:32:54: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
25 | 	private let _id: ObjectIdentifier
   :
30 | 	}
31 |
32 | 	func makeBody(configuration: Configuration) -> some View {
   |       |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing instance method
33 | 		_makeBody(configuration)
34 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:46:54: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:57:61: error: 'View' is only available in macOS 10.15 or newer
54 | }
55 |
56 | public struct PlainDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
57 | 	public func makeBody(configuration: Configuration) -> some View {
   |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing instance method
58 | 		configuration.passedContent
59 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:65:19: error: 'Glass' is only available in macOS 26.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
   |                   `- error: 'Glass' is only available in macOS 26.0 or newer
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:67:61: error: 'View' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:28:22: error: 'AnyView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct AnyDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
24 | 	private let _makeBody: (Configuration) -> AnyView
25 | 	private let _id: ObjectIdentifier
26 |
27 | 	init<S: DialogStyle>(_ style: S) {
   |  `- note: add '@available' attribute to enclosing initializer
28 | 		self._makeBody = { AnyView(style.makeBody(configuration: $0)) }
   |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
29 | 		self._id = ObjectIdentifier(S.self)
30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:48:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
   |     |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:49:5: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
   |     |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
   |     `- note: add 'if #available' version check
50 | 				RoundedRectangle(cornerRadius: 24)
51 | 					.foregroundStyle(.regularMaterial)
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:50:5: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
   |     |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
51 | 					.foregroundStyle(.regularMaterial)
52 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:51:7: error: 'foregroundStyle' is only available in macOS 12.0 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
51 | 					.foregroundStyle(.regularMaterial)
   |       |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
   |       `- note: add 'if #available' version check
52 | 			}
53 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:51:24: error: 'regularMaterial' is only available in macOS 12.0 or newer
43 | }
44 |
45 | struct DefaultDialogStyle: DialogStyle {
   |        `- note: add '@available' attribute to enclosing struct
46 | 	func makeBody(configuration: Configuration) -> some View {
   |       `- note: add '@available' attribute to enclosing instance method
47 | 		configuration.passedContent
48 | 			.frame(maxWidth: 450, minHeight: 64)
49 | 			.background {
50 | 				RoundedRectangle(cornerRadius: 24)
51 | 					.foregroundStyle(.regularMaterial)
   |                        |- error: 'regularMaterial' is only available in macOS 12.0 or newer
   |                        `- note: add 'if #available' version check
52 | 			}
53 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:59:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
54 | }
55 |
56 | public struct PlainDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
57 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
58 | 		configuration.passedContent
59 | 			.frame(maxWidth: 450, minHeight: 64)
   |     |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
60 | 	}
61 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:69:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
   |     |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:70:5: error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
   |     |- error: 'glassEffect(_:in:)' is only available in macOS 26.0 or newer
   |     `- note: add 'if #available' version check
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
72 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:70:49: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
   |                                                 |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
   |                                                 `- note: add 'if #available' version check
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
72 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:71:5: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
   |     |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
   |     `- note: add 'if #available' version check
72 | 	}
73 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:71:18: error: 'Rectangle' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
   |                  |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
72 | 	}
73 | }
/Users/admin/builder/spi-builder-workspace/PeekDialog/Configuration/Configuration.swift:71:30: error: 'opacity' is only available in macOS 10.15 or newer
62 |
63 | @available(iOS 26.0, macCatalyst 26.0, visionOS 2.0, watchOS 26.0, tvOS 26.0, *)
64 | public struct GlassDialogStyle: DialogStyle {
   |               `- note: add '@available' attribute to enclosing struct
65 | 	let glassEffect: Glass
66 |
67 | 	public func makeBody(configuration: Configuration) -> some View {
   |              `- note: add '@available' attribute to enclosing instance method
68 | 		configuration.passedContent
69 | 			.frame(maxWidth: 450, minHeight: 64)
70 | 			.glassEffect(glassEffect.interactive(), in: .rect(cornerRadius: 30))
71 | 			.background { Rectangle().opacity(0.01) } // Workaround
   |                              |- error: 'opacity' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
72 | 	}
73 | }
BUILD FAILURE 6.2 macosSpm