The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PeekDialog, reference master (2ecf05), with Swift 6.3 for macOS (SPM) on 4 Sep 2026 17:50:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cembaykara/PeekDialog
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2ecf057 Merge V2.0.0 to master
Cloned https://github.com/cembaykara/PeekDialog.git
Revision (git rev-parse @):
2ecf057862d42fd3cc325ee5d747b3806f81528d
SUCCESS checkout https://github.com/cembaykara/PeekDialog.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "peekdialog",
      "name": "PeekDialog",
      "url": "https://github.com/cembaykara/PeekDialog.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PeekDialog",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/cembaykara/PeekDialog.git
[2/167] Fetching peekdialog
Fetched https://github.com/cembaykara/PeekDialog.git from cache (4.17s)
Creating working copy for https://github.com/cembaykara/PeekDialog.git
Working copy of https://github.com/cembaykara/PeekDialog.git resolved at master (2ecf057)
warning: '.resolve-product-dependencies': dependency 'peekdialog' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cembaykara/PeekDialog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-69A768CDF2A0BEE1.txt
[4/15] Compiling PeekDialog PeekWindow.swift
[5/15] Compiling PeekDialog PeekPresenter.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: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 |
[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 PeekStackLayout.swift
[10/16] Compiling PeekDialog PeekStackingBehavior.swift
[11/16] Compiling PeekDialog PeekDialogBridge.swift
[12/16] Compiling PeekDialog PeekDialogPreferenceKeys.swift
[13/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 | 	#endif
/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 | 	#endif
 24 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26: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
    :
 24 |
 25 | 	private let delay: Double
 26 | 	private let placement: VerticalAlignment
    |                         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 27 | 	private let onDismiss: (() -> Void)?
 28 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:35: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:96: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  |                `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:97: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
    |         `- error: 'Binding' is only available in macOS 10.15 or newer
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:99: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
100 | 		onDismiss: (() -> Void)? = nil,
101 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:101: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
100 | 		onDismiss: (() -> Void)? = nil,
101 | 		@ViewBuilder content: @escaping (T) -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
102 | 	) {
103 | 		self.delay = selfDismissDelay.duration
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:99: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
100 | 		onDismiss: (() -> Void)? = nil,
101 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:125: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  |             `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:126: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:128: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
129 | 		onDismiss: (() -> Void)? = nil,
130 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:130: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
129 | 		onDismiss: (() -> Void)? = nil,
130 | 		@ViewBuilder content: @escaping () -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
131 | 	) {
132 | 		self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:128: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
129 | 		onDismiss: (() -> Void)? = nil,
130 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:140: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
    :
138 | 	#endif
139 |
140 | 	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
141 | 		#if os(iOS)
142 | 		content.background(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:208: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              |                   `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:207: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
    :
205 |
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
208 | 	private var dialogContent: some View {
209 | 		VStack {
/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: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.
[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 | 	#endif
/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 | 	#endif
 24 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26: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
    :
 24 |
 25 | 	private let delay: Double
 26 | 	private let placement: VerticalAlignment
    |                         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 27 | 	private let onDismiss: (() -> Void)?
 28 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:35: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:96: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  |                `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:97: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
    |         `- error: 'Binding' is only available in macOS 10.15 or newer
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:99: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
100 | 		onDismiss: (() -> Void)? = nil,
101 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:101: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
100 | 		onDismiss: (() -> Void)? = nil,
101 | 		@ViewBuilder content: @escaping (T) -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
102 | 	) {
103 | 		self.delay = selfDismissDelay.duration
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:99: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 99 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
100 | 		onDismiss: (() -> Void)? = nil,
101 | 		@ViewBuilder content: @escaping (T) -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:125: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  |             `- error: 'View' is only available in macOS 10.15 or newer
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:126: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:128: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
129 | 		onDismiss: (() -> Void)? = nil,
130 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:130: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
129 | 		onDismiss: (() -> Void)? = nil,
130 | 		@ViewBuilder content: @escaping () -> Content
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
131 | 	) {
132 | 		self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:128: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
128 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
129 | 		onDismiss: (() -> Void)? = nil,
130 | 		@ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:140: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
    :
138 | 	#endif
139 |
140 | 	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
141 | 		#if os(iOS)
142 | 		content.background(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:208: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              |                   `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:207: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
    :
205 |
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
208 | 	private var dialogContent: some View {
209 | 		VStack {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		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
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		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
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 40 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		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
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		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
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		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
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		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
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		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
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 40 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		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
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 40 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		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
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 40 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:38: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		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
 39 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 40 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		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
 40 | 		}
 41 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		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
 40 | 		}
 41 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		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
 40 | 		}
 41 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		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
 40 | 		}
 41 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:39: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
    :
 33 |
 34 | 	#if !os(iOS)
 35 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 36 | 		switch placement {
 37 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 38 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 39 | 		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
 40 | 		}
 41 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:107: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
105 | 		self.onDismiss = onDismiss
106 |
107 | 		self._isPresented = Binding<Bool>(
    |                       |- error: 'Binding' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
108 | 			get: { item.wrappedValue != nil },
109 | 			set: { newValue in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:118: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
116 | 		self.contentBuilder = {
117 | 			if let value = item.wrappedValue {
118 | 				return AnyView(content(value))
    |            |- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
119 | 			} else {
120 | 				return AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:120: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
118 | 				return AnyView(content(value))
119 | 			} else {
120 | 				return AnyView(EmptyView())
    |            |- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
121 | 			}
122 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:120: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
    :
 94 | 	}
 95 | 	#else
 96 | 	init<T, Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
 97 | 		item: Binding<T?>,
 98 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
118 | 				return AnyView(content(value))
119 | 			} else {
120 | 				return AnyView(EmptyView())
    |                    |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
121 | 			}
122 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:136: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
    :
123 | 	}
124 |
125 | 	init<Content: View>(
    |  `- note: add '@available' attribute to enclosing initializer
126 | 		isPresented: Binding<Bool>,
127 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
134 | 		self.onDismiss = onDismiss
135 | 		self.delay = selfDismissDelay.duration
136 | 		self.contentBuilder = { AnyView(content()) }
    |                           |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
137 | 	}
138 | 	#endif
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:159: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
157 | 		)
158 | 		#else
159 | 		ZStack {
    |   |- error: 'ZStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
160 | 			content
161 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:159: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
157 | 		)
158 | 		#else
159 | 		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
160 | 			content
161 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:162: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
160 | 			content
161 | 			if isPresented {
162 | 				VStack(spacing: 0) {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
163 | 					if placement == .bottom || placement == .center {
164 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
161 | 			if isPresented {
162 | 				VStack(spacing: 0) {
163 | 					if placement == .bottom || placement == .center {
    |                       |- error: 'bottom' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
164 | 						Spacer(minLength: 0)
165 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
161 | 			if isPresented {
162 | 				VStack(spacing: 0) {
163 | 					if placement == .bottom || placement == .center {
    |                                               |- error: 'center' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
164 | 						Spacer(minLength: 0)
165 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:164: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
162 | 				VStack(spacing: 0) {
163 | 					if placement == .bottom || placement == .center {
164 | 						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
165 | 					}
166 | 					dialogContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:164: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
162 | 				VStack(spacing: 0) {
163 | 					if placement == .bottom || placement == .center {
164 | 						Spacer(minLength: 0)
    |       |- error: 'Spacer' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
165 | 					}
166 | 					dialogContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
161 | 			if isPresented {
162 | 				VStack(spacing: 0) {
163 | 					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
164 | 						Spacer(minLength: 0)
165 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:163: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
161 | 			if isPresented {
162 | 				VStack(spacing: 0) {
163 | 					if placement == .bottom || placement == .center {
    |                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
164 | 						Spacer(minLength: 0)
165 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:165: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
163 | 					if placement == .bottom || placement == .center {
164 | 						Spacer(minLength: 0)
165 | 					}
    |      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
166 | 					dialogContent
167 | 					if placement == .top || placement == .center {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:167: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
165 | 					}
166 | 					dialogContent
167 | 					if placement == .top || placement == .center {
    |                       |- error: 'top' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
168 | 						Spacer(minLength: 0)
169 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:167: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
165 | 					}
166 | 					dialogContent
167 | 					if placement == .top || placement == .center {
    |                                            |- error: 'center' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
168 | 						Spacer(minLength: 0)
169 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:168: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
166 | 					dialogContent
167 | 					if placement == .top || placement == .center {
168 | 						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
169 | 					}
170 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:168: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
166 | 					dialogContent
167 | 					if placement == .top || placement == .center {
168 | 						Spacer(minLength: 0)
    |       |- error: 'Spacer' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
169 | 					}
170 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:167: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
165 | 					}
166 | 					dialogContent
167 | 					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
168 | 						Spacer(minLength: 0)
169 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:167: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
165 | 					}
166 | 					dialogContent
167 | 					if placement == .top || placement == .center {
    |                                                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
168 | 						Spacer(minLength: 0)
169 | 					}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:169: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
167 | 					if placement == .top || placement == .center {
168 | 						Spacer(minLength: 0)
169 | 					}
    |      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
170 | 				}
171 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:162: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
160 | 			content
161 | 			if isPresented {
162 | 				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
163 | 					if placement == .bottom || placement == .center {
164 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:162: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
160 | 			content
161 | 			if isPresented {
162 | 				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
163 | 					if placement == .bottom || placement == .center {
164 | 						Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:171: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
169 | 					}
170 | 				}
171 | 				.padding()
    |      |- error: 'padding' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
172 | 				.offset(y: offset.height)
173 | 				.opacity(opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:172: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
170 | 				}
171 | 				.padding()
172 | 				.offset(y: offset.height)
    |      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
173 | 				.opacity(opacity)
174 | 				.transition(transition)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:173: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
171 | 				.padding()
172 | 				.offset(y: offset.height)
173 | 				.opacity(opacity)
    |      |- error: 'opacity' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
174 | 				.transition(transition)
175 | 				.simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:174: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
172 | 				.offset(y: offset.height)
173 | 				.opacity(opacity)
174 | 				.transition(transition)
    |      |- error: 'transition' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
175 | 				.simultaneousGesture(
176 | 					DragGesture()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:175: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
173 | 				.opacity(opacity)
174 | 				.transition(transition)
175 | 				.simultaneousGesture(
    |      |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
176 | 					DragGesture()
177 | 						.onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:176: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
174 | 				.transition(transition)
175 | 				.simultaneousGesture(
176 | 					DragGesture()
    |      |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
177 | 						.onChanged { gesture in
178 | 							timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:176: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
174 | 				.transition(transition)
175 | 				.simultaneousGesture(
176 | 					DragGesture()
    |      |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |      `- note: add 'if #available' version check
177 | 						.onChanged { gesture in
178 | 							timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:177: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
175 | 				.simultaneousGesture(
176 | 					DragGesture()
177 | 						.onChanged { gesture in
    |        |- error: 'onChanged' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
178 | 							timer?.invalidate()
179 | 							timer = nil
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:179: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
177 | 						.onChanged { gesture in
178 | 							timer?.invalidate()
179 | 							timer = nil
    |        |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
180 | 							offset = CGSize(width: 0, height: gesture.translation.height)
181 | 						}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:180: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
178 | 							timer?.invalidate()
179 | 							timer = nil
180 | 							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
181 | 						}
182 | 						.onEnded { gesture in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:182: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
180 | 							offset = CGSize(width: 0, height: gesture.translation.height)
181 | 						}
182 | 						.onEnded { gesture in
    |        |- error: 'onEnded' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
183 | 							let dismissThreshold: CGFloat = 50
184 | 							if abs(gesture.translation.height) > dismissThreshold {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:187: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
185 | 								dismissDialog()
186 | 							} else {
187 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
188 | 								if delay > 0 { setTimer() }
189 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:187: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
185 | 								dismissDialog()
186 | 							} else {
187 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |                        |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
188 | 								if delay > 0 { setTimer() }
189 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:187: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
185 | 								dismissDialog()
186 | 							} else {
187 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |                                               |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
188 | 								if delay > 0 { setTimer() }
189 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:193: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
191 | 					including: dismissDisabled ? .subviews : .all
192 | 				)
193 | 				.onAppear {
    |      |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
194 | 					opacity = 1.0
195 | 					if delay > 0 { setTimer() }
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:194: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
192 | 				)
193 | 				.onAppear {
194 | 					opacity = 1.0
    |      |- error: setter for 'opacity' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
195 | 					if delay > 0 { setTimer() }
196 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:197: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
195 | 					if delay > 0 { setTimer() }
196 | 				}
197 | 				.onDisappear {
    |      |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
198 | 					timer?.invalidate()
199 | 					timer = nil
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:199: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
197 | 				.onDisappear {
198 | 					timer?.invalidate()
199 | 					timer = nil
    |      |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
200 | 				}
201 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:161: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
159 | 		ZStack {
160 | 			content
161 | 			if isPresented {
    |                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
162 | 				VStack(spacing: 0) {
163 | 					if placement == .bottom || placement == .center {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:201: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
199 | 					timer = nil
200 | 				}
201 | 			}
    |    |- error: 'buildIf' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
202 | 		}
203 | 		#endif
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:159: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
    :
138 | 	#endif
139 |
140 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
141 | 		#if os(iOS)
142 | 		content.background(
    :
157 | 		)
158 | 		#else
159 | 		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
160 | 			content
161 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:209: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
    |   |- error: 'VStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
210 | 			style.makeBody(configuration: .init(
211 | 				isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:216: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
214 | 			))
215 | 		}
216 | 		.contentShape(Rectangle())
    |    |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
217 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:216: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
214 | 			))
215 | 		}
216 | 		.contentShape(Rectangle())
    |                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
217 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:217: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
215 | 		}
216 | 		.contentShape(Rectangle())
217 | 		.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
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
219 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:217: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
215 | 		}
216 | 		.contentShape(Rectangle())
217 | 		.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
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
219 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:217: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
215 | 		}
216 | 		.contentShape(Rectangle())
217 | 		.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
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
219 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:218: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
216 | 		.contentShape(Rectangle())
217 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
    |    |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
219 | 			style = newStyle
220 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:219: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
217 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
218 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
219 | 			style = newStyle
    |    |- error: setter for 'style' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
220 | 		}
221 | 		.onPreferenceChange(PeekInteractiveDismissKey.self) { disabled in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:221: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
219 | 			style = newStyle
220 | 		}
221 | 		.onPreferenceChange(PeekInteractiveDismissKey.self) { disabled in
    |    |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
222 | 			dismissDisabled = disabled
223 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:222: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
    :
206 | 	#if !os(iOS)
207 | 	@ViewBuilder
208 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
209 | 		VStack {
210 | 			style.makeBody(configuration: .init(
    :
220 | 		}
221 | 		.onPreferenceChange(PeekInteractiveDismissKey.self) { disabled in
222 | 			dismissDisabled = disabled
    |    |- error: setter for 'dismissDisabled' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
223 | 		}
224 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:228: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
    :
225 |
226 | 	@MainActor
227 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
228 | 		withAnimation(.easeIn(duration: 0.20)) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
229 | 			opacity = 0.0
230 | 			isPresented = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:228: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
    :
225 |
226 | 	@MainActor
227 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
228 | 		withAnimation(.easeIn(duration: 0.20)) {
    |                  |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
229 | 			opacity = 0.0
230 | 			isPresented = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:229: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
    :
225 |
226 | 	@MainActor
227 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
228 | 		withAnimation(.easeIn(duration: 0.20)) {
229 | 			opacity = 0.0
    |    |- error: setter for 'opacity' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
230 | 			isPresented = false
231 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:230: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
    :
225 |
226 | 	@MainActor
227 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
228 | 		withAnimation(.easeIn(duration: 0.20)) {
229 | 			opacity = 0.0
230 | 			isPresented = false
    |    |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
231 |
232 | 			DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:234: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
    :
225 |
226 | 	@MainActor
227 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
228 | 		withAnimation(.easeIn(duration: 0.20)) {
229 | 			opacity = 0.0
    :
232 | 			DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
233 | 				timer?.invalidate()
234 | 				timer = nil
    |     |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
235 | 				offset = .zero
236 | 				onDismiss?()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:235: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
    :
225 |
226 | 	@MainActor
227 | 	private func dismissDialog() {
    |               `- note: add '@available' attribute to enclosing instance method
228 | 		withAnimation(.easeIn(duration: 0.20)) {
229 | 			opacity = 0.0
    :
233 | 				timer?.invalidate()
234 | 				timer = nil
235 | 				offset = .zero
    |     |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
236 | 				onDismiss?()
237 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:242: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
    :
239 | 	}
240 |
241 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
242 | 		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
243 | 			Task { @MainActor in
244 | 				dismissDialog()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:243: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
    :
239 | 	}
240 |
241 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
242 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
243 | 			Task { @MainActor in
    |    |- error: 'Task' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
244 | 				dismissDialog()
245 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:243: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
    :
239 | 	}
240 |
241 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
242 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
243 | 			Task { @MainActor in
    |    |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
244 | 				dismissDialog()
245 | 			}
[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.3 macosSpm