The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PeekDialog, reference v1.5.0 (3f88d6), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 08:10:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cembaykara/PeekDialog.git
Reference: v1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cembaykara/PeekDialog
 * tag               v1.5.0     -> FETCH_HEAD
HEAD is now at 3f88d6c update README
Cloned https://github.com/cembaykara/PeekDialog.git
Revision (git rev-parse @):
3f88d6cd6df18584d767321d9f523fd610ce3b8d
SUCCESS checkout https://github.com/cembaykara/PeekDialog.git at v1.5.0
========================================
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
[1/119] Fetching peekdialog
Fetched https://github.com/cembaykara/PeekDialog.git from cache (1.50s)
Creating working copy for https://github.com/cembaykara/PeekDialog.git
Working copy of https://github.com/cembaykara/PeekDialog.git resolved at v1.5.0 (3f88d6c)
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.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] 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:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    |   `- error: 'ViewBuilder' 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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
 12 |
 13 | 	@Binding private var isPresented: Bool
    |   `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |
 15 | 	@State private var offset: CGSize = .zero
/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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 13 | 	@Binding private var isPresented: Bool
 14 |
 15 | 	@State private var offset: CGSize = .zero
    |   `- error: 'State' is only available in macOS 10.15 or newer
 16 | 	@State private var opacity: Double = 1.0
 17 | 	@State private var timer: Timer?
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:16:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 14 |
 15 | 	@State private var offset: CGSize = .zero
 16 | 	@State private var opacity: Double = 1.0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 17 | 	@State private var timer: Timer?
 18 | 	@State private var style: AnyDialogStyle = .default
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:17:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 15 | 	@State private var offset: CGSize = .zero
 16 | 	@State private var opacity: Double = 1.0
 17 | 	@State private var timer: Timer?
    |   `- error: 'State' is only available in macOS 10.15 or newer
 18 | 	@State private var style: AnyDialogStyle = .default
 19 |
