The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CustomAlertKit, reference master (778cfd), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 17:21:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bence-t0th/CustomAlertKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bence-t0th/CustomAlertKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 778cfd0 2.0.2 bugfix
Cloned https://github.com/bence-t0th/CustomAlertKit.git
Revision (git rev-parse @):
778cfd093060b19712ed90532c85872709dc1623
SUCCESS checkout https://github.com/bence-t0th/CustomAlertKit.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "customalertkit",
      "name": "CustomAlertKit",
      "url": "https://github.com/bence-t0th/CustomAlertKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CustomAlertKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bence-t0th/CustomAlertKit.git
[1/189] Fetching customalertkit
Fetched https://github.com/bence-t0th/CustomAlertKit.git from cache (0.91s)
Creating working copy for https://github.com/bence-t0th/CustomAlertKit.git
Working copy of https://github.com/bence-t0th/CustomAlertKit.git resolved at master (778cfd0)
warning: '.resolve-product-dependencies': dependency 'customalertkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/bence-t0th/CustomAlertKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module CustomAlertKit
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     var alertBackground: BackgroundType?
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:15:19: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
14 |
15 |     init(visible: Binding<Bool>, background: BackgroundType?, @ViewBuilder content: @escaping () -> Content) {
   |     |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:15:64: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
14 |
15 |     init(visible: Binding<Bool>, background: BackgroundType?, @ViewBuilder content: @escaping () -> Content) {
   |     |                                                          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:21:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
19 |     }
20 |
21 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
22 |         ZStack {
23 |             if visible {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:10:23: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        |              `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:109:15: error: cannot find type 'UIBlurEffect' in scope
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
109 |     case blur(UIBlurEffect.Style)
    |               `- error: cannot find type 'UIBlurEffect' in scope
110 |     case color(Color)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |     @State var bottomSheetBackground: BackgroundType?
15 |     @State var contentBackgroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
   |      `- error: 'State' is only available in macOS 10.15 or newer
15 |     @State var contentBackgroundColor: Color
16 |     private var closable: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:15:40: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
15 |     @State var contentBackgroundColor: Color
   |                                        `- error: 'Color' is only available in macOS 10.15 or newer
16 |     private var closable: Bool
17 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
15 |     @State var contentBackgroundColor: Color
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |     private var closable: Bool
17 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:18:39: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
16 |     private var closable: Bool
17 |
18 |     @ViewBuilder var background: some View {
   |                      |                `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add '@available' attribute to enclosing property
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:18:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
16 |     private var closable: Bool
17 |
18 |     @ViewBuilder var background: some View {
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:29:19: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:29:87: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:29:111: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     |                                                                                                         `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:37:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
35 |     }
36 |
37 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
38 |         VStack(spacing: 0) {
39 |             Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:10:29: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        |                    `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:165: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                                                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:31: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:105: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                              `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:165: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                                                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:179: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                                                                                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:73: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:28: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                 `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:73: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:87: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:105: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:25: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |              `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:105: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:119: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.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 |     /// Presents a bottomsheet with custom content when a given condition is true.
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:110:16: error: 'Color' is only available in macOS 10.15 or newer
106 | /// - blur:     The background is a UIVisualEffectView with the given UIBlurEffect
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
    |             `- note: add '@available' attribute to enclosing enum
109 |     case blur(UIBlurEffect.Style)
110 |     case color(Color)
    |                `- error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:11:51: error: cannot find type 'UIRectCorner' in scope
 9 |
10 | extension View {
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:11:73: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/RoundedCorner.swift:12:18: error: cannot find type 'UIRectCorner' in scope
10 | struct RoundedCorner: Shape {
11 |     var radius: CGFloat = .infinity
12 |     var corners: UIRectCorner = .allCorners
   |                  `- error: cannot find type 'UIRectCorner' in scope
13 |
14 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/RoundedCorner.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct RoundedCorner: Shape {
   |        `- note: add '@available' attribute to enclosing struct
11 |     var radius: CGFloat = .infinity
12 |     var corners: UIRectCorner = .allCorners
13 |
14 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         Path(UIBezierPath(roundedRect: rect, byRoundingCorners: corners, cornerRadii: CGSize(width: radius, height: radius)).cgPath)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:13:30: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                              `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:13:72: error: 'autoconnect()' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                                                                        `- error: 'autoconnect()' is only available in macOS 10.15 or newer
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:15:19: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
   |     |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:15:35: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
   |     |                             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:10:26: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        |                 `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     var background: BackgroundType?
13 |     var contentBackgroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:13:33: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
13 |     var contentBackgroundColor: Color
   |                                 `- error: 'Color' is only available in macOS 10.15 or newer
14 |     var closable: Bool
15 |     var customContent: () -> CustomContent
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:17:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
   :
15 |     var customContent: () -> CustomContent
16 |
17 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
18 |         ZStack {
19 |             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:10:43: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:28:6: error: 'Binding' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
29 |     var customContent: () -> CustomContent
30 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:31:41: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
29 |     var customContent: () -> CustomContent
30 |
31 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
32 |         ZStack {
33 |             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:27:40: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        |                               `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
29 |     var customContent: () -> CustomContent
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:42:6: error: 'Binding' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
43 |     var background: BackgroundType?
44 |     var customContent: () -> CustomContent
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:46:41: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
43 |     var background: BackgroundType?
44 |     var customContent: () -> CustomContent
45 |
46 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
47 |         ZStack {
48 |             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:41:37: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        |                            `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
43 |     var background: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:11:17: error: cannot find type 'UIVisualEffect' in scope
 9 |
10 | struct VisualEffectView: UIViewRepresentable {
11 |     var effect: UIVisualEffect
   |                 `- error: cannot find type 'UIVisualEffect' in scope
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:13:67: error: cannot find type 'UIVisualEffectView' in scope
11 |     var effect: UIVisualEffect
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
   |                                                                   `- error: cannot find type 'UIVisualEffectView' in scope
14 |         UIVisualEffectView()
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:13:30: error: cannot find type 'UIViewRepresentableContext' in scope
11 |     var effect: UIVisualEffect
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
   |                              `- error: cannot find type 'UIViewRepresentableContext' in scope
14 |         UIVisualEffectView()
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:17:33: error: cannot find type 'UIVisualEffectView' in scope
15 |     }
16 |
17 |     func updateUIView(_ uiView: UIVisualEffectView, context: UIViewRepresentableContext<Self>) {
   |                                 `- error: cannot find type 'UIVisualEffectView' in scope
18 |         uiView.effect = effect
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:17:62: error: cannot find type 'UIViewRepresentableContext' in scope
15 |     }
16 |
17 |     func updateUIView(_ uiView: UIVisualEffectView, context: UIViewRepresentableContext<Self>) {
   |                                                              `- error: cannot find type 'UIViewRepresentableContext' in scope
18 |         uiView.effect = effect
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:10:26: error: cannot find type 'UIViewRepresentable' in scope
 8 | import SwiftUI
 9 |
10 | struct VisualEffectView: UIViewRepresentable {
   |                          `- error: cannot find type 'UIViewRepresentable' in scope
11 |     var effect: UIVisualEffect
12 |
[4/11] Compiling CustomAlertKit VisualEffectView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:11:17: error: cannot find type 'UIVisualEffect' in scope
 9 |
10 | struct VisualEffectView: UIViewRepresentable {
11 |     var effect: UIVisualEffect
   |                 `- error: cannot find type 'UIVisualEffect' in scope
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:13:67: error: cannot find type 'UIVisualEffectView' in scope
11 |     var effect: UIVisualEffect
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
   |                                                                   `- error: cannot find type 'UIVisualEffectView' in scope
14 |         UIVisualEffectView()
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:13:30: error: cannot find type 'UIViewRepresentableContext' in scope
11 |     var effect: UIVisualEffect
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
   |                              `- error: cannot find type 'UIViewRepresentableContext' in scope
14 |         UIVisualEffectView()
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:17:33: error: cannot find type 'UIVisualEffectView' in scope
15 |     }
16 |
17 |     func updateUIView(_ uiView: UIVisualEffectView, context: UIViewRepresentableContext<Self>) {
   |                                 `- error: cannot find type 'UIVisualEffectView' in scope
18 |         uiView.effect = effect
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:17:62: error: cannot find type 'UIViewRepresentableContext' in scope
15 |     }
16 |
17 |     func updateUIView(_ uiView: UIVisualEffectView, context: UIViewRepresentableContext<Self>) {
   |                                                              `- error: cannot find type 'UIViewRepresentableContext' in scope
18 |         uiView.effect = effect
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:10:26: error: cannot find type 'UIViewRepresentable' in scope
 8 | import SwiftUI
 9 |
10 | struct VisualEffectView: UIViewRepresentable {
   |                          `- error: cannot find type 'UIViewRepresentable' in scope
11 |     var effect: UIVisualEffect
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/VisualEffectView.swift:14:9: error: cannot find 'UIVisualEffectView' in scope
12 |
13 |     func makeUIView(context: UIViewRepresentableContext<Self>) -> UIVisualEffectView {
14 |         UIVisualEffectView()
   |         `- error: cannot find 'UIVisualEffectView' in scope
15 |     }
16 |
[5/11] Compiling CustomAlertKit RoundedCorner.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/RoundedCorner.swift:12:18: error: cannot find type 'UIRectCorner' in scope
10 | struct RoundedCorner: Shape {
11 |     var radius: CGFloat = .infinity
12 |     var corners: UIRectCorner = .allCorners
   |                  `- error: cannot find type 'UIRectCorner' in scope
13 |
14 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/RoundedCorner.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct RoundedCorner: Shape {
   |        `- note: add '@available' attribute to enclosing struct
11 |     var radius: CGFloat = .infinity
12 |     var corners: UIRectCorner = .allCorners
13 |
14 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         Path(UIBezierPath(roundedRect: rect, byRoundingCorners: corners, cornerRadii: CGSize(width: radius, height: radius)).cgPath)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/RoundedCorner.swift:15:14: error: cannot find 'UIBezierPath' in scope
13 |
14 |     func path(in rect: CGRect) -> Path {
15 |         Path(UIBezierPath(roundedRect: rect, byRoundingCorners: corners, cornerRadii: CGSize(width: radius, height: radius)).cgPath)
   |              `- error: cannot find 'UIBezierPath' in scope
16 |     }
17 | }
[6/11] Compiling CustomAlertKit ViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     var background: BackgroundType?
13 |     var contentBackgroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:13:33: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
13 |     var contentBackgroundColor: Color
   |                                 `- error: 'Color' is only available in macOS 10.15 or newer
14 |     var closable: Bool
15 |     var customContent: () -> CustomContent
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:17:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
   :
15 |     var customContent: () -> CustomContent
16 |
17 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
18 |         ZStack {
19 |             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:10:43: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:109:15: error: cannot find type 'UIBlurEffect' in scope
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
109 |     case blur(UIBlurEffect.Style)
    |               `- error: cannot find type 'UIBlurEffect' in scope
110 |     case color(Color)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:28:6: error: 'Binding' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
29 |     var customContent: () -> CustomContent
30 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:31:41: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
29 |     var customContent: () -> CustomContent
30 |
31 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
32 |         ZStack {
33 |             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:27:40: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        |                               `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
29 |     var customContent: () -> CustomContent
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:42:6: error: 'Binding' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
43 |     var background: BackgroundType?
44 |     var customContent: () -> CustomContent
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:46:41: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
43 |     var background: BackgroundType?
44 |     var customContent: () -> CustomContent
45 |
46 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
47 |         ZStack {
48 |             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:41:37: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        |                            `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
43 |     var background: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:18:9: error: 'ZStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheetModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     var background: BackgroundType?
   :
15 |     var customContent: () -> CustomContent
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
18 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
19 |             content
20 |             BottomSheet(visible: $visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:32:9: error: 'ZStack' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SnackbarModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
28 |     @Binding var visible: Bool
29 |     var customContent: () -> CustomContent
30 |
31 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
32 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             content
34 |             Snackbar(visible: $visible) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/ViewModifiers.swift:47:9: error: 'ZStack' is only available in macOS 10.15 or newer
39 | }
40 |
41 | struct AlertModifier<CustomContent: View>: ViewModifier {
   |        `- note: add '@available' attribute to enclosing generic struct
42 |     @Binding var visible: Bool
43 |     var background: BackgroundType?
44 |     var customContent: () -> CustomContent
45 |
46 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
47 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
48 |             content
49 |             Alert(visible: $visible, background: background) {
[7/11] Compiling CustomAlertKit Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:11:51: error: cannot find type 'UIRectCorner' in scope
 9 |
10 | extension View {
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:11:73: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/RoundedCorner.swift:12:18: error: cannot find type 'UIRectCorner' in scope
10 | struct RoundedCorner: Shape {
11 |     var radius: CGFloat = .infinity
12 |     var corners: UIRectCorner = .allCorners
   |                  `- error: cannot find type 'UIRectCorner' in scope
13 |
14 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:12:32: error: argument passed to call that takes no arguments
10 | extension View {
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
   |                                `- error: argument passed to call that takes no arguments
13 |     }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:18:21: error: cannot find 'UIApplication' in scope
16 | extension CGFloat {
17 |     static var topSafeAreaHeight: CGFloat {
18 |         let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene
   |                     `- error: cannot find 'UIApplication' in scope
19 |         return scene?.keyWindow?.safeAreaInsets.top ?? .zero
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:18:68: error: cannot find type 'UIWindowScene' in scope
16 | extension CGFloat {
17 |     static var topSafeAreaHeight: CGFloat {
18 |         let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene
   |                                                                    `- error: cannot find type 'UIWindowScene' in scope
19 |         return scene?.keyWindow?.safeAreaInsets.top ?? .zero
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:23:21: error: cannot find 'UIApplication' in scope
21 |
22 |     static var bottomSafeAreaHeight: CGFloat {
23 |         let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene
   |                     `- error: cannot find 'UIApplication' in scope
24 |         return scene?.keyWindow?.safeAreaInsets.bottom ?? .zero
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:23:68: error: cannot find type 'UIWindowScene' in scope
21 |
22 |     static var bottomSafeAreaHeight: CGFloat {
23 |         let scene = UIApplication.shared.connectedScenes.first as? UIWindowScene
   |                                                                    `- error: cannot find type 'UIWindowScene' in scope
24 |         return scene?.keyWindow?.safeAreaInsets.bottom ?? .zero
25 |     }
[8/11] Compiling CustomAlertKit Alert.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     var alertBackground: BackgroundType?
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:15:19: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
14 |
15 |     init(visible: Binding<Bool>, background: BackgroundType?, @ViewBuilder content: @escaping () -> Content) {
   |     |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:15:64: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
14 |
15 |     init(visible: Binding<Bool>, background: BackgroundType?, @ViewBuilder content: @escaping () -> Content) {
   |     |                                                          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:21:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
19 |     }
20 |
21 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
22 |         ZStack {
23 |             if visible {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:10:23: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        |              `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:109:15: error: cannot find type 'UIBlurEffect' in scope
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
109 |     case blur(UIBlurEffect.Style)
    |               `- error: cannot find type 'UIBlurEffect' in scope
110 |     case color(Color)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:16:9: error: setter for 'content' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Alert<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     var alertBackground: BackgroundType?
14 |
15 |     init(visible: Binding<Bool>, background: BackgroundType?, @ViewBuilder content: @escaping () -> Content) {
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
   |         |- error: setter for 'content' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |         self._visible = visible
18 |         self.alertBackground = background
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:26:46: error: cannot find 'UIBlurEffect' in scope
24 |                 switch alertBackground {
25 |                 case .blur(let style):
26 |                     VisualEffectView(effect: UIBlurEffect(style: style))
   |                                              `- error: cannot find 'UIBlurEffect' in scope
27 |                 case .color(let color):
28 |                     color
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:25:23: error: referencing instance method 'blur(radius:opaque:)' on 'Optional' requires that 'BackgroundType' conform to 'View'
23 |             if visible {
24 |                 switch alertBackground {
25 |                 case .blur(let style):
   |                       `- error: referencing instance method 'blur(radius:opaque:)' on 'Optional' requires that 'BackgroundType' conform to 'View'
26 |                     VisualEffectView(effect: UIBlurEffect(style: style))
27 |                 case .color(let color):
SwiftUI.Optional:2:11: note: requirement from conditional conformance of 'BackgroundType?' to 'View'
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Optional : View where Wrapped : View {
  |           `- note: requirement from conditional conformance of 'BackgroundType?' to 'View'
3 |     public typealias Body = Never
4 |     nonisolated public static func _makeView(view: _GraphValue<Wrapped?>, inputs: _ViewInputs) -> _ViewOutputs
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Alert.swift:25:23: error: pattern with associated values does not match enum case 'blur'
23 |             if visible {
24 |                 switch alertBackground {
25 |                 case .blur(let style):
   |                       |- error: pattern with associated values does not match enum case 'blur'
   |                       `- note: remove associated values to make the pattern match
26 |                     VisualEffectView(effect: UIBlurEffect(style: style))
27 |                 case .color(let color):
[9/11] Compiling CustomAlertKit BottomSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |     @State var bottomSheetBackground: BackgroundType?
15 |     @State var contentBackgroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
   |      `- error: 'State' is only available in macOS 10.15 or newer
15 |     @State var contentBackgroundColor: Color
16 |     private var closable: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:15:40: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
15 |     @State var contentBackgroundColor: Color
   |                                        `- error: 'Color' is only available in macOS 10.15 or newer
16 |     private var closable: Bool
17 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
13 |     @State var content: Content
14 |     @State var bottomSheetBackground: BackgroundType?
15 |     @State var contentBackgroundColor: Color
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |     private var closable: Bool
17 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:18:39: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
16 |     private var closable: Bool
17 |
18 |     @ViewBuilder var background: some View {
   |                      |                `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add '@available' attribute to enclosing property
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:18:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
16 |     private var closable: Bool
17 |
18 |     @ViewBuilder var background: some View {
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:29:19: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:29:87: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     |                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:29:111: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     |                                                                                                         `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:37:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
35 |     }
36 |
37 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
38 |         VStack(spacing: 0) {
39 |             Spacer(minLength: 0)
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:10:29: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        |                    `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:109:15: error: cannot find type 'UIBlurEffect' in scope
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
109 |     case blur(UIBlurEffect.Style)
    |               `- error: cannot find type 'UIBlurEffect' in scope
110 |     case color(Color)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:21:38: error: cannot find 'UIBlurEffect' in scope
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
21 |             VisualEffectView(effect: UIBlurEffect(style: style))
   |                                      `- error: cannot find 'UIBlurEffect' in scope
22 |         case .color(let color):
23 |             color
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:20:15: error: referencing instance method 'blur(radius:opaque:)' on 'Optional' requires that 'BackgroundType' conform to 'View'
18 |     @ViewBuilder var background: some View {
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
   |               `- error: referencing instance method 'blur(radius:opaque:)' on 'Optional' requires that 'BackgroundType' conform to 'View'
21 |             VisualEffectView(effect: UIBlurEffect(style: style))
22 |         case .color(let color):
SwiftUI.Optional:2:11: note: requirement from conditional conformance of 'BackgroundType?' to 'View'
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Optional : View where Wrapped : View {
  |           `- note: requirement from conditional conformance of 'BackgroundType?' to 'View'
3 |     public typealias Body = Never
4 |     nonisolated public static func _makeView(view: _GraphValue<Wrapped?>, inputs: _ViewInputs) -> _ViewOutputs
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:20:15: error: pattern with associated values does not match enum case 'blur'
18 |     @ViewBuilder var background: some View {
19 |         switch bottomSheetBackground {
20 |         case .blur(let style):
   |               |- error: pattern with associated values does not match enum case 'blur'
   |               `- note: remove associated values to make the pattern match
21 |             VisualEffectView(effect: UIBlurEffect(style: style))
22 |         case .color(let color):
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:31:9: error: setter for 'content' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
   |         |- error: setter for 'content' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |         self.bottomSheetBackground = background
33 |         self.contentBackgroundColor = contentBackgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:32:9: error: setter for 'bottomSheetBackground' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
32 |         self.bottomSheetBackground = background
   |         |- error: setter for 'bottomSheetBackground' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |         self.contentBackgroundColor = contentBackgroundColor
34 |         self.closable = closable
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:33:9: error: setter for 'contentBackgroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct BottomSheet<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State private var offset = CGSizeZero
   :
27 |     }
28 |
29 |     init(visible: Binding<Bool>, background: BackgroundType?, contentBackgroundColor: Color, closable: Bool, @ViewBuilder content: @escaping () -> Content) {
   |     `- note: add '@available' attribute to enclosing initializer
30 |         self._visible = visible
31 |         self.content = content()
32 |         self.bottomSheetBackground = background
33 |         self.contentBackgroundColor = contentBackgroundColor
   |         |- error: setter for 'contentBackgroundColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
34 |         self.closable = closable
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:44:35: error: cannot find 'UIScreen' in scope
42 |                 content
43 |                     .padding(.bottom, .bottomSafeAreaHeight + 50)
44 |                     .frame(width: UIScreen.main.bounds.width)
   |                                   `- error: cannot find 'UIScreen' in scope
45 |                     .fixedSize(horizontal: true, vertical: true)
46 |                     .background(contentBackgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:88:27: error: cannot find 'UIScreen' in scope
86 |         )
87 |         .edgesIgnoringSafeArea(.bottom)
88 |         .frame(maxHeight: UIScreen.main.bounds.height - .bottomSafeAreaHeight - .topSafeAreaHeight)
   |                           `- error: cannot find 'UIScreen' in scope
89 |     }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Extensions.swift:11:51: error: cannot find type 'UIRectCorner' in scope
 9 |
10 | extension View {
11 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
12 |         clipShape(RoundedCorner(radius: radius, corners: corners))
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:47:48: error: extra argument 'corners' in call
45 |                     .fixedSize(horizontal: true, vertical: true)
46 |                     .background(contentBackgroundColor)
47 |                     .cornerRadius(32, corners: [.topLeft, .topRight])
   |                                                `- error: extra argument 'corners' in call
48 |                     .offset(x: 0, y: closable ? max(offset.height, -8) : 0 + 50)
49 |                     .shadow(color: .black.opacity(0.2), radius: 40, x: 0, y: -20)
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:47:50: error: reference to member 'topLeft' cannot be resolved without a contextual type
45 |                     .fixedSize(horizontal: true, vertical: true)
46 |                     .background(contentBackgroundColor)
47 |                     .cornerRadius(32, corners: [.topLeft, .topRight])
   |                                                  `- error: reference to member 'topLeft' cannot be resolved without a contextual type
48 |                     .offset(x: 0, y: closable ? max(offset.height, -8) : 0 + 50)
49 |                     .shadow(color: .black.opacity(0.2), radius: 40, x: 0, y: -20)
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/BottomSheet.swift:47:60: error: reference to member 'topRight' cannot be resolved without a contextual type
45 |                     .fixedSize(horizontal: true, vertical: true)
46 |                     .background(contentBackgroundColor)
47 |                     .cornerRadius(32, corners: [.topLeft, .topRight])
   |                                                            `- error: reference to member 'topRight' cannot be resolved without a contextual type
48 |                     .offset(x: 0, y: closable ? max(offset.height, -8) : 0 + 50)
49 |                     .shadow(color: .black.opacity(0.2), radius: 40, x: 0, y: -20)
[10/11] Compiling CustomAlertKit Snackbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:13:30: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                              `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:13:72: error: 'autoconnect()' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                                                                        `- error: 'autoconnect()' is only available in macOS 10.15 or newer
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:15:19: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
   |     |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:15:35: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
   |     |                             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
17 |         self._visible = visible
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:10:26: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        |                 `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:16:9: error: setter for 'content' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
13 |     @State var timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
14 |
15 |     init(visible: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) {
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.content = content()
   |         |- error: setter for 'content' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |         self._visible = visible
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:21:9: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
   |         |- error: 'VStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
22 |             Spacer()
23 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:22:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   |             |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
23 |
24 |             if visible {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:22:13: error: 'Spacer' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   |             |- error: 'Spacer' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
23 |
24 |             if visible {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:26:22: error: 'transition' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
24 |             if visible {
25 |                 content
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
   |                      |- error: 'transition' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:26:34: error: 'move(edge:)' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
24 |             if visible {
25 |                 content
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
   |                                  |- error: 'move(edge:)' is only available in macOS 14.0 or newer
   |                                  `- note: add 'if #available' version check
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:26:54: error: 'combined(with:)' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
24 |             if visible {
25 |                 content
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
   |                                                      |- error: 'combined(with:)' is only available in macOS 14.0 or newer
   |                                                      `- note: add 'if #available' version check
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:26:70: error: 'opacity' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
24 |             if visible {
25 |                 content
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
   |                                                                      |- error: 'opacity' is only available in macOS 14.0 or newer
   |                                                                      `- note: add 'if #available' version check
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:27:22: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
25 |                 content
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
27 |                     .padding(1)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
28 |                     .gesture(DragGesture()
29 |                         .onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:28:22: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
   |                      |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
29 |                         .onChanged { gesture in
30 |                             if gesture.translation.height > 10 {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:28:30: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
   |                              |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
29 |                         .onChanged { gesture in
30 |                             if gesture.translation.height > 10 {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:28:30: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
   |                              |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
   |                              `- note: add 'if #available' version check
29 |                         .onChanged { gesture in
30 |                             if gesture.translation.height > 10 {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:29:26: error: 'onChanged' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
27 |                     .padding(1)
28 |                     .gesture(DragGesture()
29 |                         .onChanged { gesture in
   |                          |- error: 'onChanged' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
30 |                             if gesture.translation.height > 10 {
31 |                                 timer.upstream.connect().cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:32:33: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
30 |                             if gesture.translation.height > 10 {
31 |                                 timer.upstream.connect().cancel()
32 |                                 withAnimation {
   |                                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
33 |                                     visible = false
34 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:33:37: error: setter for 'visible' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
31 |                                 timer.upstream.connect().cancel()
32 |                                 withAnimation {
33 |                                     visible = false
   |                                     |- error: setter for 'visible' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
34 |                                 }
35 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:24:24: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
23 |
24 |             if visible {
   |                        |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
25 |                 content
26 |                     .transition(.move(edge: .bottom).combined(with: .opacity))
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:38:13: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
36 |                         }
37 |                     )
38 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |         .onChange(of: visible) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:21:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
   |                |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
22 |             Spacer()
23 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:21:16: 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 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
   |                |- 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
22 |             Spacer()
23 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:40:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
38 |             }
39 |         }
40 |         .onChange(of: visible) { newValue in
   |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |          `- note: add 'if #available' version check
41 |             if newValue {
42 |                 timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:42:17: error: setter for 'timer' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
40 |         .onChange(of: visible) { newValue in
41 |             if newValue {
42 |                 timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                 |- error: setter for 'timer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
43 |             }
44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:42:31: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
40 |         .onChange(of: visible) { newValue in
41 |             if newValue {
42 |                 timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                               |- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
43 |             }
44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:42:73: error: 'autoconnect()' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
40 |         .onChange(of: visible) { newValue in
41 |             if newValue {
42 |                 timer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
   |                                                                         |- error: 'autoconnect()' is only available in macOS 10.15 or newer
   |                                                                         `- note: add 'if #available' version check
43 |             }
44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:45:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
43 |             }
44 |         }
45 |         .onReceive(timer) { _ in
   |          |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
46 |             timer.upstream.connect().cancel()
47 |             withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:47:13: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
45 |         .onReceive(timer) { _ in
46 |             timer.upstream.connect().cancel()
47 |             withAnimation {
   |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
48 |                 visible = false
49 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/Snackbar.swift:48:17: error: setter for 'visible' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct Snackbar<Content: View>: View {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |     @Binding var visible: Bool
12 |     @State var content: Content
   :
18 |     }
19 |
20 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
21 |         VStack {
22 |             Spacer()
   :
46 |             timer.upstream.connect().cancel()
47 |             withAnimation {
48 |                 visible = false
   |                 |- error: setter for 'visible' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
49 |             }
50 |         }
[11/11] Compiling CustomAlertKit CustomAlertKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:165: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                                                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:31: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:105: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                              `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:165: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                                                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:40:179: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          |                                                                                                                                                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
 42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:73: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:28: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                 `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:73: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:67:87: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
 69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:105: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:25: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |              `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:105: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:98:119: 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          |                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.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 |     /// Presents a bottomsheet with custom content when a given condition is true.
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:109:15: error: cannot find type 'UIBlurEffect' in scope
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
109 |     case blur(UIBlurEffect.Style)
    |               `- error: cannot find type 'UIBlurEffect' in scope
110 |     case color(Color)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:110:16: error: 'Color' is only available in macOS 10.15 or newer
106 | /// - blur:     The background is a UIVisualEffectView with the given UIBlurEffect
107 | /// - color:   The background is the given color
108 | public enum BackgroundType {
    |             `- note: add '@available' attribute to enclosing enum
109 |     case blur(UIBlurEffect.Style)
110 |     case color(Color)
    |                `- error: 'Color' is only available in macOS 10.15 or newer
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:41:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 11 |
 12 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:41:9: error: 'modifier' 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 38 |     /// - Returns: A view that's capable of displaying a bottomsheet with custom
 39 |     ///   content
 40 |     func bottomSheet(visible: Binding<Bool>, background: BackgroundType? = nil, contentBackgroundColor: Color, closable: Bool = true, content: @escaping () -> some View) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 41 |         modifier(BottomSheetModifier(visible: visible, background: background, contentBackgroundColor: contentBackgroundColor, closable: closable, customContent: content))
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:68:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 11 |
 12 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 69 |     }
 70 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:68:9: error: 'modifier' 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 65 |     /// - Returns: A view that's capable of displaying a snackbar with custom content
 66 |     ///   at the bottom of the screen
 67 |     func snackbar(visible: Binding<Bool>, content: @escaping () -> some View) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 68 |         modifier(SnackbarModifier(visible: visible, customContent: content))
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 69 |     }
 70 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:99:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 11 |
 12 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
100 |     }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/CustomAlertKit/CustomAlertKit.swift:99:9: error: 'modifier' 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 |     /// Presents a bottomsheet with custom content when a given condition is true.
    :
 96 |     /// - Returns: A view that's capable of displaying an alert with custom
 97 |     ///   content in the middle of the screen
 98 |     func alert(visible: Binding<Bool>, background: BackgroundType? = nil, content: @escaping () -> some View) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         modifier(AlertModifier(visible: visible, background: background, customContent: content))
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
100 |     }
101 | }
BUILD FAILURE 6.3 macosSpm