The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BottomSheet-SwiftUI, reference 1.0.0 (fe87e9), with Swift 6.1 for macOS (SPM) on 17 Mar 2026 07:51:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asirokova/bottomsheet-swiftui.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asirokova/bottomsheet-swiftui
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at fe87e92 Initial Commit
Cloned https://github.com/asirokova/bottomsheet-swiftui.git
Revision (git rev-parse @):
fe87e92c734e515037be3204f836fbff33769e96
SUCCESS checkout https://github.com/asirokova/bottomsheet-swiftui.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/asirokova/bottomsheet-swiftui.git
https://github.com/asirokova/bottomsheet-swiftui.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BottomSheet-SwiftUI",
  "name" : "BottomSheet-SwiftUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "BottomSheet-SwiftUI",
      "targets" : [
        "BottomSheet-SwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BottomSheet_SwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "BottomSheet-SwiftUI",
      "path" : "Sources/BottomSheet-SwiftUI",
      "product_memberships" : [
        "BottomSheet-SwiftUI"
      ],
      "sources" : [
        "BottomSheet_SwiftUI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module BottomSheet_SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:9:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 7 |     let indicatorSize: CGSize
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
10 |     let indicatorBackgroundColor: Color
11 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:10:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
10 |     let indicatorBackgroundColor: Color
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
11 |
12 |     var offset: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:34: error: 'black' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                                  `- error: 'black' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:44: error: 'white' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                            `- error: 'white' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:38:13: error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
   |             |- error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:36:6: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
39 |         }
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
42 |     @GestureState private var translation: CGFloat = 0
43 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:42:6: error: 'GestureState' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
42 |     @GestureState private var translation: CGFloat = 0
   |      `- error: 'GestureState' is only available in macOS 10.15 or newer
43 |
44 |     let config: BottomSheetConfig
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:25: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |            `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:90: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |                                                                             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:83:33: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 |               `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:35:36: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               |                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
[4/4] Compiling BottomSheet_SwiftUI BottomSheet_SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:9:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 7 |     let indicatorSize: CGSize
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
10 |     let indicatorBackgroundColor: Color
11 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:10:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
10 |     let indicatorBackgroundColor: Color
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
11 |
12 |     var offset: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:34: error: 'black' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                                  `- error: 'black' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:44: error: 'white' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                            `- error: 'white' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:38:13: error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
   |             |- error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:36:6: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
39 |         }
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
42 |     @GestureState private var translation: CGFloat = 0
43 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:42:6: error: 'GestureState' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
42 |     @GestureState private var translation: CGFloat = 0
   |      `- error: 'GestureState' is only available in macOS 10.15 or newer
43 |
44 |     let config: BottomSheetConfig
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:25: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |            `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:90: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |                                                                             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:83:33: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 |               `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:35:36: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               |                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:51:29: error: 'State' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
50 |         self._isOpen = isOpen
51 |         self._sheetOffset = State(initialValue: isOpen.wrappedValue ? 0 : self.config.offset)
   |                             |- error: 'State' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
52 |     }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:55:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
56 |             VStack(spacing: 0) {
57 |                 self.indicator.padding()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:55:24: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
   |                        |- warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                        `- note: add 'if #available' version check
56 |             VStack(spacing: 0) {
57 |                 self.indicator.padding()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:56:13: error: 'VStack' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
57 |                 self.indicator.padding()
58 |                 self.content
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:57:32: error: 'padding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
57 |                 self.indicator.padding()
   |                                |- error: 'padding' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
58 |                 self.content
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:60:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
58 |                 self.content
59 |             }
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:60:91: error: 'top' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
58 |                 self.content
59 |             }
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
   |                                                                                           |- error: 'top' is only available in macOS 10.15 or newer
   |                                                                                           `- note: add 'if #available' version check
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:61:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
59 |             }
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
61 |             .background(self.config.indicatorBackgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:62:14: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
   |              |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:63:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:63:62: error: 'bottom' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
   |                                                              |- error: 'bottom' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:64:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |             .animation(.interactiveSpring())
66 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:65:14: error: 'animation' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
   |              |- error: 'animation' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:65:25: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
   |                         |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:66:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
66 |             .gesture(
   |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
68 |                     state = value.translation.height
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:67:17: error: 'DragGesture' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
65 |             .animation(.interactiveSpring())
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
   |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:67:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
65 |             .animation(.interactiveSpring())
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
   |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
   |                 `- note: add 'if #available' version check
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:67:31: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
65 |             .animation(.interactiveSpring())
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
   |                               |- error: 'updating(_:body:)' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:69:19: error: 'onChanged' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
   |                   |- error: 'onChanged' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
70 |                     let newOffset = (self.isOpen ? 0 : self.config.offset) + value.translation.height
71 |                     self.sheetOffset = min(max(0, newOffset), self.config.offset)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:71:21: error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
69 |                 }.onChanged { value in
70 |                     let newOffset = (self.isOpen ? 0 : self.config.offset) + value.translation.height
71 |                     self.sheetOffset = min(max(0, newOffset), self.config.offset)
   |                     |- error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
72 |                 }.onEnded { value in
73 |                     let snapDistance = self.config.maxHeight * self.config.snapRatio
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:72:19: error: 'onEnded' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
70 |                     let newOffset = (self.isOpen ? 0 : self.config.offset) + value.translation.height
71 |                     self.sheetOffset = min(max(0, newOffset), self.config.offset)
72 |                 }.onEnded { value in
   |                   |- error: 'onEnded' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
73 |                     let snapDistance = self.config.maxHeight * self.config.snapRatio
74 |                     guard abs(value.translation.height) > snapDistance else {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:77:21: error: setter for 'isOpen' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
75 |                         return
76 |                     }
77 |                     self.isOpen = value.translation.height < 0
   |                     |- error: setter for 'isOpen' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
78 |                 }
79 |             )
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:80:11: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
78 |                 }
79 |             )
80 |         }.edgesIgnoringSafeArea(.bottom)
   |           |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
81 |     }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:84:9: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
   |         |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
85 |             .fill(self.config.indicatorColor)
86 |             .frame(
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:85:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
   |              |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
86 |             .frame(
87 |                 width: self.config.indicatorSize.width,
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:86:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
86 |             .frame(
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
87 |                 width: self.config.indicatorSize.width,
88 |                 height: self.config.indicatorSize.height
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:89:11: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
   :
87 |                 width: self.config.indicatorSize.width,
88 |                 height: self.config.indicatorSize.height
89 |         ).onTapGesture {
   |           |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
90 |             self.isOpen.toggle()
91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:90:13: error: cannot pass as inout because setter for 'isOpen' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
   :
88 |                 height: self.config.indicatorSize.height
89 |         ).onTapGesture {
90 |             self.isOpen.toggle()
   |             |- error: cannot pass as inout because setter for 'isOpen' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
91 |         }
92 |     }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module BottomSheet_SwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:9:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 7 |     let indicatorSize: CGSize
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
10 |     let indicatorBackgroundColor: Color
11 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:10:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
10 |     let indicatorBackgroundColor: Color
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
11 |
12 |     var offset: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:34: error: 'black' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                                  `- error: 'black' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:44: error: 'white' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                            `- error: 'white' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:38:13: error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
   |             |- error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:36:6: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
39 |         }
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
42 |     @GestureState private var translation: CGFloat = 0
43 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:42:6: error: 'GestureState' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
42 |     @GestureState private var translation: CGFloat = 0
   |      `- error: 'GestureState' is only available in macOS 10.15 or newer
43 |
44 |     let config: BottomSheetConfig
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:25: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |            `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:90: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |                                                                             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:83:33: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 |               `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:35:36: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               |                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
[3/3] Compiling BottomSheet_SwiftUI BottomSheet_SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:9:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 7 |     let indicatorSize: CGSize
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
10 |     let indicatorBackgroundColor: Color
11 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:10:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
 8 |     let snapRatio: CGFloat
 9 |     let indicatorColor: Color
10 |     let indicatorBackgroundColor: Color
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
11 |
12 |     var offset: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:25: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                         `- error: 'Color' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:35: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                   `- error: 'Color' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:22:34: error: 'black' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
20 |         indicatorSize: CGSize = CGSize(width: 100, height: 5),
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
   |                                  `- error: 'black' is only available in macOS 10.15 or newer
23 |         indicatorBackgroundColor: Color = .white
24 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:23:44: error: 'white' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct BottomSheetConfig {
   |               `- note: add @available attribute to enclosing struct
 4 |     let minHeight: CGFloat
 5 |     let maxHeight: CGFloat
   :
14 |     }
15 |
16 |     public init(
   |            `- note: add @available attribute to enclosing initializer
17 |         minHeightRatio: CGFloat = 0.2,
18 |         maxHeight: CGFloat = 300,
   :
21 |         snapRatio: CGFloat = 0.1,
22 |         indicatorColor: Color = .black,
23 |         indicatorBackgroundColor: Color = .white
   |                                            `- error: 'white' is only available in macOS 10.15 or newer
24 |     ) {
25 |         self.minHeight = minHeightRatio * maxHeight
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:38:13: error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
   |             |- error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:36:6: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
37 |         didSet {
38 |             self.sheetOffset = isOpen ? 0 : self.config.offset
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
39 |         }
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
42 |     @GestureState private var translation: CGFloat = 0
43 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:42:6: error: 'GestureState' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
40 |     }
41 |     @State var sheetOffset: CGFloat = 0
42 |     @GestureState private var translation: CGFloat = 0
   |      `- error: 'GestureState' is only available in macOS 10.15 or newer
43 |
44 |     let config: BottomSheetConfig
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:25: error: 'Binding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |            `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:47:90: error: 'ViewBuilder' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            |                                                                             `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:83:33: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 |               `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:35:36: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               |                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:51:29: error: 'State' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
45 |     let content: Content
46 |
47 |     public init(isOpen: Binding<Bool>, config: BottomSheetConfig = BottomSheetConfig(), @ViewBuilder content: () -> Content) {
   |            `- note: add @available attribute to enclosing initializer
48 |         self.config = config
49 |         self.content = content()
50 |         self._isOpen = isOpen
51 |         self._sheetOffset = State(initialValue: isOpen.wrappedValue ? 0 : self.config.offset)
   |                             |- error: 'State' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
52 |     }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:55:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
56 |             VStack(spacing: 0) {
57 |                 self.indicator.padding()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:55:24: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
   |                        |- warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                        `- note: add 'if #available' version check
56 |             VStack(spacing: 0) {
57 |                 self.indicator.padding()
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:56:13: error: 'VStack' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
57 |                 self.indicator.padding()
58 |                 self.content
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:57:32: error: 'padding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
57 |                 self.indicator.padding()
   |                                |- error: 'padding' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
58 |                 self.content
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:60:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
58 |                 self.content
59 |             }
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:60:91: error: 'top' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
58 |                 self.content
59 |             }
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
   |                                                                                           |- error: 'top' is only available in macOS 10.15 or newer
   |                                                                                           `- note: add 'if #available' version check
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:61:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
59 |             }
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
61 |             .background(self.config.indicatorBackgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:62:14: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
60 |             .frame(width: geometry.size.width, height: self.config.maxHeight, alignment: .top)
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
   |              |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:63:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:63:62: error: 'bottom' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
61 |             .background(self.config.indicatorBackgroundColor)
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
   |                                                              |- error: 'bottom' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:64:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
62 |             .cornerRadius(self.config.radius)
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |             .animation(.interactiveSpring())
66 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:65:14: error: 'animation' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
   |              |- error: 'animation' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:65:25: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
63 |             .frame(height: geometry.size.height, alignment: .bottom)
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
   |                         |- error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:66:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
64 |             .offset(y: self.sheetOffset)
65 |             .animation(.interactiveSpring())
66 |             .gesture(
   |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
68 |                     state = value.translation.height
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:67:17: error: 'DragGesture' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
65 |             .animation(.interactiveSpring())
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
   |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:67:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
65 |             .animation(.interactiveSpring())
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
   |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
   |                 `- note: add 'if #available' version check
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:67:31: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
65 |             .animation(.interactiveSpring())
66 |             .gesture(
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
   |                               |- error: 'updating(_:body:)' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:69:19: error: 'onChanged' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
67 |                 DragGesture().updating(self.$translation) { value, state, _ in
68 |                     state = value.translation.height
69 |                 }.onChanged { value in
   |                   |- error: 'onChanged' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
70 |                     let newOffset = (self.isOpen ? 0 : self.config.offset) + value.translation.height
71 |                     self.sheetOffset = min(max(0, newOffset), self.config.offset)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:71:21: error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
69 |                 }.onChanged { value in
70 |                     let newOffset = (self.isOpen ? 0 : self.config.offset) + value.translation.height
71 |                     self.sheetOffset = min(max(0, newOffset), self.config.offset)
   |                     |- error: setter for 'sheetOffset' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
72 |                 }.onEnded { value in
73 |                     let snapDistance = self.config.maxHeight * self.config.snapRatio
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:72:19: error: 'onEnded' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
70 |                     let newOffset = (self.isOpen ? 0 : self.config.offset) + value.translation.height
71 |                     self.sheetOffset = min(max(0, newOffset), self.config.offset)
72 |                 }.onEnded { value in
   |                   |- error: 'onEnded' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
73 |                     let snapDistance = self.config.maxHeight * self.config.snapRatio
74 |                     guard abs(value.translation.height) > snapDistance else {
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:77:21: error: setter for 'isOpen' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
75 |                         return
76 |                     }
77 |                     self.isOpen = value.translation.height < 0
   |                     |- error: setter for 'isOpen' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
78 |                 }
79 |             )
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:80:11: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
52 |     }
53 |
54 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
55 |         GeometryReader { geometry in
56 |             VStack(spacing: 0) {
   :
78 |                 }
79 |             )
80 |         }.edgesIgnoringSafeArea(.bottom)
   |           |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
