Build Information
Failed to build ActionSheetCustomViewCard, reference main (a58355), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 06:49:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a583552 Update ActionSheetCustomViewCard.swift
Cloned https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Revision (git rev-parse @):
a583552fd14073c15fa3cb384b200818140b71e3
SUCCESS checkout https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftui-action-sheet-custom-view-card",
"name": "ActionSheetCustomViewCard",
"url": "https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-Action-Sheet-Custom-View-Card",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
[1/107] Fetching swiftui-action-sheet-custom-view-card
Fetched https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git from cache (0.88s)
Creating working copy for https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Working copy of https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git resolved at main (a583552)
warning: '.resolve-product-dependencies': dependency 'swiftui-action-sheet-custom-view-card' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module ActionSheetCustomViewCard
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:29:25: error: cannot find 'UIScreen' in scope
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
29 | @State var offset = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
30 | @State var isDragging = false
31 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:29:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
| `- error: 'State' is only available in macOS 10.15 or newer
30 | @State var isDragging = false
31 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
| `- error: 'State' is only available in macOS 10.15 or newer
31 |
32 | @Binding var isShowing: Bool
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:32:6: error: 'Binding' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
31 |
32 | @Binding var isShowing: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
33 |
34 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:35:29: error: cannot find 'UIScreen' in scope
33 |
34 | let content: Content
35 | let heightToDisappear = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
36 | let cellHeight: CGFloat = 50
37 | let backgroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:37:26: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
35 | let heightToDisappear = UIScreen.main.bounds.height
36 | let cellHeight: CGFloat = 50
37 | let backgroundColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
38 | let outOfFocusOpacity: CGFloat
39 | let minimumDragDistanceToHide: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:43:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:44:20: error: 'Binding' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
45 | backgroundColor: Color = Color.white,
46 | outOfFocusOpacity: CGFloat = 0.7,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:45:26: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
| `- error: 'Color' is only available in macOS 10.15 or newer
46 | outOfFocusOpacity: CGFloat = 0.7,
47 | minimumDragDistanceToHide: CGFloat = 150,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:45:34: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
| `- error: 'Color' is only available in macOS 10.15 or newer
46 | outOfFocusOpacity: CGFloat = 0.7,
47 | minimumDragDistanceToHide: CGFloat = 150,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:45:40: error: 'white' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
| `- error: 'white' is only available in macOS 10.15 or newer
46 | outOfFocusOpacity: CGFloat = 0.7,
47 | minimumDragDistanceToHide: CGFloat = 150,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:64:32: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:73:39: error: 'DragGesture' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
71 |
72 |
73 | func dragGestureOnChange(_ value: DragGesture.Value) {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
74 | isDragging = true
75 | if value.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:89:34: error: 'Gesture' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| | `- error: 'Gesture' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
91 | .onChanged({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:99:30: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
100 | Group {
101 | if isShowing {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:109:26: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
107 | }
108 |
109 | var customView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
110 | content
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:113:25: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
111 | }
112 |
113 | var sheetView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
114 | VStack {
115 | if !showFullScreen {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:135:27: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
133 | }
134 |
135 | var bodyContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
136 | ZStack {
137 | outOfFocusArea
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:152:27: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:28:50: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:167:31: error: 'View' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:39:24: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:49:27: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
47 | }
48 |
49 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
50 | greyView
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:55:31: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct GreyOutOfFocusView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
55 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
56 | GreyOutOfFocusView()
57 | }
[4/5] Compiling ActionSheetCustomViewCard ActionSheetCustomViewCard.swift
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:29:25: error: cannot find 'UIScreen' in scope
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
29 | @State var offset = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
30 | @State var isDragging = false
31 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:29:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
| `- error: 'State' is only available in macOS 10.15 or newer
30 | @State var isDragging = false
31 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
| `- error: 'State' is only available in macOS 10.15 or newer
31 |
32 | @Binding var isShowing: Bool
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:32:6: error: 'Binding' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
31 |
32 | @Binding var isShowing: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
33 |
34 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:35:29: error: cannot find 'UIScreen' in scope
33 |
34 | let content: Content
35 | let heightToDisappear = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
36 | let cellHeight: CGFloat = 50
37 | let backgroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:37:26: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
35 | let heightToDisappear = UIScreen.main.bounds.height
36 | let cellHeight: CGFloat = 50
37 | let backgroundColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
38 | let outOfFocusOpacity: CGFloat
39 | let minimumDragDistanceToHide: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:43:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:44:20: error: 'Binding' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
45 | backgroundColor: Color = Color.white,
46 | outOfFocusOpacity: CGFloat = 0.7,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:45:26: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
| `- error: 'Color' is only available in macOS 10.15 or newer
46 | outOfFocusOpacity: CGFloat = 0.7,
47 | minimumDragDistanceToHide: CGFloat = 150,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:45:34: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
| `- error: 'Color' is only available in macOS 10.15 or newer
46 | outOfFocusOpacity: CGFloat = 0.7,
47 | minimumDragDistanceToHide: CGFloat = 150,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:45:40: error: 'white' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
40 | let showFullScreen: Bool
41 |
42 | public init(
| `- note: add '@available' attribute to enclosing initializer
43 | @ViewBuilder content: ()->Content,
44 | isShowing: Binding<Bool>,
45 | backgroundColor: Color = Color.white,
| `- error: 'white' is only available in macOS 10.15 or newer
46 | outOfFocusOpacity: CGFloat = 0.7,
47 | minimumDragDistanceToHide: CGFloat = 150,
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:64:32: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:73:39: error: 'DragGesture' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
71 |
72 |
73 | func dragGestureOnChange(_ value: DragGesture.Value) {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
74 | isDragging = true
75 | if value.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:89:34: error: 'Gesture' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| | `- error: 'Gesture' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
91 | .onChanged({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:99:30: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
100 | Group {
101 | if isShowing {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:109:26: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
107 | }
108 |
109 | var customView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
110 | content
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:113:25: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
111 | }
112 |
113 | var sheetView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
114 | VStack {
115 | if !showFullScreen {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:135:27: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
133 | }
134 |
135 | var bodyContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
136 | ZStack {
137 | outOfFocusArea
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:152:27: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:28:50: error: 'View' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:167:31: error: 'View' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:59:9: error: cannot assign to value: 'offset' is a method
57 |
58 | func hide() {
59 | offset = heightToDisappear
| `- error: cannot assign to value: 'offset' is a method
60 | isDragging = false
61 | isShowing = false
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:60:9: error: setter for 'isDragging' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
56 | }
57 |
58 | func hide() {
| `- note: add '@available' attribute to enclosing instance method
59 | offset = heightToDisappear
60 | isDragging = false
| |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | isShowing = false
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:61:9: error: setter for 'isShowing' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
56 | }
57 |
58 | func hide() {
| `- note: add '@available' attribute to enclosing instance method
59 | offset = heightToDisappear
60 | isDragging = false
61 | isShowing = false
| |- error: setter for 'isShowing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:65:9: error: 'Capsule' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
| |- error: 'Capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .frame(width: 36, height: 5)
67 | .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:66:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .foregroundColor(Color.black)
68 | .padding(.vertical, 5.5)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:67:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
67 | .foregroundColor(Color.black)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | .padding(.vertical, 5.5)
69 | .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:67:30: error: 'Color' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
67 | .foregroundColor(Color.black)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | .padding(.vertical, 5.5)
69 | .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:67:36: error: 'black' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
67 | .foregroundColor(Color.black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | .padding(.vertical, 5.5)
69 | .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:68:14: error: 'padding' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
67 | .foregroundColor(Color.black)
68 | .padding(.vertical, 5.5)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .opacity(0.2)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:69:14: error: 'opacity' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
62 | }
63 |
64 | var topHalfMiddleBar: some View {
| `- note: add '@available' attribute to enclosing property
65 | Capsule()
66 | .frame(width: 36, height: 5)
67 | .foregroundColor(Color.black)
68 | .padding(.vertical, 5.5)
69 | .opacity(0.2)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:74:9: error: setter for 'isDragging' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
71 |
72 |
73 | func dragGestureOnChange(_ value: DragGesture.Value) {
| `- note: add '@available' attribute to enclosing instance method
74 | isDragging = true
| |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | if value.translation.height > 0 {
76 | offset = value.location.y
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:76:13: error: cannot assign to value: 'offset' is a method
74 | isDragging = true
75 | if value.translation.height > 0 {
76 | offset = value.location.y
| `- error: cannot assign to value: 'offset' is a method
77 | let diff = abs(value.location.y - value.startLocation.y)
78 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:76:37: error: no 'y' candidates produce the expected contextual result type '(CGSize) -> some View'
74 | isDragging = true
75 | if value.translation.height > 0 {
76 | offset = value.location.y
| `- error: no 'y' candidates produce the expected contextual result type '(CGSize) -> some View'
77 | let diff = abs(value.location.y - value.startLocation.y)
78 |
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h:53:13: note: 'y' produces 'CGFloat', not the expected contextual result type '(CGSize) -> some View'
51 | CGPoint {
52 | CGFloat x;
53 | CGFloat y;
| |- note: 'y' produces 'CGFloat', not the expected contextual result type '(CGSize) -> some View'
| `- note: 'y' produces 'CGFloat', not the expected contextual result type '(CGFloat, CGFloat) -> some View'
54 | };
55 | typedef struct CF_BOXABLE CGPoint CGPoint;
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:94:14: warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
91 | .onChanged({ (value) in
92 | dragGestureOnChange(value)
93 | })
94 | .onEnded({ (value) in
| |- warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
95 | isDragging = false
96 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:90:9: error: 'DragGesture' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
| |- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .onChanged({ (value) in
92 | dragGestureOnChange(value)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:90:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
| |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
91 | .onChanged({ (value) in
92 | dragGestureOnChange(value)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:91:14: error: 'onChanged' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
91 | .onChanged({ (value) in
| |- error: 'onChanged' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | dragGestureOnChange(value)
93 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:94:14: error: 'onEnded' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
91 | .onChanged({ (value) in
92 | dragGestureOnChange(value)
93 | })
94 | .onEnded({ (value) in
| |- error: 'onEnded' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | isDragging = false
96 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:95:17: error: setter for 'isDragging' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
87 | }
88 |
89 | var interactiveGesture: some Gesture {
| `- note: add '@available' attribute to enclosing property
90 | DragGesture()
91 | .onChanged({ (value) in
:
93 | })
94 | .onEnded({ (value) in
95 | isDragging = false
| |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | })
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:100:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
101 | if isShowing {
102 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:100:9: error: 'Group' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | if isShowing {
102 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:100:9: error: 'init(content:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | if isShowing {
102 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:103:21: error: setter for 'isShowing' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
101 | if isShowing {
102 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
103 | self.isShowing = false
| |- error: setter for 'isShowing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:101:26: error: 'buildIf' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
101 | if isShowing {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
103 | self.isShowing = false
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:105:13: error: 'buildIf' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
101 | if isShowing {
:
103 | self.isShowing = false
104 | }
105 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:100:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
97 | }
98 |
99 | var outOfFocusArea: some View {
| `- note: add '@available' attribute to enclosing property
100 | Group {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
101 | if isShowing {
102 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:130:24: error: cannot convert value of type '(CGSize) -> some View' to expected argument type 'CGFloat'
128 | .background(backgroundColor)
129 | .cornerRadius(10)
130 | .offset(y: offset)
| `- error: cannot convert value of type '(CGSize) -> some View' to expected argument type 'CGFloat'
131 | .gesture(interactiveGesture)
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:136:9: error: 'ZStack' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
133 | }
134 |
135 | var bodyContent: some View {
| `- note: add '@available' attribute to enclosing property
136 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | outOfFocusArea
138 | sheetView
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:148:13: error: cannot assign to value: 'offset' is a method
146 |
147 | DispatchQueue.main.async {
148 | offset = isShowing ? 0 : heightToDisappear
| `- error: cannot assign to value: 'offset' is a method
149 | }
150 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:148:32: error: cannot assign value of type 'Int' to type '(CGSize) -> some View'
146 |
147 | DispatchQueue.main.async {
148 | offset = isShowing ? 0 : heightToDisappear
| `- error: cannot assign value of type 'Int' to type '(CGSize) -> some View'
149 | }
150 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:153:9: error: 'Group' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | if isShowing {
155 | bodyContent
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:153:9: error: 'init(content:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | if isShowing {
155 | bodyContent
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:154:26: error: 'buildIf' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | bodyContent
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:156:13: error: 'buildIf' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
155 | bodyContent
156 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | }
158 | .animation(.default)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:153:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
154 | if isShowing {
155 | bodyContent
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:158:10: error: 'animation' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
:
156 | }
157 | }
158 | .animation(.default)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | .onReceive(Just(isShowing), perform: { isShowing in
160 | onUpdateIsShowing(isShowing)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:158:21: error: 'default' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
:
156 | }
157 | }
158 | .animation(.default)
| |- error: 'default' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | .onReceive(Just(isShowing), perform: { isShowing in
160 | onUpdateIsShowing(isShowing)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:159:10: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
:
157 | }
158 | .animation(.default)
159 | .onReceive(Just(isShowing), perform: { isShowing in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
160 | onUpdateIsShowing(isShowing)
161 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:159:20: error: 'Just' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
:
157 | }
158 | .animation(.default)
159 | .onReceive(Just(isShowing), perform: { isShowing in
| |- error: 'Just' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
160 | onUpdateIsShowing(isShowing)
161 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:162:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
26 | import Combine
27 |
28 | public struct ActionSheetCustomViewCard<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
29 | @State var offset = UIScreen.main.bounds.height
30 | @State var isDragging = false
:
150 | }
151 |
152 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
153 | Group {
154 | if isShowing {
:
160 | onUpdateIsShowing(isShowing)
161 | })
162 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
163 | }
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:168:9: error: 'VStack' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:168:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:168:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:169:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:169:13: error: 'Spacer' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
171 | VStack {
172 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
171 | VStack {
172 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170:48: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
171 | VStack {
172 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170:48: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
171 | VStack {
172 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:171:17: error: 'VStack' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | HStack {
173 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:171:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
172 | HStack {
173 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:171:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
172 | HStack {
173 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
172 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
173 | Spacer()
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172:21: error: 'HStack' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
172 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
173 | Spacer()
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
172 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
173 | Spacer()
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:173:25: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
171 | VStack {
172 | HStack {
173 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
174 | }
175 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:173:25: error: 'Spacer' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
171 | VStack {
172 | HStack {
173 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | }
175 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172:28: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
172 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
173 | Spacer()
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:175:21: error: 'HStack' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
173 | Spacer()
174 | }
175 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
176 | ZStack (alignment: .top){
177 | HStack (alignment: .top){
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:176:25: error: 'ZStack' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
174 | }
175 | HStack {
176 | ZStack (alignment: .top){
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | HStack (alignment: .top){
178 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:176:45: error: 'top' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
174 | }
175 | HStack {
176 | ZStack (alignment: .top){
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | HStack (alignment: .top){
178 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:177:29: error: 'HStack' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
175 | HStack {
176 | ZStack (alignment: .top){
177 | HStack (alignment: .top){
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | Button(action: {
179 | //
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:177:49: error: 'top' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
175 | HStack {
176 | ZStack (alignment: .top){
177 | HStack (alignment: .top){
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | Button(action: {
179 | //
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:178:33: error: 'Button' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
176 | ZStack (alignment: .top){
177 | HStack (alignment: .top){
178 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | //
180 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:181:37: error: 'Image' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
179 | //
180 | }, label: {
181 | Image(systemName: "xmark")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .resizable()
183 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:181:37: error: 'init(systemName:)' is only available in macOS 11.0 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
179 | //
180 | }, label: {
181 | Image(systemName: "xmark")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
182 | .resizable()
183 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:182:42: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
180 | }, label: {
181 | Image(systemName: "xmark")
182 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | .aspectRatio(contentMode: .fit)
184 | .frame(width: 14, height: 14)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:183:42: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
181 | Image(systemName: "xmark")
182 | .resizable()
183 | .aspectRatio(contentMode: .fit)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
184 | .frame(width: 14, height: 14)
185 | .foregroundColor(.black)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:184:42: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
182 | .resizable()
183 | .aspectRatio(contentMode: .fit)
184 | .frame(width: 14, height: 14)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
185 | .foregroundColor(.black)
186 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:185:42: error: 'foregroundColor' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
183 | .aspectRatio(contentMode: .fit)
184 | .frame(width: 14, height: 14)
185 | .foregroundColor(.black)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | })
187 | .frame(width: 20)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:185:59: error: 'black' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
183 | .aspectRatio(contentMode: .fit)
184 | .frame(width: 14, height: 14)
185 | .foregroundColor(.black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | })
187 | .frame(width: 20)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:187:34: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
185 | .foregroundColor(.black)
186 | })
187 | .frame(width: 20)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
188 | .padding(.top, 2)
189 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:188:34: error: 'padding' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
186 | })
187 | .frame(width: 20)
188 | .padding(.top, 2)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
189 |
190 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:190:33: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
188 | .padding(.top, 2)
189 |
190 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
191 | }
192 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:190:33: error: 'Spacer' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
188 | .padding(.top, 2)
189 |
190 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
191 | }
192 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:177:53: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
175 | HStack {
176 | ZStack (alignment: .top){
177 | HStack (alignment: .top){
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
178 | Button(action: {
179 | //
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:193:29: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
191 | }
192 |
193 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
194 | Text("Why do I need to connect to do the job?")
195 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:193:29: error: 'Spacer' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
191 | }
192 |
193 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
194 | Text("Why do I need to connect to do the job?")
195 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:194:29: error: 'Text' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
192 |
193 | Spacer()
194 | Text("Why do I need to connect to do the job?")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
195 | .multilineTextAlignment(.center)
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:195:34: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
193 | Spacer()
194 | Text("Why do I need to connect to do the job?")
195 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
197 | .padding(.horizontal, 72)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:196:34: error: 'font' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
194 | Text("Why do I need to connect to do the job?")
195 | .multilineTextAlignment(.center)
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | .padding(.horizontal, 72)
198 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:196:39: error: 'Font' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
194 | Text("Why do I need to connect to do the job?")
195 | .multilineTextAlignment(.center)
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
| |- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | .padding(.horizontal, 72)
198 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:196:44: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
194 | Text("Why do I need to connect to do the job?")
195 | .multilineTextAlignment(.center)
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
197 | .padding(.horizontal, 72)
198 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:197:34: error: 'padding' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
195 | .multilineTextAlignment(.center)
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
197 | .padding(.horizontal, 72)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | .fixedSize(horizontal: false, vertical: true)
199 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:198:34: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
196 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
197 | .padding(.horizontal, 72)
198 | .fixedSize(horizontal: false, vertical: true)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
199 |
200 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:200:29: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
198 | .fixedSize(horizontal: false, vertical: true)
199 |
200 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
201 | }
202 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:200:29: error: 'Spacer' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
198 | .fixedSize(horizontal: false, vertical: true)
199 |
200 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
201 | }
202 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:176:49: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
174 | }
175 | HStack {
176 | ZStack (alignment: .top){
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
177 | HStack (alignment: .top){
178 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:176:49: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
174 | }
175 | HStack {
176 | ZStack (alignment: .top){
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
177 | HStack (alignment: .top){
178 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:203:22: error: 'padding' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
201 | }
202 | }
203 | .padding(.bottom, 20)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
204 | .padding(.horizontal, 18)
205 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:204:22: error: 'padding' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
202 | }
203 | .padding(.bottom, 20)
204 | .padding(.horizontal, 18)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
205 |
206 | Text("orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a tempor nibh. Morbi porttitor leo nulla, vitae fringilla mauris molestie vel. Fusce lobortis, quam id luctus rutrum, urna sem tincidunt augue, sit amet varius diam odio quis massa.")
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:206:21: error: 'Text' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
204 | .padding(.horizontal, 18)
205 |
206 | Text("orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a tempor nibh. Morbi porttitor leo nulla, vitae fringilla mauris molestie vel. Fusce lobortis, quam id luctus rutrum, urna sem tincidunt augue, sit amet varius diam odio quis massa.")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
207 | .multilineTextAlignment(.leading)
208 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:207:26: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
205 |
206 | Text("orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a tempor nibh. Morbi porttitor leo nulla, vitae fringilla mauris molestie vel. Fusce lobortis, quam id luctus rutrum, urna sem tincidunt augue, sit amet varius diam odio quis massa.")
207 | .multilineTextAlignment(.leading)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
208 | .fixedSize(horizontal: false, vertical: true)
209 | .padding(.horizontal, 40)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:208:26: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
206 | Text("orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a tempor nibh. Morbi porttitor leo nulla, vitae fringilla mauris molestie vel. Fusce lobortis, quam id luctus rutrum, urna sem tincidunt augue, sit amet varius diam odio quis massa.")
207 | .multilineTextAlignment(.leading)
208 | .fixedSize(horizontal: false, vertical: true)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
209 | .padding(.horizontal, 40)
210 | .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:209:26: error: 'padding' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
207 | .multilineTextAlignment(.leading)
208 | .fixedSize(horizontal: false, vertical: true)
209 | .padding(.horizontal, 40)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
210 | .foregroundColor(.gray)
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:210:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
208 | .fixedSize(horizontal: false, vertical: true)
209 | .padding(.horizontal, 40)
210 | .foregroundColor(.gray)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | }
212 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:210:43: error: 'gray' is only available in macOS 10.15 or newer
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
:
208 | .fixedSize(horizontal: false, vertical: true)
209 | .padding(.horizontal, 40)
210 | .foregroundColor(.gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | }
212 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:171:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
171 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
172 | HStack {
173 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:168:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
164 | }
165 |
166 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
167 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
168 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
169 | Spacer()
170 | ActionSheetCustomViewCard(content: {
[5/5] Compiling ActionSheetCustomViewCard GreyOutOfFocusView.swift
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:39:24: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:49:27: error: 'View' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
47 | }
48 |
49 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
50 | greyView
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:55:31: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct GreyOutOfFocusView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
55 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
56 | GreyOutOfFocusView()
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:40:9: error: 'Rectangle' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .background(Color.gray)
42 | .opacity(Double(opacity))
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:41:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | .opacity(Double(opacity))
43 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:41:25: error: 'Color' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .opacity(Double(opacity))
43 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:41:31: error: 'gray' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | .opacity(Double(opacity))
43 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:42:14: error: 'opacity' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
42 | .opacity(Double(opacity))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | .onTapGesture {
44 | callback?()
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:43:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
42 | .opacity(Double(opacity))
43 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | callback?()
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/GreyOutOfFocusView.swift:46:14: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
25 | import SwiftUI
26 |
27 | public struct GreyOutOfFocusView: View {
| `- note: add '@available' attribute to enclosing struct
28 | let opacity: CGFloat
29 | let callback: (() -> ())?
:
37 | }
38 |
39 | var greyView: some View {
| `- note: add '@available' attribute to enclosing property
40 | Rectangle()
41 | .background(Color.gray)
:
44 | callback?()
45 | }
46 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | }
48 |
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Resources': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Demo': File not found.
BUILD FAILURE 6.3 macosSpm