/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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 16 | 	@State private var opacity: Double = 1.0
 17 | 	@State private var timer: Timer?
 18 | 	@State private var style: AnyDialogStyle = .default
    |   `- error: 'State' is only available in macOS 10.15 or newer
 19 |
 20 | 	private var delay: Double = 0
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:21:25: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 19 |
 20 | 	private var delay: Double = 0
 21 | 	private let placement: VerticalAlignment
    |                         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 22 | 	private let onDismiss: (() -> Void)?
 23 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:24:26: error: 'AnyTransition' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:33:9: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
    |         `- error: 'Binding' is only available in macOS 10.15 or newer
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:35:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 36 | 		onDismiss: (() -> Void)? = nil,
 37 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
 36 | 		onDismiss: (() -> Void)? = nil,
 37 | 		@ViewBuilder content: () -> PassedContent) {
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 |
 39 | 			self.passedContnet = content()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:35:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
 36 | 		onDismiss: (() -> Void)? = nil,
 37 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:50:16: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:52:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 53 | 		onDismiss: (() -> Void)? = nil,
 54 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:54:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
 53 | 		onDismiss: (() -> Void)? = nil,
 54 | 		@ViewBuilder content: () -> PassedContent) {
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 55 |
 56 | 			self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:52:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
 53 | 		onDismiss: (() -> Void)? = nil,
 54 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:64:34: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              |                   `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:63:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 61 | 		}
 62 |
 63 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 64 | 	private var dialogContent: some View {
 65 | 		VStack {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:76:38: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	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
 77 | 		ZStack {
 78 | 			content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:9:34: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        |                         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:44:27: 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>(isPresented: Binding<Bool>,
    |       |                   `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:44:46: 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>(isPresented: Binding<Bool>,
    |       |                                      `- error: 'Binding' is only available in macOS 10.15 or newer
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:46:23: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
    |                       `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
 48 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:13: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
    |             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 48 |
 49 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:57: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
    |                                                         `- error: 'View' is only available in macOS 10.15 or newer
 48 |
 49 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:46:44: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
    |                                            `- error: 'top' is only available in macOS 10.15 or newer
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
 48 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:93: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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       |                      `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:94:18: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:96:23: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
    |                       `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:13: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
    |             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 99 |
100 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:68: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
    |                                                                    `- error: 'View' is only available in macOS 10.15 or newer
 99 |
100 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:96:44: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
    |                                            `- error: 'top' is only available in macOS 10.15 or newer
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:155:55: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 | 	/// Displays a peek dialog with customizable content and dismissal behavior.
    :
153 | 	///
154 | 	/// - SeeAlso: `DialogStyle`, `PeekDialog`
155 | 	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
156 | 		preference(key: PeekDialogStylePreferenceKey.self,
157 | 				   value: AnyDialogStyle(style))
/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.
[5/7] Compiling PeekDialog ViewExtension.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:44:27: 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>(isPresented: Binding<Bool>,
    |       |                   `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:44:46: 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>(isPresented: Binding<Bool>,
    |       |                                      `- error: 'Binding' is only available in macOS 10.15 or newer
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:46:23: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
    |                       `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
 48 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:13: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
    |             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 48 |
 49 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:47:57: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
    |                                                         `- error: 'View' is only available in macOS 10.15 or newer
 48 |
 49 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:46:44: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
    |                                            `- error: 'top' is only available in macOS 10.15 or newer
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
 48 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:93: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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       |                      `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:94:18: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:96:23: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
    |                       `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:13: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
    |             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 99 |
100 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:98:68: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
    |                                                                    `- error: 'View' is only available in macOS 10.15 or newer
 99 |
100 | 		modifier(
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:96:44: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
 96 | 									  placement: VerticalAlignment = .top,
    |                                            `- error: 'top' is only available in macOS 10.15 or newer
 97 | 									  onDismiss: (() -> Void)? = nil,
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:155:55: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 | 	/// Displays a peek dialog with customizable content and dismissal behavior.
    :
153 | 	///
154 | 	/// - SeeAlso: `DialogStyle`, `PeekDialog`
155 | 	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
156 | 		preference(key: PeekDialogStylePreferenceKey.self,
157 | 				   value: AnyDialogStyle(style))
/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:49:3: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
 48 |
 49 | 		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
 50 | 			PeekDialog(isPresented: isPresented,
 51 | 					   selfDismissDelay: dismissDelay,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:49:3: 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>(isPresented: Binding<Bool>,
    |       `- note: add '@available' attribute to enclosing instance method
 45 | 								   dismissDelay: PeekDialogDelay = .persistent,
 46 | 								   placement: VerticalAlignment = .top,
 47 | 								   @ViewBuilder content: () -> Content) -> some View {
 48 |
 49 | 		modifier(
    |   |- error: 'modifier' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
 50 | 			PeekDialog(isPresented: isPresented,
 51 | 					   selfDismissDelay: dismissDelay,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:100:3: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
 99 |
100 | 		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
101 | 			PeekDialog(item: item,
102 | 					   selfDismissDelay: dismissDelay,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:100:3: 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
 98 | 									  @ViewBuilder content: @escaping (T) -> Content) -> some View {
 99 |
100 | 		modifier(
    |   |- error: 'modifier' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
101 | 			PeekDialog(item: item,
102 | 					   selfDismissDelay: dismissDelay,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:101:4: 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 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 | 	/// Displays a peek dialog with customizable content and dismissal behavior.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
 99 |
100 | 		modifier(
101 | 			PeekDialog(item: item,
    |    |- 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
102 | 					   selfDismissDelay: dismissDelay,
103 | 					   placement: placement,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:101:4: 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 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 | 	/// Displays a peek dialog with customizable content and dismissal behavior.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
 99 |
100 | 		modifier(
101 | 			PeekDialog(item: item,
    |    |- 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
102 | 					   selfDismissDelay: dismissDelay,
103 | 					   placement: placement,
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:106:42: error: 'buildIf' 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
104 | 					   onDismiss: onDismiss,
105 | 					   content: {
106 | 						   if let item = item.wrappedValue { content(item) }
    |                                          |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
107 | 					   }))
108 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:106:58: error: 'buildIf' 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.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
104 | 					   onDismiss: onDismiss,
105 | 					   content: {
106 | 						   if let item = item.wrappedValue { content(item) }
    |                                                          |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                          `- note: add 'if #available' version check
107 | 					   }))
108 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:105:18: 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 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 10 |
 11 | 	/// Displays a peek dialog with customizable content and dismissal behavior.
    :
 91 | 	/// Use `.persistent` if you want the dialog to remain visible until the user dismisses it manually
 92 | 	/// or the item becomes `nil`.
 93 | 	func peekDialog<T, Content: View>(with
    |       `- note: add '@available' attribute to enclosing instance method
 94 | 									  item: Binding<T?>,
 95 | 									  dismissDelay: PeekDialogDelay = .persistent,
    :
103 | 					   placement: placement,
104 | 					   onDismiss: onDismiss,
105 | 					   content: {
    |                  |- 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
106 | 						   if let item = item.wrappedValue { content(item) }
107 | 					   }))
/Users/admin/builder/spi-builder-workspace/PeekDialog/ViewExtension.swift:156:3: 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.
    :
153 | 	///
154 | 	/// - SeeAlso: `DialogStyle`, `PeekDialog`
155 | 	func dialogStyle<S: DialogStyle>(_ style: S) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
156 | 		preference(key: PeekDialogStylePreferenceKey.self,
    |   |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
157 | 				   value: AnyDialogStyle(style))
158 | 	}
[6/7] 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 | }
[7/7] Compiling PeekDialog PeekDialog.swift
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:11:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    |   `- error: 'ViewBuilder' 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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
 12 |
 13 | 	@Binding private var isPresented: Bool
    |   `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |
 15 | 	@State private var offset: CGSize = .zero
/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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 13 | 	@Binding private var isPresented: Bool
 14 |
 15 | 	@State private var offset: CGSize = .zero
    |   `- error: 'State' is only available in macOS 10.15 or newer
 16 | 	@State private var opacity: Double = 1.0
 17 | 	@State private var timer: Timer?
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:16:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 14 |
 15 | 	@State private var offset: CGSize = .zero
 16 | 	@State private var opacity: Double = 1.0
    |   `- error: 'State' is only available in macOS 10.15 or newer
 17 | 	@State private var timer: Timer?
 18 | 	@State private var style: AnyDialogStyle = .default
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:17:3: error: 'State' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 15 | 	@State private var offset: CGSize = .zero
 16 | 	@State private var opacity: Double = 1.0
 17 | 	@State private var timer: Timer?
    |   `- error: 'State' is only available in macOS 10.15 or newer
 18 | 	@State private var style: AnyDialogStyle = .default
 19 |
/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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 16 | 	@State private var opacity: Double = 1.0
 17 | 	@State private var timer: Timer?
 18 | 	@State private var style: AnyDialogStyle = .default
    |   `- error: 'State' is only available in macOS 10.15 or newer
 19 |
 20 | 	private var delay: Double = 0
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:21:25: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 19 |
 20 | 	private var delay: Double = 0
 21 | 	private let placement: VerticalAlignment
    |                         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 22 | 	private let onDismiss: (() -> Void)?
 23 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:24:26: error: 'AnyTransition' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              |           `- error: 'AnyTransition' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:33:9: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
    |         `- error: 'Binding' is only available in macOS 10.15 or newer
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:35:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 36 | 		onDismiss: (() -> Void)? = nil,
 37 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:37:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
 36 | 		onDismiss: (() -> Void)? = nil,
 37 | 		@ViewBuilder content: () -> PassedContent) {
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 38 |
 39 | 			self.passedContnet = content()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:35:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 35 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
 36 | 		onDismiss: (() -> Void)? = nil,
 37 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:50:16: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:52:14: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
    |              `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 53 | 		onDismiss: (() -> Void)? = nil,
 54 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:54:4: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
 53 | 		onDismiss: (() -> Void)? = nil,
 54 | 		@ViewBuilder content: () -> PassedContent) {
    |    `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 55 |
 56 | 			self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:52:35: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 47 | 		}
 48 |
 49 | 	init(
    |  `- note: add '@available' attribute to enclosing initializer
 50 | 		isPresented: Binding<Bool>,
 51 | 		selfDismissDelay: PeekDialogDelay = .persistent,
 52 | 		placement: VerticalAlignment = .top,
    |                                   `- error: 'top' is only available in macOS 10.15 or newer
 53 | 		onDismiss: (() -> Void)? = nil,
 54 | 		@ViewBuilder content: () -> PassedContent) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:64:34: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              |                   `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:63:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 61 | 		}
 62 |
 63 | 	@ViewBuilder
    |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 64 | 	private var dialogContent: some View {
 65 | 		VStack {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:76:38: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	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
 77 | 		ZStack {
 78 | 			content
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:9:34: error: 'View' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        |                         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26:9: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		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
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:9: error: 'bottom' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		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
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 29 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26:9: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		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
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26:15: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		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
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26:38: error: 'move(edge:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		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
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:26:66: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		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
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:9: error: 'bottom' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		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
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 29 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:18: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		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
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 29 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:41: error: 'move(edge:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		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
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 29 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:27:72: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		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
 28 | 		default: .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.9)), removal: .opacity)
 29 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:28:13: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		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
 29 | 		}
 30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:28:36: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		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
 29 | 		}
 30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:28:44: error: 'combined(with:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		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
 29 | 		}
 30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:28:60: error: 'scale(scale:anchor:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		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
 29 | 		}
 30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:28:90: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 22 | 	private let onDismiss: (() -> Void)?
 23 |
 24 | 	private var transition: AnyTransition {
    |              `- note: add '@available' attribute to enclosing property
 25 | 		switch placement {
 26 | 		case .top: .asymmetric(insertion: .move(edge: .top), removal: .opacity)
 27 | 		case .bottom: .asymmetric(insertion: .move(edge: .bottom), removal: .opacity)
 28 | 		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
 29 | 		}
 30 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:44:24: error: 'Binding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 30 | 	}
 31 |
 32 | 	init<T>(
    |  `- note: add '@available' attribute to enclosing initializer
 33 | 		item: Binding<T?>,
 34 | 		selfDismissDelay: PeekDialogDelay = .persistent,
    :
 42 | 			self.onDismiss = onDismiss
 43 |
 44 | 			self._isPresented = Binding<Bool>(
    |                        |- error: 'Binding' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 45 | 				get: { item.wrappedValue != nil },
 46 | 				set: { _ in item.wrappedValue = nil })
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:65:3: error: 'VStack' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
    |   |- error: 'VStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
 67 | 												passedContent: AnyView(passedContnet),
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:67:28: error: 'AnyView' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
 67 | 												passedContent: AnyView(passedContnet),
    |                            |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 68 | 												onDismiss: onDismiss))
 69 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:70:4: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
    :
 68 | 												onDismiss: onDismiss))
 69 | 		}
 70 | 		.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
 71 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
 72 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:70:19: error: 'black' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
    :
 68 | 												onDismiss: onDismiss))
 69 | 		}
 70 | 		.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
 71 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
 72 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:70:25: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
    :
 68 | 												onDismiss: onDismiss))
 69 | 		}
 70 | 		.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
 71 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
 72 | 			style = newStyle
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:71:4: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
    :
 69 | 		}
 70 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
 71 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
    |    |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
 72 | 			style = newStyle
 73 | 		}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:72:4: error: setter for 'style' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 62 |
 63 | 	@ViewBuilder
 64 | 	private var dialogContent: some View {
    |              `- note: add '@available' attribute to enclosing property
 65 | 		VStack {
 66 | 			style.makeBody(configuration: .init(isPresented: isPresented,
    :
 70 | 		.shadow(color: .black.opacity(0.1), radius: 10, x: 0, y: 10)
 71 | 		.onPreferenceChange(PeekDialogStylePreferenceKey.self) { newStyle in
 72 | 			style = newStyle
    |    |- error: setter for 'style' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
 73 | 		}
 74 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:77:3: error: 'ZStack' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
    |   |- error: 'ZStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
 78 | 			content
 79 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:77: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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		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
 78 | 			content
 79 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:80:5: error: 'VStack' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
 79 | 			if isPresented {
 80 | 				VStack(spacing: 0) {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:81:23: error: 'bottom' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
 79 | 			if isPresented {
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
    |                       |- error: 'bottom' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 82 | 						|| placement == .center { Spacer(minLength: 0) }
 83 | 					dialogContent
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:82:24: error: 'center' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
    |                        |- error: 'center' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 83 | 					dialogContent
 84 | 					if placement == .top
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:82:33: 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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { 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
 83 | 					dialogContent
 84 | 					if placement == .top
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:82:33: error: 'Spacer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
    |                                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 83 | 					dialogContent
 84 | 					if placement == .top
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:82:31: 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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { 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
 83 | 					dialogContent
 84 | 					if placement == .top
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:82:31: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
    |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 83 | 					dialogContent
 84 | 					if placement == .top
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:82:54: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
    |                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 83 | 					dialogContent
 84 | 					if placement == .top
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:84:23: error: 'top' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 82 | 						|| placement == .center { Spacer(minLength: 0) }
 83 | 					dialogContent
 84 | 					if placement == .top
    |                       |- error: 'top' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 85 | 						|| placement == .center { Spacer(minLength: 0) }
 86 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:85:24: error: 'center' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 83 | 					dialogContent
 84 | 					if placement == .top
 85 | 						|| placement == .center { Spacer(minLength: 0) }
    |                        |- error: 'center' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 86 | 				}
 87 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:85:33: 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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 83 | 					dialogContent
 84 | 					if placement == .top
 85 | 						|| placement == .center { 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
 86 | 				}
 87 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:85:33: error: 'Spacer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 83 | 					dialogContent
 84 | 					if placement == .top
 85 | 						|| placement == .center { Spacer(minLength: 0) }
    |                                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 86 | 				}
 87 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:85:31: 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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 83 | 					dialogContent
 84 | 					if placement == .top
 85 | 						|| placement == .center { 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
 86 | 				}
 87 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:85:31: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 83 | 					dialogContent
 84 | 					if placement == .top
 85 | 						|| placement == .center { Spacer(minLength: 0) }
    |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 86 | 				}
 87 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:85:54: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 83 | 					dialogContent
 84 | 					if placement == .top
 85 | 						|| placement == .center { Spacer(minLength: 0) }
    |                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 86 | 				}
 87 | 				.padding()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:80: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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
 79 | 			if isPresented {
 80 | 				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
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:80: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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
 79 | 			if isPresented {
 80 | 				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
 81 | 					if placement == .bottom
 82 | 						|| placement == .center { Spacer(minLength: 0) }
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:87:6: error: 'padding' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 85 | 						|| placement == .center { Spacer(minLength: 0) }
 86 | 				}
 87 | 				.padding()
    |      |- error: 'padding' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
 88 | 				.offset(y: offset.height)
 89 | 				.opacity(opacity)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:88:6: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 86 | 				}
 87 | 				.padding()
 88 | 				.offset(y: offset.height)
    |      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
 89 | 				.opacity(opacity)
 90 | 				.transition(transition)
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:89:6: error: 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 87 | 				.padding()
 88 | 				.offset(y: offset.height)
 89 | 				.opacity(opacity)
    |      |- error: 'opacity' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
 90 | 				.transition(transition)
 91 | 				.simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:90:6: error: 'transition' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 88 | 				.offset(y: offset.height)
 89 | 				.opacity(opacity)
 90 | 				.transition(transition)
    |      |- error: 'transition' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
 91 | 				.simultaneousGesture(
 92 | 					DragGesture()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:91:6: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 89 | 				.opacity(opacity)
 90 | 				.transition(transition)
 91 | 				.simultaneousGesture(
    |      |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
 92 | 					DragGesture()
 93 | 						.onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:92:6: error: 'DragGesture' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 90 | 				.transition(transition)
 91 | 				.simultaneousGesture(
 92 | 					DragGesture()
    |      |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
 93 | 						.onChanged { gesture in
 94 | 							timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:92:6: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 90 | 				.transition(transition)
 91 | 				.simultaneousGesture(
 92 | 					DragGesture()
    |      |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |      `- note: add 'if #available' version check
 93 | 						.onChanged { gesture in
 94 | 							timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:93:8: error: 'onChanged' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 91 | 				.simultaneousGesture(
 92 | 					DragGesture()
 93 | 						.onChanged { gesture in
    |        |- error: 'onChanged' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
 94 | 							timer?.invalidate()
 95 | 							timer = nil
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:95:8: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 93 | 						.onChanged { gesture in
 94 | 							timer?.invalidate()
 95 | 							timer = nil
    |        |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
 96 | 							offset = CGSize(width: 0, height: gesture.translation.height)
 97 | 						}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:96:8: error: setter for 'offset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 94 | 							timer?.invalidate()
 95 | 							timer = nil
 96 | 							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
 97 | 						}
 98 | 						.onEnded { gesture in
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:98:8: error: 'onEnded' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
 96 | 							offset = CGSize(width: 0, height: gesture.translation.height)
 97 | 						}
 98 | 						.onEnded { gesture in
    |        |- error: 'onEnded' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
 99 | 							let dismissThreshold: CGFloat = 50
100 | 							if abs(gesture.translation.height) > dismissThreshold {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:103:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
101 | 								dismiss()
102 | 							} else {
103 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
104 | 								if delay > 0 { setTimer() }
105 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:103:24: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
101 | 								dismiss()
102 | 							} else {
103 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |                        |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
104 | 								if delay > 0 { setTimer() }
105 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:103:47: error: setter for 'offset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
101 | 								dismiss()
102 | 							} else {
103 | 								withAnimation(.interactiveSpring()) { offset = .zero }
    |                                               |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
104 | 								if delay > 0 { setTimer() }
105 | 							}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:108:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
106 | 						}
107 | 				)
108 | 				.onAppear {
    |      |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
109 | 					opacity = 1.0
110 | 					if delay > 0 { setTimer() }
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:109:6: error: setter for 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
107 | 				)
108 | 				.onAppear {
109 | 					opacity = 1.0
    |      |- error: setter for 'opacity' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
110 | 					if delay > 0 { setTimer() }
111 | 				}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:112:6: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
110 | 					if delay > 0 { setTimer() }
111 | 				}
112 | 				.onDisappear {
    |      |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
113 | 					timer?.invalidate()
114 | 					timer = nil
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:114:6: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
112 | 				.onDisappear {
113 | 					timer?.invalidate()
114 | 					timer = nil
    |      |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
115 | 				}
116 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:79:19: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
 79 | 			if isPresented {
    |                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 80 | 				VStack(spacing: 0) {
 81 | 					if placement == .bottom
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:116:4: error: 'buildIf' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		ZStack {
 78 | 			content
    :
114 | 					timer = nil
115 | 				}
116 | 			}
    |    |- error: 'buildIf' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
117 | 		}
118 | 	}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:77: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<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
 74 | 	}
 75 |
 76 | 	func body(content: Content) -> some View {
    |       `- note: add '@available' attribute to enclosing instance method
 77 | 		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
 78 | 			content
 79 | 			if isPresented {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:122:3: error: 'withAnimation' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
119 |
120 | 	@MainActor
121 | 	private func dismiss() {
    |               `- note: add '@available' attribute to enclosing instance method
122 | 		withAnimation(.easeIn(duration: 0.20)) {
    |   |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
123 | 			opacity = 0.0
124 | 			isPresented = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:122:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
119 |
120 | 	@MainActor
121 | 	private func dismiss() {
    |               `- note: add '@available' attribute to enclosing instance method
122 | 		withAnimation(.easeIn(duration: 0.20)) {
    |                  |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
123 | 			opacity = 0.0
124 | 			isPresented = false
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:123:4: error: setter for 'opacity' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
119 |
120 | 	@MainActor
121 | 	private func dismiss() {
    |               `- note: add '@available' attribute to enclosing instance method
122 | 		withAnimation(.easeIn(duration: 0.20)) {
123 | 			opacity = 0.0
    |    |- error: setter for 'opacity' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
124 | 			isPresented = false
125 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:124:4: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
119 |
120 | 	@MainActor
121 | 	private func dismiss() {
    |               `- note: add '@available' attribute to enclosing instance method
122 | 		withAnimation(.easeIn(duration: 0.20)) {
123 | 			opacity = 0.0
124 | 			isPresented = false
    |    |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
125 |
126 | 			DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:128:5: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
119 |
120 | 	@MainActor
121 | 	private func dismiss() {
    |               `- note: add '@available' attribute to enclosing instance method
122 | 		withAnimation(.easeIn(duration: 0.20)) {
123 | 			opacity = 0.0
    :
126 | 			DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
127 | 				timer?.invalidate()
128 | 				timer = nil
    |     |- error: setter for 'timer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
129 | 				offset = .zero
130 |
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:129:5: error: setter for 'offset' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
119 |
120 | 	@MainActor
121 | 	private func dismiss() {
    |               `- note: add '@available' attribute to enclosing instance method
122 | 		withAnimation(.easeIn(duration: 0.20)) {
123 | 			opacity = 0.0
    :
127 | 				timer?.invalidate()
128 | 				timer = nil
129 | 				offset = .zero
    |     |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
130 |
131 | 				onDismiss?()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:137:3: error: setter for 'timer' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
134 | 	}
135 |
136 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
137 | 		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
138 | 			Task { @MainActor in
139 | 				dismiss()
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:138:4: error: 'Task' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
134 | 	}
135 |
136 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
137 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
138 | 			Task { @MainActor in
    |    |- error: 'Task' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
139 | 				dismiss()
140 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:138:4: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
134 | 	}
135 |
136 | 	private func setTimer() {
    |               `- note: add '@available' attribute to enclosing instance method
137 | 		timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false) { _ in
138 | 			Task { @MainActor in
    |    |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |    `- note: add 'if #available' version check
139 | 				dismiss()
140 | 			}
/Users/admin/builder/spi-builder-workspace/PeekDialog/PeekDialog.swift:145:3: error: setter for 'style' is only available in macOS 10.15 or newer
  7 | import SwiftUI
  8 |
  9 | struct PeekDialog<PassedContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
 10 |
 11 | 	@ViewBuilder private var passedContnet: PassedContent
    :
142 | 	}
143 |
144 | 	private func setStyle(_ style: AnyDialogStyle) {
    |               `- note: add '@available' attribute to enclosing instance method
145 | 		self.style = style
    |   |- error: setter for 'style' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
146 | 	}
147 | }
BUILD FAILURE 6.3 macosSpm