The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftUItility, reference 0.1.3 (de36f7), with Swift 6.0 (beta) for macOS (SPM) on 15 Sep 2024 00:03:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/SwiftUItility.git
Reference: 0.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/SwiftUItility
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at de36f70 features
Cloned https://github.com/insub4067/SwiftUItility.git
Revision (git rev-parse @):
de36f704ef14d28f2ce7af022c5d83f6c0ee004b
SUCCESS checkout https://github.com/insub4067/SwiftUItility.git at 0.1.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/insub4067/SwiftUItility.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Emitting module SwiftUItility
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:31:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertController' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public class AlertController {
   |              `- note: class 'AlertController' does not conform to the 'Sendable' protocol
11 |
12 |     public func show(_ parameter: AlertParameter) {
   :
29 |
30 | public struct AlertKey: EnvironmentKey {
31 |     public static let defaultValue = AlertController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:34:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
32 | }
33 |
34 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
35 |     var alert: AlertController {
36 |         self[AlertKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:60:16: error: cannot find type 'UIAlertAction' in scope
58 |
59 |     let title: String
60 |     let style: UIAlertAction.Style
   |                `- error: cannot find type 'UIAlertAction' in scope
61 |     let action: (() -> Void)?
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:65:16: error: cannot find type 'UIAlertAction' in scope
63 |     public init(
64 |         title: String,
65 |         style: UIAlertAction.Style = .default,
   |                `- error: cannot find type 'UIAlertAction' in scope
66 |         action: (() -> Void)? = .none
67 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:12:37: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SafeAreaInsetsKey: EnvironmentKey {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public static var defaultValue: EdgeInsets {
   |                       |             `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing static property
13 |
14 |         let safeAreaInsets = UIApplication
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:32:25: error: 'EdgeInsets' is only available in macOS 10.15 or newer
28 | }
29 |
30 | public extension EnvironmentValues {
   |        `- note: add @available attribute to enclosing extension
31 |
32 |     var safeAreaInsets: EdgeInsets {
   |         |               `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
33 |         self[SafeAreaInsetsKey.self]
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:30:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
28 | }
29 |
30 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
31 |
32 |     var safeAreaInsets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:37:18: error: cannot find type 'UIEdgeInsets' in scope
35 | }
36 |
37 | public extension UIEdgeInsets {
   |                  `- error: cannot find type 'UIEdgeInsets' in scope
38 |
39 |     var insets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/screenSize.swift:25:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
26 |
27 |     var screenSize: CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:12:28: error: cannot find type 'UIActivityIndicatorView' in scope
10 | public class SpinnerController {
11 |
12 |     private var acitivity: UIActivityIndicatorView?
   |                            `- error: cannot find type 'UIActivityIndicatorView' in scope
13 |
14 |     public func start(_ style: UIActivityIndicatorView.Style = .medium) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:14:32: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     private var acitivity: UIActivityIndicatorView?
13 |
14 |     public func start(_ style: UIActivityIndicatorView.Style = .medium) {
   |                                `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         DispatchQueue.main.async { [weak self] in
16 |             guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:42:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpinnerController' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public class SpinnerController {
   |              `- note: class 'SpinnerController' does not conform to the 'Sendable' protocol
11 |
12 |     private var acitivity: UIActivityIndicatorView?
   :
40 |
41 | public struct SpinnerKey: EnvironmentKey {
42 |     public static let defaultValue = SpinnerController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpinnerController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:45:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
43 | }
44 |
45 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
46 |     var spinner: SpinnerController {
47 |         self[SpinnerKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:56:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastController' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | #if canImport(SwiftUI)
 8 | import SwiftUI
 9 | public class ToastController {
   |              `- note: class 'ToastController' does not conform to the 'Sendable' protocol
10 |
11 |     public func show(_ message: String) {
   :
54 |
55 | public struct ToastKey: EnvironmentKey {
56 |     public static let defaultValue = ToastController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:59:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
60 |     var toast: ToastController {
61 |         self[ToastKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:12:81: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:12:83: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |                       |                                                           `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:60: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       |                                    `- error: 'Binding' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:89: error: 'FocusState' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       |                                                                 `- error: 'FocusState' is only available in macOS 12.0 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:120: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       |                                                                                                `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:13:18: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
14 |         and anotherState: Binding<T>,
15 |         animated: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:14:27: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
   |                           `- error: 'Binding' is only available in macOS 10.15 or newer
15 |         animated: Bool = false
16 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:16:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
15 |         animated: Bool = false
16 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
17 |         self
18 |             .onChange(of: state.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:12:51: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |                       |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         if state {
14 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         if state {
14 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:18:51: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |                       |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
19 |         if !state {
20 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:18:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
19 |         if !state {
20 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:25:18: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
   |                  `- error: 'Color' is only available in macOS 10.15 or newer
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:28:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
28 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
29 |         self.overlay {
30 |             RoundedRectangle(cornerRadius: radius)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:24:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:25:27: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
   |                           `- error: 'gray' is only available in macOS 10.15 or newer
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:25:32: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
   |                                `- error: 'opacity' is only available in macOS 10.15 or newer
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:36:18: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
   |                  `- error: 'Color' is only available in macOS 10.15 or newer
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:38:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
39 |         self
40 |             .overlay(alignment: .bottom) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:35:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:36:27: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
   |                           `- error: 'gray' is only available in macOS 10.15 or newer
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:36:32: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
   |                                `- error: 'opacity' is only available in macOS 10.15 or newer
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:12:75: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       |                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:12:61: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func hideKeyboardOnTapBackground() -> some View {
   |                       |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func hideKeyboardOnTapBackground() -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func hideKeyboardOnTapBackground() -> some View {
[4/15] Compiling SwiftUItility View+getSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:12:75: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       |                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:14:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
   |              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
15 |                 GeometryReader { geometry in
16 |                     Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:15:17: error: 'GeometryReader' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
15 |                 GeometryReader { geometry in
   |                 |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     Color.clear
17 |                         .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:16:21: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
15 |                 GeometryReader { geometry in
16 |                     Color.clear
   |                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
17 |                         .onAppear {
18 |                             size(geometry.size)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:16:27: error: 'clear' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
15 |                 GeometryReader { geometry in
16 |                     Color.clear
   |                           |- error: 'clear' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
17 |                         .onAppear {
18 |                             size(geometry.size)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+getSize.swift:17:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func getSize(_ size: @escaping (CGSize) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
15 |                 GeometryReader { geometry in
16 |                     Color.clear
17 |                         .onAppear {
   |                          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
18 |                             size(geometry.size)
19 |                         }
[5/15] Compiling SwiftUItility View+hideKeyboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:12:61: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func hideKeyboardOnTapBackground() -> some View {
   |                       |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func hideKeyboardOnTapBackground() -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func hideKeyboardOnTapBackground() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:15:23: error: cannot find 'UIColor' in scope
13 |         self
14 |             .background(
15 |                 Color(UIColor.systemBackground)
   |                       `- error: cannot find 'UIColor' in scope
16 |                     .onTapGesture {
17 |                         UIApplication.shared.endEditing()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+hideKeyboard.swift:17:25: error: cannot find 'UIApplication' in scope
15 |                 Color(UIColor.systemBackground)
16 |                     .onTapGesture {
17 |                         UIApplication.shared.endEditing()
   |                         `- error: cannot find 'UIApplication' in scope
18 |                     }
19 |             )
[6/15] Compiling SwiftUItility View+syncFocused.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:60: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       |                                    `- error: 'Binding' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:89: error: 'FocusState' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       |                                                                 `- error: 'FocusState' is only available in macOS 12.0 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:120: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       |                                                                                                `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:14:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
15 |                 focusState.wrappedValue = $0
16 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncFocused.swift:17:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncFocused<T: Equatable>(_ binding: Binding<T>, with focusState: FocusState<T>.Binding) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .onChange(of: binding.wrappedValue) {
15 |                 focusState.wrappedValue = $0
16 |             }
17 |             .onChange(of: focusState.wrappedValue) {
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
18 |                 binding.wrappedValue = $0
19 |             }
[7/15] Compiling SwiftUItility View+syncStates.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:13:18: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
14 |         and anotherState: Binding<T>,
15 |         animated: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:14:27: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
   |                           `- error: 'Binding' is only available in macOS 10.15 or newer
15 |         animated: Bool = false
16 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:16:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
15 |         animated: Bool = false
16 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
17 |         self
18 |             .onChange(of: state.wrappedValue) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:18:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
   :
16 |     ) -> some View {
17 |         self
18 |             .onChange(of: state.wrappedValue) {
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
19 |                 switch animated {
20 |                 case true:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:21:21: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
   :
19 |                 switch animated {
20 |                 case true:
21 |                     withAnimation {
   |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
22 |                         anotherState.wrappedValue = state.wrappedValue
23 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:28:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
   :
26 |                 }
27 |             }
28 |             .onChange(of: anotherState.wrappedValue) {
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
29 |                 switch animated {
30 |                 case true:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/State/View+syncStates.swift:31:21: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func syncStates<T: Equatable>(
   |                       `- note: add @available attribute to enclosing instance method
13 |         _ state: Binding<T>,
14 |         and anotherState: Binding<T>,
   :
29 |                 switch animated {
30 |                 case true:
31 |                     withAnimation {
   |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
32 |                         state.wrappedValue = anotherState.wrappedValue
33 |                     }
[8/15] Compiling SwiftUItility View+onDragging.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:12:83: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |                       |                                                           `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:14:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
   |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
16 |                     .onChanged({ value in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:15:17: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
   |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     .onChanged({ value in
17 |                         if value.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:15:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
   |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     .onChanged({ value in
17 |                         if value.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+onDragging.swift:16:22: error: 'onChanged' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func onDragging(_ onDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
16 |                     .onChanged({ value in
   |                      |- error: 'onChanged' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
17 |                         if value.translation.width < 0 {
18 |                             onDrag(.left)
[9/15] Compiling SwiftUItility View+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:12:51: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |                       |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         if state {
14 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         if state {
14 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:18:51: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |                       |                           `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
19 |         if !state {
20 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:18:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
19 |         if !state {
20 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:25:18: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
   |                  `- error: 'Color' is only available in macOS 10.15 or newer
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:28:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
28 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
29 |         self.overlay {
30 |             RoundedRectangle(cornerRadius: radius)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:24:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:25:27: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
   |                           `- error: 'gray' is only available in macOS 10.15 or newer
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:25:32: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
   |                                `- error: 'opacity' is only available in macOS 10.15 or newer
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:36:18: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
   |                  `- error: 'Color' is only available in macOS 10.15 or newer
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:38:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
39 |         self
40 |             .overlay(alignment: .bottom) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:35:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:36:27: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
   |                           `- error: 'gray' is only available in macOS 10.15 or newer
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:36:32: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
   |                                `- error: 'opacity' is only available in macOS 10.15 or newer
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:13:18: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         if state {
   |                  |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
14 |             self
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:15:9: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         if state {
14 |             self
15 |         }
   |         |- error: 'buildIf' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
16 |     }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:12:56: 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
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   |                       |                                |- 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
   |                       `- note: add @available attribute to enclosing instance method
13 |         if state {
14 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:19:19: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
19 |         if !state {
   |                   |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
20 |             self
21 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:21:9: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
19 |         if !state {
20 |             self
21 |         }
   |         |- error: 'buildIf' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:18:56: 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
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
16 |     }
17 |
18 |     @ViewBuilder func hide(_ state: Bool) -> some View {
   |                       |                                |- 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
   |                       `- note: add @available attribute to enclosing instance method
19 |         if !state {
20 |             self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:29:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
28 |     ) -> some View {
29 |         self.overlay {
   |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
30 |             RoundedRectangle(cornerRadius: radius)
31 |                 .stroke(color, lineWidth: linewidth)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:29:22: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
28 |     ) -> some View {
29 |         self.overlay {
   |                      |- warning: conformance of 'Color' to 'ShapeStyle' 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
30 |             RoundedRectangle(cornerRadius: radius)
31 |                 .stroke(color, lineWidth: linewidth)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:30:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
   :
28 |     ) -> some View {
29 |         self.overlay {
30 |             RoundedRectangle(cornerRadius: radius)
   |             |- warning: conformance of 'Color' to 'ShapeStyle' 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
31 |                 .stroke(color, lineWidth: linewidth)
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:30:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
   :
28 |     ) -> some View {
29 |         self.overlay {
30 |             RoundedRectangle(cornerRadius: radius)
   |             |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .stroke(color, lineWidth: linewidth)
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:31:18: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
   :
29 |         self.overlay {
30 |             RoundedRectangle(cornerRadius: radius)
31 |                 .stroke(color, lineWidth: linewidth)
   |                  |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:29:22: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
22 |     }
23 |
24 |     @ViewBuilder func roundedBorder(
   |                       `- note: add @available attribute to enclosing instance method
25 |         _ color: Color = .gray.opacity(0.6),
26 |         radius: CGFloat = 8,
27 |         linewidth: CGFloat = 1
28 |     ) -> some View {
29 |         self.overlay {
   |                      |- warning: conformance of 'Color' to 'ShapeStyle' 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
30 |             RoundedRectangle(cornerRadius: radius)
31 |                 .stroke(color, lineWidth: linewidth)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:40:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
39 |         self
40 |             .overlay(alignment: .bottom) {
   |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
41 |                 Rectangle()
42 |                     .frame(height: lineheight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:40:34: error: 'bottom' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
38 |     ) -> some View {
39 |         self
40 |             .overlay(alignment: .bottom) {
   |                                  |- error: 'bottom' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |                 Rectangle()
42 |                     .frame(height: lineheight)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:41:17: error: 'Rectangle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
   :
39 |         self
40 |             .overlay(alignment: .bottom) {
41 |                 Rectangle()
   |                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
42 |                     .frame(height: lineheight)
43 |                     .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:42:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
   :
40 |             .overlay(alignment: .bottom) {
41 |                 Rectangle()
42 |                     .frame(height: lineheight)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
43 |                     .frame(maxWidth: .infinity)
44 |                     .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:43:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
   :
41 |                 Rectangle()
42 |                     .frame(height: lineheight)
43 |                     .frame(maxWidth: .infinity)
   |                      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
44 |                     .foregroundStyle(color)
45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/View+.swift:44:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func show(_ state: Bool) -> some View {
   :
33 |     }
34 |
35 |     @ViewBuilder func underline(
   |                       `- note: add @available attribute to enclosing instance method
36 |         _ color: Color = .gray.opacity(0.6),
37 |         lineheight: CGFloat = 1
   :
42 |                     .frame(height: lineheight)
43 |                     .frame(maxWidth: .infinity)
44 |                     .foregroundStyle(color)
   |                      |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
   |                      `- note: add 'if #available' version check
45 |             }
46 |     }
[10/15] Compiling SwiftUItility screenSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/screenSize.swift:25:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
26 |
27 |     var screenSize: CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/screenSize.swift:14:20: error: cannot find 'UIApplication' in scope
12 |     public static var defaultValue: CGSize {
13 |
14 |         let size = UIApplication
   |                    `- error: cannot find 'UIApplication' in scope
15 |             .shared
16 |             .root?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:12:28: error: cannot find type 'UIActivityIndicatorView' in scope
10 | public class SpinnerController {
11 |
12 |     private var acitivity: UIActivityIndicatorView?
   |                            `- error: cannot find type 'UIActivityIndicatorView' in scope
13 |
14 |     public func start(_ style: UIActivityIndicatorView.Style = .medium) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:14:32: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     private var acitivity: UIActivityIndicatorView?
13 |
14 |     public func start(_ style: UIActivityIndicatorView.Style = .medium) {
   |                                `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         DispatchQueue.main.async { [weak self] in
16 |             guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:42:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpinnerController' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public class SpinnerController {
   |              `- note: class 'SpinnerController' does not conform to the 'Sendable' protocol
11 |
12 |     private var acitivity: UIActivityIndicatorView?
   :
40 |
41 | public struct SpinnerKey: EnvironmentKey {
42 |     public static let defaultValue = SpinnerController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpinnerController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:45:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
43 | }
44 |
45 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
46 |     var spinner: SpinnerController {
47 |         self[SpinnerKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:17:24: error: cannot find 'UIApplication' in scope
15 |         DispatchQueue.main.async { [weak self] in
16 |             guard let self else { return }
17 |             let root = UIApplication.shared.root
   |                        `- error: cannot find 'UIApplication' in scope
18 |             if self.acitivity == nil {
19 |                 let indicator = UIActivityIndicatorView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:19:33: error: cannot find 'UIActivityIndicatorView' in scope
17 |             let root = UIApplication.shared.root
18 |             if self.acitivity == nil {
19 |                 let indicator = UIActivityIndicatorView()
   |                                 `- error: cannot find 'UIActivityIndicatorView' in scope
20 |                 indicator.style = .medium
21 |                 indicator.hidesWhenStopped = true
[11/15] Compiling SwiftUItility spinner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/screenSize.swift:25:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
23 | }
24 |
25 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
26 |
27 |     var screenSize: CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/screenSize.swift:14:20: error: cannot find 'UIApplication' in scope
12 |     public static var defaultValue: CGSize {
13 |
14 |         let size = UIApplication
   |                    `- error: cannot find 'UIApplication' in scope
15 |             .shared
16 |             .root?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:12:28: error: cannot find type 'UIActivityIndicatorView' in scope
10 | public class SpinnerController {
11 |
12 |     private var acitivity: UIActivityIndicatorView?
   |                            `- error: cannot find type 'UIActivityIndicatorView' in scope
13 |
14 |     public func start(_ style: UIActivityIndicatorView.Style = .medium) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:14:32: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     private var acitivity: UIActivityIndicatorView?
13 |
14 |     public func start(_ style: UIActivityIndicatorView.Style = .medium) {
   |                                `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         DispatchQueue.main.async { [weak self] in
16 |             guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:42:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpinnerController' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public class SpinnerController {
   |              `- note: class 'SpinnerController' does not conform to the 'Sendable' protocol
11 |
12 |     private var acitivity: UIActivityIndicatorView?
   :
40 |
41 | public struct SpinnerKey: EnvironmentKey {
42 |     public static let defaultValue = SpinnerController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'SpinnerController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:45:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
43 | }
44 |
45 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
46 |     var spinner: SpinnerController {
47 |         self[SpinnerKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:17:24: error: cannot find 'UIApplication' in scope
15 |         DispatchQueue.main.async { [weak self] in
16 |             guard let self else { return }
17 |             let root = UIApplication.shared.root
   |                        `- error: cannot find 'UIApplication' in scope
18 |             if self.acitivity == nil {
19 |                 let indicator = UIActivityIndicatorView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/spinner.swift:19:33: error: cannot find 'UIActivityIndicatorView' in scope
17 |             let root = UIApplication.shared.root
18 |             if self.acitivity == nil {
19 |                 let indicator = UIActivityIndicatorView()
   |                                 `- error: cannot find 'UIActivityIndicatorView' in scope
20 |                 indicator.style = .medium
21 |                 indicator.hidesWhenStopped = true
[12/15] Compiling SwiftUItility toast.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:56:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastController' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | #if canImport(SwiftUI)
 8 | import SwiftUI
 9 | public class ToastController {
   |              `- note: class 'ToastController' does not conform to the 'Sendable' protocol
10 |
11 |     public func show(_ message: String) {
   :
54 |
55 | public struct ToastKey: EnvironmentKey {
56 |     public static let defaultValue = ToastController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:59:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
60 |     var toast: ToastController {
61 |         self[ToastKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:15:26: error: cannot find 'UIApplication' in scope
13 |         let toastTag = 111
14 |
15 |         guard let view = UIApplication.shared.root?.view,
   |                          `- error: cannot find 'UIApplication' in scope
16 |               view.viewWithTag(toastTag) == nil
17 |         else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:26:21: error: cannot find 'UILabel' in scope
24 |         )
25 |
26 |         let label = UILabel(frame: frame)
   |                     `- error: cannot find 'UILabel' in scope
27 |         label.text = message
28 |         label.font = .boldSystemFont(ofSize: 24)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:28:23: error: cannot infer contextual base in reference to member 'boldSystemFont'
26 |         let label = UILabel(frame: frame)
27 |         label.text = message
28 |         label.font = .boldSystemFont(ofSize: 24)
   |                       `- error: cannot infer contextual base in reference to member 'boldSystemFont'
29 |         label.backgroundColor = .darkGray.withAlphaComponent(0.8)
30 |         label.textAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:29:34: error: cannot infer contextual base in reference to member 'darkGray'
27 |         label.text = message
28 |         label.font = .boldSystemFont(ofSize: 24)
29 |         label.backgroundColor = .darkGray.withAlphaComponent(0.8)
   |                                  `- error: cannot infer contextual base in reference to member 'darkGray'
30 |         label.textAlignment = .center
31 |         label.alpha = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:30:32: error: cannot infer contextual base in reference to member 'center'
28 |         label.font = .boldSystemFont(ofSize: 24)
29 |         label.backgroundColor = .darkGray.withAlphaComponent(0.8)
30 |         label.textAlignment = .center
   |                                `- error: cannot infer contextual base in reference to member 'center'
31 |         label.alpha = 0
32 |         label.layer.cornerRadius = 18
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:34:28: error: cannot infer contextual base in reference to member 'white'
32 |         label.layer.cornerRadius = 18
33 |         label.clipsToBounds = true
34 |         label.textColor = .white.withAlphaComponent(0.9)
   |                            `- error: cannot infer contextual base in reference to member 'white'
35 |         label.tag = toastTag
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:39:9: error: cannot find 'UIView' in scope
37 |         view.addSubview(label)
38 |
39 |         UIView.animate(withDuration: 0.2) {
   |         `- error: cannot find 'UIView' in scope
40 |             label.center.y = view.frame.height - 90
41 |             label.alpha = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:45:13: error: cannot find 'UIView' in scope
43 |
44 |         DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
45 |             UIView.animate(withDuration: 0.2) {
   |             `- error: cannot find 'UIView' in scope
46 |                 label.center.y = view.frame.height
47 |                 label.alpha = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:12:81: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:14:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
   |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
16 |                     .onEnded({ value in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:15:17: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
   |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     .onEnded({ value in
17 |                         if value.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:15:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
   |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     .onEnded({ value in
17 |                         if value.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:16:22: error: 'onEnded' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
16 |                     .onEnded({ value in
   |                      |- error: 'onEnded' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
17 |                         if value.translation.width < 0 {
18 |                             didDrag(.left)
[13/15] Compiling SwiftUItility View+didDrag.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:56:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastController' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | #if canImport(SwiftUI)
 8 | import SwiftUI
 9 | public class ToastController {
   |              `- note: class 'ToastController' does not conform to the 'Sendable' protocol
10 |
11 |     public func show(_ message: String) {
   :
54 |
55 | public struct ToastKey: EnvironmentKey {
56 |     public static let defaultValue = ToastController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:59:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
60 |     var toast: ToastController {
61 |         self[ToastKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:15:26: error: cannot find 'UIApplication' in scope
13 |         let toastTag = 111
14 |
15 |         guard let view = UIApplication.shared.root?.view,
   |                          `- error: cannot find 'UIApplication' in scope
16 |               view.viewWithTag(toastTag) == nil
17 |         else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:26:21: error: cannot find 'UILabel' in scope
24 |         )
25 |
26 |         let label = UILabel(frame: frame)
   |                     `- error: cannot find 'UILabel' in scope
27 |         label.text = message
28 |         label.font = .boldSystemFont(ofSize: 24)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:28:23: error: cannot infer contextual base in reference to member 'boldSystemFont'
26 |         let label = UILabel(frame: frame)
27 |         label.text = message
28 |         label.font = .boldSystemFont(ofSize: 24)
   |                       `- error: cannot infer contextual base in reference to member 'boldSystemFont'
29 |         label.backgroundColor = .darkGray.withAlphaComponent(0.8)
30 |         label.textAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:29:34: error: cannot infer contextual base in reference to member 'darkGray'
27 |         label.text = message
28 |         label.font = .boldSystemFont(ofSize: 24)
29 |         label.backgroundColor = .darkGray.withAlphaComponent(0.8)
   |                                  `- error: cannot infer contextual base in reference to member 'darkGray'
30 |         label.textAlignment = .center
31 |         label.alpha = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:30:32: error: cannot infer contextual base in reference to member 'center'
28 |         label.font = .boldSystemFont(ofSize: 24)
29 |         label.backgroundColor = .darkGray.withAlphaComponent(0.8)
30 |         label.textAlignment = .center
   |                                `- error: cannot infer contextual base in reference to member 'center'
31 |         label.alpha = 0
32 |         label.layer.cornerRadius = 18
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:34:28: error: cannot infer contextual base in reference to member 'white'
32 |         label.layer.cornerRadius = 18
33 |         label.clipsToBounds = true
34 |         label.textColor = .white.withAlphaComponent(0.9)
   |                            `- error: cannot infer contextual base in reference to member 'white'
35 |         label.tag = toastTag
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:39:9: error: cannot find 'UIView' in scope
37 |         view.addSubview(label)
38 |
39 |         UIView.animate(withDuration: 0.2) {
   |         `- error: cannot find 'UIView' in scope
40 |             label.center.y = view.frame.height - 90
41 |             label.alpha = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/toast.swift:45:13: error: cannot find 'UIView' in scope
43 |
44 |         DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
45 |             UIView.animate(withDuration: 0.2) {
   |             `- error: cannot find 'UIView' in scope
46 |                 label.center.y = view.frame.height
47 |                 label.alpha = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:12:81: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       |                                                         `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         self
14 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:14:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
   |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
16 |                     .onEnded({ value in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:15:17: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
   |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     .onEnded({ value in
17 |                         if value.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:15:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
   |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |                     .onEnded({ value in
17 |                         if value.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/View+/Gesture/View+didDrag.swift:16:22: error: 'onEnded' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     @ViewBuilder func didDrag(_ didDrag: @escaping (Direction) -> Void) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         self
14 |             .gesture(
15 |                 DragGesture(minimumDistance: 0, coordinateSpace: .local)
16 |                     .onEnded({ value in
   |                      |- error: 'onEnded' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
17 |                         if value.translation.width < 0 {
18 |                             didDrag(.left)
[14/15] Compiling SwiftUItility alert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:31:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertController' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public class AlertController {
   |              `- note: class 'AlertController' does not conform to the 'Sendable' protocol
11 |
12 |     public func show(_ parameter: AlertParameter) {
   :
29 |
30 | public struct AlertKey: EnvironmentKey {
31 |     public static let defaultValue = AlertController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:34:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
32 | }
33 |
34 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
35 |     var alert: AlertController {
36 |         self[AlertKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:60:16: error: cannot find type 'UIAlertAction' in scope
58 |
59 |     let title: String
60 |     let style: UIAlertAction.Style
   |                `- error: cannot find type 'UIAlertAction' in scope
61 |     let action: (() -> Void)?
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:65:16: error: cannot find type 'UIAlertAction' in scope
63 |     public init(
64 |         title: String,
65 |         style: UIAlertAction.Style = .default,
   |                `- error: cannot find type 'UIAlertAction' in scope
66 |         action: (() -> Void)? = .none
67 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:13:21: error: cannot find 'UIAlertController' in scope
11 |
12 |     public func show(_ parameter: AlertParameter) {
13 |         let alert = UIAlertController(
   |                     `- error: cannot find 'UIAlertController' in scope
14 |             title: parameter.title,
15 |             message: parameter.message,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:16:30: error: cannot infer contextual base in reference to member 'alert'
14 |             title: parameter.title,
15 |             message: parameter.message,
16 |             preferredStyle: .alert
   |                              `- error: cannot infer contextual base in reference to member 'alert'
17 |         )
18 |         parameter.buttons.forEach { button in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:19:26: error: cannot find 'UIAlertAction' in scope
17 |         )
18 |         parameter.buttons.forEach { button in
19 |             let action = UIAlertAction(
   |                          `- error: cannot find 'UIAlertAction' in scope
20 |                 title: button.title,
21 |                 style: button.style,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:26:9: error: cannot find 'UIApplication' in scope
24 |             alert.addAction(action)
25 |         }
26 |         UIApplication.shared.root?.present(alert, animated: true)
   |         `- error: cannot find 'UIApplication' in scope
27 |     }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:12:37: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SafeAreaInsetsKey: EnvironmentKey {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public static var defaultValue: EdgeInsets {
   |                       |             `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing static property
13 |
14 |         let safeAreaInsets = UIApplication
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:32:25: error: 'EdgeInsets' is only available in macOS 10.15 or newer
28 | }
29 |
30 | public extension EnvironmentValues {
   |        `- note: add @available attribute to enclosing extension
31 |
32 |     var safeAreaInsets: EdgeInsets {
   |         |               `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
33 |         self[SafeAreaInsetsKey.self]
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:30:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
28 | }
29 |
30 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
31 |
32 |     var safeAreaInsets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:37:18: error: cannot find type 'UIEdgeInsets' in scope
35 | }
36 |
37 | public extension UIEdgeInsets {
   |                  `- error: cannot find type 'UIEdgeInsets' in scope
38 |
39 |     var insets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:14:30: error: cannot find 'UIApplication' in scope
12 |     public static var defaultValue: EdgeInsets {
13 |
14 |         let safeAreaInsets = UIApplication
   |                              `- error: cannot find 'UIApplication' in scope
15 |             .shared
16 |             .window?
[15/15] Compiling SwiftUItility safeAreaInsets.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:31:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertController' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public class AlertController {
   |              `- note: class 'AlertController' does not conform to the 'Sendable' protocol
11 |
12 |     public func show(_ parameter: AlertParameter) {
   :
29 |
30 | public struct AlertKey: EnvironmentKey {
31 |     public static let defaultValue = AlertController()
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertController' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:34:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
32 | }
33 |
34 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
35 |     var alert: AlertController {
36 |         self[AlertKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:60:16: error: cannot find type 'UIAlertAction' in scope
58 |
59 |     let title: String
60 |     let style: UIAlertAction.Style
   |                `- error: cannot find type 'UIAlertAction' in scope
61 |     let action: (() -> Void)?
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:65:16: error: cannot find type 'UIAlertAction' in scope
63 |     public init(
64 |         title: String,
65 |         style: UIAlertAction.Style = .default,
   |                `- error: cannot find type 'UIAlertAction' in scope
66 |         action: (() -> Void)? = .none
67 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:13:21: error: cannot find 'UIAlertController' in scope
11 |
12 |     public func show(_ parameter: AlertParameter) {
13 |         let alert = UIAlertController(
   |                     `- error: cannot find 'UIAlertController' in scope
14 |             title: parameter.title,
15 |             message: parameter.message,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:16:30: error: cannot infer contextual base in reference to member 'alert'
14 |             title: parameter.title,
15 |             message: parameter.message,
16 |             preferredStyle: .alert
   |                              `- error: cannot infer contextual base in reference to member 'alert'
17 |         )
18 |         parameter.buttons.forEach { button in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:19:26: error: cannot find 'UIAlertAction' in scope
17 |         )
18 |         parameter.buttons.forEach { button in
19 |             let action = UIAlertAction(
   |                          `- error: cannot find 'UIAlertAction' in scope
20 |                 title: button.title,
21 |                 style: button.style,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/alert.swift:26:9: error: cannot find 'UIApplication' in scope
24 |             alert.addAction(action)
25 |         }
26 |         UIApplication.shared.root?.present(alert, animated: true)
   |         `- error: cannot find 'UIApplication' in scope
27 |     }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:12:37: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SafeAreaInsetsKey: EnvironmentKey {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public static var defaultValue: EdgeInsets {
   |                       |             `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing static property
13 |
14 |         let safeAreaInsets = UIApplication
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:32:25: error: 'EdgeInsets' is only available in macOS 10.15 or newer
28 | }
29 |
30 | public extension EnvironmentValues {
   |        `- note: add @available attribute to enclosing extension
31 |
32 |     var safeAreaInsets: EdgeInsets {
   |         |               `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
33 |         self[SafeAreaInsetsKey.self]
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:30:18: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
28 | }
29 |
30 | public extension EnvironmentValues {
   |        |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
31 |
32 |     var safeAreaInsets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:37:18: error: cannot find type 'UIEdgeInsets' in scope
35 | }
36 |
37 | public extension UIEdgeInsets {
   |                  `- error: cannot find type 'UIEdgeInsets' in scope
38 |
39 |     var insets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUItility/SwiftUI/Environment/safeAreaInsets.swift:14:30: error: cannot find 'UIApplication' in scope
12 |     public static var defaultValue: EdgeInsets {
13 |
14 |         let safeAreaInsets = UIApplication
   |                              `- error: cannot find 'UIApplication' in scope
15 |             .shared
16 |             .window?
[16/16] Compiling SwiftUItility UIApplication+.swift
BUILD FAILURE 6.0 macosSpm