The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BottomDrawer, reference 1.2.1 (4c9770), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 01:30:49 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/timi2506/BottomDrawer.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timi2506/BottomDrawer
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 4c97702 Lil Fix :D
Cloned https://github.com/timi2506/BottomDrawer.git
Revision (git rev-parse @):
4c97702f107565c00a3b0ccfbea4742c72de94be
SUCCESS checkout https://github.com/timi2506/BottomDrawer.git at 1.2.1
========================================
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": "bottomdrawer",
      "name": "BottomDrawer",
      "url": "https://github.com/timi2506/BottomDrawer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BottomDrawer",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/timi2506/BottomDrawer.git
[1/255] Fetching bottomdrawer
Fetched https://github.com/timi2506/BottomDrawer.git from cache (0.76s)
Creating working copy for https://github.com/timi2506/BottomDrawer.git
Working copy of https://github.com/timi2506/BottomDrawer.git resolved at 1.2.1 (4c97702)
warning: '.resolve-product-dependencies': dependency 'bottomdrawer' 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/timi2506/BottomDrawer.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/5] Emitting module BottomDrawer
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:2:8: warning: file 'Showcase.swift' is part of module 'BottomDrawer'; ignoring import
 1 | import SwiftUI
 2 | import BottomDrawer
   |        `- warning: file 'Showcase.swift' is part of module 'BottomDrawer'; ignoring import
 3 |
 4 | struct BottomSheetShowcase: View {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:13:20: error: 'colorScheme' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 11 |     @Binding var height: CGFloat
 12 |
 13 |     @Environment(\.colorScheme) private var colorScheme
    |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
 14 |
 15 |     @Binding var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
  9 |     let dragHandleVisibility: DragHandleVisibility
 10 |
 11 |     @Binding var height: CGFloat
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 12 |
 13 |     @Environment(\.colorScheme) private var colorScheme
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:13:6: error: 'Environment' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 11 |     @Binding var height: CGFloat
 12 |
 13 |     @Environment(\.colorScheme) private var colorScheme
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 14 |
 15 |     @Binding var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 13 |     @Environment(\.colorScheme) private var colorScheme
 14 |
 15 |     @Binding var isPresented: Bool
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 16 |
 17 |     let interactiveDismiss: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:20:27: error: 'Gesture' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         |                 `- error: 'Gesture' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:57:26: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         |                `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:81:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 79 |
 80 |
 81 |     @State private var contentCornerRadius: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 82 |
 83 |     // This function sets the height according to isPresented, animated if desired.
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:96:41: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 94 |     }
 95 |
 96 |     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
 97 |         ZStack {
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:3:36: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        |                           `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:161:45: error: 'View' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 |                           `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:162:22: error: 'Binding' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
163 |         interactiveDismiss: Bool? = false,
164 |         dragHandleVisibility: DragHandleVisibility? = .visible,
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:165:17: error: 'Binding' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
164 |         dragHandleVisibility: DragHandleVisibility? = .visible,
165 |         height: Binding<CGFloat>,
    |                 `- error: 'Binding' is only available in macOS 10.15 or newer
166 |         initialHeight: CGFloat,
167 |         maxHeight: CGFloat? = 250,
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:168:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
    :