81 |     }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:84:9: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
   |         |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
85 |             .fill(self.config.indicatorColor)
86 |             .frame(
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:85:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
   |              |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
86 |             .frame(
87 |                 width: self.config.indicatorSize.width,
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:86:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
86 |             .frame(
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
87 |                 width: self.config.indicatorSize.width,
88 |                 height: self.config.indicatorSize.height
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:89:11: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
   :
87 |                 width: self.config.indicatorSize.width,
88 |                 height: self.config.indicatorSize.height
89 |         ).onTapGesture {
   |           |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
90 |             self.isOpen.toggle()
91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet-SwiftUI/BottomSheet_SwiftUI.swift:90:13: error: cannot pass as inout because setter for 'isOpen' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct BottomSheet<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
36 |     @Binding var isOpen: Bool {
37 |         didSet {
   :
81 |     }
82 |
83 |     private var indicator: some View {
   |                 `- note: add @available attribute to enclosing property
84 |         RoundedRectangle(cornerRadius: self.config.radius)
85 |             .fill(self.config.indicatorColor)
   :
88 |                 height: self.config.indicatorSize.height
89 |         ).onTapGesture {
90 |             self.isOpen.toggle()
   |             |- error: cannot pass as inout because setter for 'isOpen' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
91 |         }
92 |     }
BUILD FAILURE 6.1 macosSpm