166 |         initialHeight: CGFloat,
167 |         maxHeight: CGFloat? = 250,
168 |         @ViewBuilder content: @escaping () -> ScrollContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
169 |     ) -> some View {
170 |         modifier(BottomDrawer(initialHeight: initialHeight, maxHeight: maxHeight!, scrollContent: content, dragHandleVisibility: dragHandleVisibility!, height: height, isPresented: isPresented!, interactiveDismiss: interactiveDismiss!))
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:169:15: error: 'View' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
    :
167 |         maxHeight: CGFloat? = 250,
168 |         @ViewBuilder content: @escaping () -> ScrollContent
169 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
170 |         modifier(BottomDrawer(initialHeight: initialHeight, maxHeight: maxHeight!, scrollContent: content, dragHandleVisibility: dragHandleVisibility!, height: height, isPresented: isPresented!, interactiveDismiss: interactiveDismiss!))
171 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:160:11: error: 'View' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
162 |         isPresented: Binding<Bool>? = .constant(true),
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:177:35: error: 'Path' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     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
178 |         var path = Path()
179 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
   |      `- error: 'State' is only available in macOS 10.15 or newer
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     var body: some View {
 8 |         NavigationView {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:19:25: error: 'View' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:28:25: error: 'View' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:36:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
34 | }
35 |
36 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
37 |     BottomSheetShowcase()
38 | }
[4/5] Compiling BottomDrawer BottomDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:13:20: error: 'colorScheme' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 11 |     @Binding var height: CGFloat
 12 |
 13 |     @Environment(\.colorScheme) private var colorScheme
    |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
 14 |
 15 |     @Binding var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
  9 |     let dragHandleVisibility: DragHandleVisibility
 10 |
 11 |     @Binding var height: CGFloat
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 12 |
 13 |     @Environment(\.colorScheme) private var colorScheme
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:13:6: error: 'Environment' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 11 |     @Binding var height: CGFloat
 12 |
 13 |     @Environment(\.colorScheme) private var colorScheme
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 14 |
 15 |     @Binding var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 13 |     @Environment(\.colorScheme) private var colorScheme
 14 |
 15 |     @Binding var isPresented: Bool
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 16 |
 17 |     let interactiveDismiss: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:20:27: error: 'Gesture' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         |                 `- error: 'Gesture' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:57:26: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         |                `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:81:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 79 |
 80 |
 81 |     @State private var contentCornerRadius: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 82 |
 83 |     // This function sets the height according to isPresented, animated if desired.
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:96:41: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 94 |     }
 95 |
 96 |     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
 97 |         ZStack {
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:3:36: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        |                           `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:161:45: error: 'View' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 |                           `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:162:22: error: 'Binding' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
163 |         interactiveDismiss: Bool? = false,
164 |         dragHandleVisibility: DragHandleVisibility? = .visible,
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:165:17: error: 'Binding' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
164 |         dragHandleVisibility: DragHandleVisibility? = .visible,
165 |         height: Binding<CGFloat>,
    |                 `- error: 'Binding' is only available in macOS 10.15 or newer
166 |         initialHeight: CGFloat,
167 |         maxHeight: CGFloat? = 250,
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:168:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
    :
166 |         initialHeight: CGFloat,
167 |         maxHeight: CGFloat? = 250,
168 |         @ViewBuilder content: @escaping () -> ScrollContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
169 |     ) -> some View {
170 |         modifier(BottomDrawer(initialHeight: initialHeight, maxHeight: maxHeight!, scrollContent: content, dragHandleVisibility: dragHandleVisibility!, height: height, isPresented: isPresented!, interactiveDismiss: interactiveDismiss!))
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:169:15: error: 'View' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
    :
167 |         maxHeight: CGFloat? = 250,
168 |         @ViewBuilder content: @escaping () -> ScrollContent
169 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
170 |         modifier(BottomDrawer(initialHeight: initialHeight, maxHeight: maxHeight!, scrollContent: content, dragHandleVisibility: dragHandleVisibility!, height: height, isPresented: isPresented!, interactiveDismiss: interactiveDismiss!))
171 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:160:11: error: 'View' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
162 |         isPresented: Binding<Bool>? = .constant(true),
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:177:35: error: 'Path' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     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
178 |         var path = Path()
179 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:27:14: warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 25 |                     max(0, height - gesture.translation.height)
 26 |             }
 27 |             .onEnded { _ in
    |              |- warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |              `- note: add 'if #available' version check
 28 |                 if height >= maxHeight {
 29 |                     withAnimation(.bouncy(duration: 0.5)) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:21:9: error: 'DragGesture' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
    |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 22 |             .onChanged { gesture in
 23 |                 height = (height - gesture.translation.height) > maxHeight ?
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:21:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
    |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
 22 |             .onChanged { gesture in
 23 |                 height = (height - gesture.translation.height) > maxHeight ?
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:22:14: error: 'onChanged' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    |              |- error: 'onChanged' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 23 |                 height = (height - gesture.translation.height) > maxHeight ?
 24 |                     maxHeight + ((height - gesture.translation.height) - maxHeight) * 0.15 :
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:23:17: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
 23 |                 height = (height - gesture.translation.height) > maxHeight ?
    |                 |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 24 |                     maxHeight + ((height - gesture.translation.height) - maxHeight) * 0.15 :
 25 |                     max(0, height - gesture.translation.height)
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:27:14: error: 'onEnded' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 25 |                     max(0, height - gesture.translation.height)
 26 |             }
 27 |             .onEnded { _ in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 28 |                 if height >= maxHeight {
 29 |                     withAnimation(.bouncy(duration: 0.5)) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:29:21: error: 'withAnimation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 27 |             .onEnded { _ in
 28 |                 if height >= maxHeight {
 29 |                     withAnimation(.bouncy(duration: 0.5)) {
    |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 30 |                         height = maxHeight
 31 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:29:36: error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 27 |             .onEnded { _ in
 28 |                 if height >= maxHeight {
 29 |                     withAnimation(.bouncy(duration: 0.5)) {
    |                                    |- error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 30 |                         height = maxHeight
 31 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:30:25: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 28 |                 if height >= maxHeight {
 29 |                     withAnimation(.bouncy(duration: 0.5)) {
 30 |                         height = maxHeight
    |                         |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 31 |                     }
 32 |                 } else if height <= 10 {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:34:25: error: 'withAnimation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 32 |                 } else if height <= 10 {
 33 |                     if interactiveDismiss {
 34 |                         withAnimation(.bouncy(duration: 0.5)) {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 35 |                             height = 0
 36 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:34:40: error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 32 |                 } else if height <= 10 {
 33 |                     if interactiveDismiss {
 34 |                         withAnimation(.bouncy(duration: 0.5)) {
    |                                        |- error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
 35 |                             height = 0
 36 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:35:29: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 33 |                     if interactiveDismiss {
 34 |                         withAnimation(.bouncy(duration: 0.5)) {
 35 |                             height = 0
    |                             |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 36 |                         }
 37 |                         DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:38:29: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 36 |                         }
 37 |                         DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
 38 |                             isPresented = false
    |                             |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 39 |                             height = 0
 40 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:39:29: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 37 |                         DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
 38 |                             isPresented = false
 39 |                             height = 0
    |                             |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 40 |                         }
 41 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:43:21: error: 'withAnimation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 41 |                     }
 42 |                 } else if height <= initialHeight {
 43 |                     withAnimation(.bouncy(duration: 0.5)) {
    |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 44 |                         height = initialHeight
 45 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:43:36: error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 41 |                     }
 42 |                 } else if height <= initialHeight {
 43 |                     withAnimation(.bouncy(duration: 0.5)) {
    |                                    |- error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 44 |                         height = initialHeight
 45 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:44:25: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 42 |                 } else if height <= initialHeight {
 43 |                     withAnimation(.bouncy(duration: 0.5)) {
 44 |                         height = initialHeight
    |                         |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 45 |                     }
 46 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:49:25: error: 'withAnimation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 47 |                 if !interactiveDismiss {
 48 |                     if height <= 1 {
 49 |                         withAnimation(.bouncy(duration: 0.5)) {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 50 |                             height = initialHeight
 51 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:49:40: error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 47 |                 if !interactiveDismiss {
 48 |                     if height <= 1 {
 49 |                         withAnimation(.bouncy(duration: 0.5)) {
    |                                        |- error: 'bouncy(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
 50 |                             height = initialHeight
 51 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:50:29: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 18 |
 19 |     // MARK: Drag gesture configuration
 20 |     var dragGesture: some Gesture {
    |         `- note: add '@available' attribute to enclosing property
 21 |         DragGesture(minimumDistance: 0)
 22 |             .onChanged { gesture in
    :
 48 |                     if height <= 1 {
 49 |                         withAnimation(.bouncy(duration: 0.5)) {
 50 |                             height = initialHeight
    |                             |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 51 |                         }
 52 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:62:25: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
 60 |
 61 |         let fillOpacity = ((1 - t) + 0.5) * 0.5
 62 |         let fillColor = Color.primary.opacity(fillOpacity)
    |                         |- error: 'Color' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 63 |
 64 |         let effectiveColorScheme: ColorScheme = colorScheme == .dark ? .light : .dark
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:62:31: error: 'primary' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
 60 |
 61 |         let fillOpacity = ((1 - t) + 0.5) * 0.5
 62 |         let fillColor = Color.primary.opacity(fillOpacity)
    |                               |- error: 'primary' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 63 |
 64 |         let effectiveColorScheme: ColorScheme = colorScheme == .dark ? .light : .dark
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:62:39: error: 'opacity' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
 60 |
 61 |         let fillOpacity = ((1 - t) + 0.5) * 0.5
 62 |         let fillColor = Color.primary.opacity(fillOpacity)
    |                                       |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                       `- note: add 'if #available' version check
 63 |
 64 |         let effectiveColorScheme: ColorScheme = colorScheme == .dark ? .light : .dark
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:64:35: error: 'ColorScheme' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 62 |         let fillColor = Color.primary.opacity(fillOpacity)
 63 |
 64 |         let effectiveColorScheme: ColorScheme = colorScheme == .dark ? .light : .dark
    |                                   |- error: 'ColorScheme' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
 65 |
 66 |         return RoundedRectangle(cornerRadius: 100)
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:66:16: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 64 |         let effectiveColorScheme: ColorScheme = colorScheme == .dark ? .light : .dark
 65 |
 66 |         return RoundedRectangle(cornerRadius: 100)
    |                |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 67 |             .fill(fillColor)
 68 |             .colorScheme(effectiveColorScheme)
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:67:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 65 |
 66 |         return RoundedRectangle(cornerRadius: 100)
 67 |             .fill(fillColor)
    |              |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 68 |             .colorScheme(effectiveColorScheme)
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:68:14: error: 'colorScheme' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 66 |         return RoundedRectangle(cornerRadius: 100)
 67 |             .fill(fillColor)
 68 |             .colorScheme(effectiveColorScheme)
    |              |- error: 'colorScheme' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 69 |
 70 |             .frame(width: width, height: 6)
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:70:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 68 |             .colorScheme(effectiveColorScheme)
 69 |
 70 |             .frame(width: width, height: 6)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 71 |             .padding(8)
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:71:14: error: 'padding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 69 |
 70 |             .frame(width: width, height: 6)
 71 |             .padding(8)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 72 |
 73 |             .contentShape(.rect)
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:73:14: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 71 |             .padding(8)
 72 |
 73 |             .contentShape(.rect)
    |              |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 74 |             .gesture(dragGesture)
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:73:28: error: 'rect' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 71 |             .padding(8)
 72 |
 73 |             .contentShape(.rect)
    |                            |- error: 'rect' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 74 |             .gesture(dragGesture)
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:74:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 72 |
 73 |             .contentShape(.rect)
 74 |             .gesture(dragGesture)
    |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 75 |
 76 |             .opacity(height != 0 ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:76:14: error: 'opacity' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 55 |     }
 56 |
 57 |     var dragHandle: some View {
    |         `- note: add '@available' attribute to enclosing property
 58 |         let t = height / maxHeight
 59 |         let width = dragHandleVisibility == .static ? CGFloat(75) : CGFloat(148 + t * (50 - 148)) // manual linear interpolation if not static
    :
 74 |             .gesture(dragGesture)
 75 |
 76 |             .opacity(height != 0 ? 1 : 0)
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 77 |     //        .animation(.smooth, value: isPresented)
 78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:87:26: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 84 |     // The non-animating version is used inside .onAppear, as we wouldn't want to animate collapsing
 85 |     // the drawer when starting out as isPresented == false.
 86 |     private func refreshPresentation(animate: Bool) {
    |                  `- note: add '@available' attribute to enclosing instance method
 87 |         if isPresented { height = 0 }
    |                          |- error: setter for 'height' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 88 |
 89 |         // Don't use .bouncy for collapsing, as it will bounce down the rounded corner mask at the top.
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:90:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 84 |     // The non-animating version is used inside .onAppear, as we wouldn't want to animate collapsing
 85 |     // the drawer when starting out as isPresented == false.
 86 |     private func refreshPresentation(animate: Bool) {
    |                  `- note: add '@available' attribute to enclosing instance method
 87 |         if isPresented { height = 0 }
 88 |
 89 |         // Don't use .bouncy for collapsing, as it will bounce down the rounded corner mask at the top.
 90 |         withAnimation(animate ? (isPresented ? .bouncy : .smooth(duration: 0.3)) : .none) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 91 |             height = isPresented ? initialHeight : 0
 92 |             contentCornerRadius = isPresented ? 25 : 0 // TODO: device radius would be cool here!
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:90:49: error: 'bouncy' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 84 |     // The non-animating version is used inside .onAppear, as we wouldn't want to animate collapsing
 85 |     // the drawer when starting out as isPresented == false.
 86 |     private func refreshPresentation(animate: Bool) {
    |                  `- note: add '@available' attribute to enclosing instance method
 87 |         if isPresented { height = 0 }
 88 |
 89 |         // Don't use .bouncy for collapsing, as it will bounce down the rounded corner mask at the top.
 90 |         withAnimation(animate ? (isPresented ? .bouncy : .smooth(duration: 0.3)) : .none) {
    |                                                 |- error: 'bouncy' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
 91 |             height = isPresented ? initialHeight : 0
 92 |             contentCornerRadius = isPresented ? 25 : 0 // TODO: device radius would be cool here!
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:90:59: error: 'smooth(duration:extraBounce:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 84 |     // The non-animating version is used inside .onAppear, as we wouldn't want to animate collapsing
 85 |     // the drawer when starting out as isPresented == false.
 86 |     private func refreshPresentation(animate: Bool) {
    |                  `- note: add '@available' attribute to enclosing instance method
 87 |         if isPresented { height = 0 }
 88 |
 89 |         // Don't use .bouncy for collapsing, as it will bounce down the rounded corner mask at the top.
 90 |         withAnimation(animate ? (isPresented ? .bouncy : .smooth(duration: 0.3)) : .none) {
    |                                                           |- error: 'smooth(duration:extraBounce:)' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 91 |             height = isPresented ? initialHeight : 0
 92 |             contentCornerRadius = isPresented ? 25 : 0 // TODO: device radius would be cool here!
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:91:13: error: setter for 'height' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 84 |     // The non-animating version is used inside .onAppear, as we wouldn't want to animate collapsing
 85 |     // the drawer when starting out as isPresented == false.
 86 |     private func refreshPresentation(animate: Bool) {
    |                  `- note: add '@available' attribute to enclosing instance method
 87 |         if isPresented { height = 0 }
 88 |
 89 |         // Don't use .bouncy for collapsing, as it will bounce down the rounded corner mask at the top.
 90 |         withAnimation(animate ? (isPresented ? .bouncy : .smooth(duration: 0.3)) : .none) {
 91 |             height = isPresented ? initialHeight : 0
    |             |- error: setter for 'height' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 92 |             contentCornerRadius = isPresented ? 25 : 0 // TODO: device radius would be cool here!
 93 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:92:13: error: setter for 'contentCornerRadius' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | struct BottomDrawer<ScrollContent: View>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  4 |     let initialHeight: CGFloat
  5 |     let maxHeight:     CGFloat
    :
 84 |     // The non-animating version is used inside .onAppear, as we wouldn't want to animate collapsing
 85 |     // the drawer when starting out as isPresented == false.
 86 |     private func refreshPresentation(animate: Bool) {
    |                  `- note: add '@available' attribute to enclosing instance method
 87 |         if isPresented { height = 0 }
 88 |
    :
 90 |         withAnimation(animate ? (isPresented ? .bouncy : .smooth(duration: 0.3)) : .none) {
 91 |             height = isPresented ? initialHeight : 0
 92 |             contentCornerRadius = isPresented ? 25 : 0 // TODO: device radius would be cool here!
    |             |- error: setter for 'contentCornerRadius' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 93 |         }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:130:37: error: cannot find 'UIColor' in scope
128 |                 ZStack {
129 |                     Rectangle()
130 |                         .fill(Color(UIColor.label))
    |                                     `- error: cannot find 'UIColor' in scope
131 |                     VStack {
132 |                         scrollContent()
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:170: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
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
    :
168 |         @ViewBuilder content: @escaping () -> ScrollContent
169 |     ) -> some View {
170 |         modifier(BottomDrawer(initialHeight: initialHeight, maxHeight: maxHeight!, scrollContent: content, dragHandleVisibility: dragHandleVisibility!, height: height, isPresented: isPresented!, interactiveDismiss: interactiveDismiss!))
    |         |- 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
171 |     }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:170:9: error: 'modifier' is only available in macOS 10.15 or newer
158 | }
159 |
160 | extension View {
    | `- note: add '@available' attribute to enclosing extension
161 |     public func bottomDrawer<ScrollContent: View>(
    |                 `- note: add '@available' attribute to enclosing instance method
162 |         isPresented: Binding<Bool>? = .constant(true),
163 |         interactiveDismiss: Bool? = false,
    :
168 |         @ViewBuilder content: @escaping () -> ScrollContent
169 |     ) -> some View {
170 |         modifier(BottomDrawer(initialHeight: initialHeight, maxHeight: maxHeight!, scrollContent: content, dragHandleVisibility: dragHandleVisibility!, height: height, isPresented: isPresented!, interactiveDismiss: interactiveDismiss!))
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
171 |     }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:178:20: error: 'Path' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
179 |
180 |         // Start at top-left
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:181:14: error: 'move(to:)' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
179 |
180 |         // Start at top-left
181 |         path.move(to: CGPoint(x: rect.minX, y: rect.minY))
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
182 |         // Top edge
183 |         path.addLine(to: CGPoint(x: rect.maxX, y: rect.minY))
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:183:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
179 |
    :
181 |         path.move(to: CGPoint(x: rect.minX, y: rect.minY))
182 |         // Top edge
183 |         path.addLine(to: CGPoint(x: rect.maxX, y: rect.minY))
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
184 |         // Right edge
185 |         path.addLine(to: CGPoint(x: rect.maxX, y: rect.maxY - cornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:185:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
179 |
    :
183 |         path.addLine(to: CGPoint(x: rect.maxX, y: rect.minY))
184 |         // Right edge
185 |         path.addLine(to: CGPoint(x: rect.maxX, y: rect.maxY - cornerRadius))
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
186 |         // Bottom-right corner
187 |         path.addArc(center: CGPoint(x: rect.maxX - cornerRadius, y: rect.maxY - cornerRadius),
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:187:14: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
179 |
    :
185 |         path.addLine(to: CGPoint(x: rect.maxX, y: rect.maxY - cornerRadius))
186 |         // Bottom-right corner
187 |         path.addArc(center: CGPoint(x: rect.maxX - cornerRadius, y: rect.maxY - cornerRadius),
    |              |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
188 |                     radius: cornerRadius,
189 |                     startAngle: .degrees(0),
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:193:14: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
179 |
    :
191 |                     clockwise: false)
192 |         // Bottom-left corner
193 |         path.addArc(center: CGPoint(x: rect.minX + cornerRadius, y: rect.maxY - cornerRadius),
    |              |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
194 |                     radius: cornerRadius,
195 |                     startAngle: .degrees(90),
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/BottomDrawer.swift:199:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
172 | }
173 |
174 | struct BottomRoundedRectangle: Shape {
    |        `- note: add '@available' attribute to enclosing struct
175 |     var cornerRadius: CGFloat = 25.0
176 |
177 |     func path(in rect: CGRect) -> Path {
    |          `- note: add '@available' attribute to enclosing instance method
178 |         var path = Path()
179 |
    :
197 |                     clockwise: false)
198 |         // Left edge
199 |         path.addLine(to: CGPoint(x: rect.minX, y: rect.minY))
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
200 |
201 |         return path
[5/5] Compiling BottomDrawer Showcase.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:2:8: warning: file 'Showcase.swift' is part of module 'BottomDrawer'; ignoring import
 1 | import SwiftUI
 2 | import BottomDrawer
   |        `- warning: file 'Showcase.swift' is part of module 'BottomDrawer'; ignoring import
 3 |
 4 | struct BottomSheetShowcase: View {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
   |      `- error: 'State' is only available in macOS 10.15 or newer
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     var body: some View {
 8 |         NavigationView {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:19:25: error: 'View' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:28:25: error: 'View' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:36:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
34 | }
35 |
36 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
37 |     BottomSheetShowcase()
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:8:9: error: 'NavigationView' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:8:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
   |                        |- warning: conformance of 'Text' 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
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:8:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
   |                        |- warning: conformance of 'Text' 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
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:8:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
   |                        |- warning: conformance of 'Text' 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
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:8:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
   |                        |- warning: conformance of 'Text' 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
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:13: error: 'Form' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |             |- error: 'Form' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |                  |- warning: conformance of 'Text' 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
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |                  |- warning: conformance of 'Text' 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
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |                  |- warning: conformance of 'Text' 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
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |                  |- warning: conformance of 'Text' 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
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:10:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
   |                 |- warning: conformance of 'Text' 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
11 |                     showCase1
12 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:10:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
   |                 |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
11 |                     showCase1
12 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:10:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
   |                 |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
11 |                     showCase1
12 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:10:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
10 |                 NavigationLink("BottomSheet with all customizations applied") {
   |                                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
11 |                     showCase1
12 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:13:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   :
11 |                     showCase1
12 |                 }
13 |                 NavigationLink("Plain BottomSheet") {
   |                 |- warning: conformance of 'Text' 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
14 |                     showCase2
15 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:13:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   :
11 |                     showCase1
12 |                 }
13 |                 NavigationLink("Plain BottomSheet") {
   |                 |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
14 |                     showCase2
15 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:13:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   :
11 |                     showCase1
12 |                 }
13 |                 NavigationLink("Plain BottomSheet") {
   |                 |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
14 |                     showCase2
15 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:13:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   :
11 |                     showCase1
12 |                 }
13 |                 NavigationLink("Plain BottomSheet") {
   |                                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
14 |                     showCase2
15 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |                  |- warning: conformance of 'Text' 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
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:9:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
 7 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 8 |         NavigationView {
 9 |             Form {
   |                  |- warning: conformance of 'Text' 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
10 |                 NavigationLink("BottomSheet with all customizations applied") {
11 |                     showCase1
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:20:9: error: 'Text' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |             .onTapGesture {
22 |                 showBottomSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:21:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
   |              |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |                 showBottomSheet.toggle()
23 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:22:17: error: cannot pass as inout because setter for 'showBottomSheet' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
22 |                 showBottomSheet.toggle()
   |                 |- error: cannot pass as inout because setter for 'showBottomSheet' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
23 |             }
24 |             .bottomDrawer(isPresented: $showBottomSheet, interactiveDismiss: true, dragHandleVisibility: .visible, height: $height, initialHeight: 75, maxHeight: 250) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:24:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
22 |                 showBottomSheet.toggle()
23 |             }
24 |             .bottomDrawer(isPresented: $showBottomSheet, interactiveDismiss: true, dragHandleVisibility: .visible, height: $height, initialHeight: 75, maxHeight: 250) {
   |              |- warning: conformance of 'Text' 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
25 |                 Text("Hello")
26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:25:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
   :
23 |             }
24 |             .bottomDrawer(isPresented: $showBottomSheet, interactiveDismiss: true, dragHandleVisibility: .visible, height: $height, initialHeight: 75, maxHeight: 250) {
25 |                 Text("Hello")
   |                 |- warning: conformance of 'Text' 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
26 |             }
27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
   :
23 |             }
24 |             .bottomDrawer(isPresented: $showBottomSheet, interactiveDismiss: true, dragHandleVisibility: .visible, height: $height, initialHeight: 75, maxHeight: 250) {
25 |                 Text("Hello")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
26 |             }
27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:24:168: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
17 |         }
18 |     }
19 |     var showCase1: some View {
   |         `- note: add '@available' attribute to enclosing property
20 |         Text("Tap to Toggle BottomSheet")
21 |             .onTapGesture {
22 |                 showBottomSheet.toggle()
23 |             }
24 |             .bottomDrawer(isPresented: $showBottomSheet, interactiveDismiss: true, dragHandleVisibility: .visible, height: $height, initialHeight: 75, maxHeight: 250) {
   |                                                                                                                                                                        |- warning: conformance of 'Text' 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
25 |                 Text("Hello")
26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:29:9: error: 'Text' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
31 |                 Text("hello")
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:30:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
   |              |- warning: conformance of 'Text' 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
31 |                 Text("hello")
32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:30:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
   |              |- warning: conformance of 'Text' 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
31 |                 Text("hello")
32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:31:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
31 |                 Text("hello")
   |                 |- warning: conformance of 'Text' 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
32 |             }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:31:17: error: 'Text' is only available in macOS 10.15 or newer
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
31 |                 Text("hello")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
32 |             }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomDrawer/Showcase.swift:30:64: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 | import BottomDrawer
 3 |
 4 | struct BottomSheetShowcase: View {
   |        `- note: add '@available' attribute to enclosing struct
 5 |     @State var showBottomSheet = true
 6 |     @State var height: CGFloat = 75
   :
26 |             }
27 |     }
28 |     var showCase2: some View {
   |         `- note: add '@available' attribute to enclosing property
29 |         Text("Plain BottomSheet (only Height Parameter)")
30 |             .bottomDrawer(height: $height, initialHeight: 100) {
   |                                                                |- warning: conformance of 'Text' 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
31 |                 Text("hello")
32 |             }
BUILD FAILURE 6.3 macosSpm