Build Information
Failed to build ActionSheetCustomViewCard, reference 0.2.5 (38f14d), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 00:32:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Reference: 0.2.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card
* tag 0.2.5 -> FETCH_HEAD
HEAD is now at 38f14d9 Fixed an weird bug
Cloned https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Revision (git rev-parse @):
38f14d92dd9ff3f4216f8877e1403bdd046901f5
SUCCESS checkout https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git at 0.2.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mahmudahsan/SwiftUI-Action-Sheet-Custom-View-Card.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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:66: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:75: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
:
73 |
74 |
75 | func dragGestureOnChange(_ value: DragGesture.Value) {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
76 | isDragging = true
77 | if value.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:91: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| | `- error: 'Gesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
92 | DragGesture()
93 | .onChanged({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:101: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | Group {
103 | if isShowing {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:111: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
:
109 | }
110 |
111 | var customView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
112 | content
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:115: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
:
113 | }
114 |
115 | var sheetView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
116 | VStack {
117 | if !showFullScreen {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:137: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
:
135 | }
136 |
137 | var bodyContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
138 | ZStack {
139 | outOfFocusArea
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:154: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
:
152 | }
153 |
154 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
155 | Group {
156 | 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:169:31: error: 'View' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:61:9: error: cannot assign to value: 'offset' is a method
59 |
60 | func hide() {
61 | offset = heightToDisappear
| `- error: cannot assign to value: 'offset' is a method
62 | isDragging = false
63 | isShowing = false
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:62: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
:
58 | }
59 |
60 | func hide() {
| `- note: add @available attribute to enclosing instance method
61 | offset = heightToDisappear
62 | isDragging = false
| |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | isShowing = false
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:63: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
:
58 | }
59 |
60 | func hide() {
| `- note: add @available attribute to enclosing instance method
61 | offset = heightToDisappear
62 | isDragging = false
63 | isShowing = false
| |- error: setter for 'isShowing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:67: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
| |- error: 'Capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | .frame(width: 36, height: 5)
69 | .foregroundColor(Color.black)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:68: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .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
69 | .foregroundColor(Color.black)
70 | .padding(.vertical, 5.5)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:69: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
69 | .foregroundColor(Color.black)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .padding(.vertical, 5.5)
71 | .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:69: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
69 | .foregroundColor(Color.black)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .padding(.vertical, 5.5)
71 | .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:69: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
69 | .foregroundColor(Color.black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .padding(.vertical, 5.5)
71 | .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:70: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
69 | .foregroundColor(Color.black)
70 | .padding(.vertical, 5.5)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .opacity(0.2)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:71: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
69 | .foregroundColor(Color.black)
70 | .padding(.vertical, 5.5)
71 | .opacity(0.2)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:76: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
:
73 |
74 |
75 | func dragGestureOnChange(_ value: DragGesture.Value) {
| `- note: add @available attribute to enclosing instance method
76 | isDragging = true
| |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | if value.translation.height > 0 {
78 | offset = value.location.y
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:78:13: error: cannot assign to value: 'offset' is a method
76 | isDragging = true
77 | if value.translation.height > 0 {
78 | offset = value.location.y
| `- error: cannot assign to value: 'offset' is a method
79 | let diff = abs(value.location.y - value.startLocation.y)
80 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:78:37: error: no 'y' candidates produce the expected contextual result type '(CGSize) -> some View'
76 | isDragging = true
77 | if value.translation.height > 0 {
78 | offset = value.location.y
| `- error: no 'y' candidates produce the expected contextual result type '(CGSize) -> some View'
79 | let diff = abs(value.location.y - value.startLocation.y)
80 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h:52:13: note: 'y' produces 'CGFloat', not the expected contextual result type '(CGSize) -> some View'
50 | CGPoint {
51 | CGFloat x;
52 | 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'
53 | };
54 | typedef struct CF_BOXABLE CGPoint CGPoint;
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:96: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| `- note: add @available attribute to enclosing property
92 | DragGesture()
93 | .onChanged({ (value) in
94 | dragGestureOnChange(value)
95 | })
96 | .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
97 | isDragging = false
98 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:92: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| `- note: add @available attribute to enclosing property
92 | DragGesture()
| |- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .onChanged({ (value) in
94 | dragGestureOnChange(value)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:92: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| `- note: add @available attribute to enclosing property
92 | DragGesture()
| |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
93 | .onChanged({ (value) in
94 | dragGestureOnChange(value)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:93: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| `- note: add @available attribute to enclosing property
92 | DragGesture()
93 | .onChanged({ (value) in
| |- error: 'onChanged' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | dragGestureOnChange(value)
95 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:96: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| `- note: add @available attribute to enclosing property
92 | DragGesture()
93 | .onChanged({ (value) in
94 | dragGestureOnChange(value)
95 | })
96 | .onEnded({ (value) in
| |- error: 'onEnded' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | isDragging = false
98 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:97: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| `- note: add @available attribute to enclosing property
92 | DragGesture()
93 | .onChanged({ (value) in
:
95 | })
96 | .onEnded({ (value) in
97 | isDragging = false
| |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | })
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:102: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | 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
103 | if isShowing {
104 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:102: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | if isShowing {
104 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:102: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | if isShowing {
104 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:105: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | Group {
103 | if isShowing {
104 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
105 | self.isShowing = false
| |- error: setter for 'isShowing' 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:103: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | Group {
103 | if isShowing {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
105 | self.isShowing = false
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:107: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | Group {
103 | if isShowing {
:
105 | self.isShowing = false
106 | }
107 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:102: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| `- note: add @available attribute to enclosing property
102 | 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
103 | if isShowing {
104 | GreyOutOfFocusView(opacity: outOfFocusOpacity) {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:132:24: error: cannot convert value of type '(CGSize) -> some View' to expected argument type 'CGFloat'
130 | .background(backgroundColor)
131 | .cornerRadius(10)
132 | .offset(y: offset)
| `- error: cannot convert value of type '(CGSize) -> some View' to expected argument type 'CGFloat'
133 | .gesture(interactiveGesture)
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:138: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
:
135 | }
136 |
137 | var bodyContent: some View {
| `- note: add @available attribute to enclosing property
138 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | outOfFocusArea
140 | sheetView
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:150:13: error: cannot assign to value: 'offset' is a method
148 |
149 | DispatchQueue.main.async {
150 | offset = isShowing ? 0 : heightToDisappear
| `- error: cannot assign to value: 'offset' is a method
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:150:32: error: cannot assign value of type 'Int' to type '(CGSize) -> some View'
148 |
149 | DispatchQueue.main.async {
150 | offset = isShowing ? 0 : heightToDisappear
| `- error: cannot assign value of type 'Int' to type '(CGSize) -> some View'
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:155: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | if isShowing {
157 | bodyContent
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:155: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | if isShowing {
157 | bodyContent
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:156: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | bodyContent
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:158: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
157 | bodyContent
158 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | .animation(.default)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:155: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | 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
156 | if isShowing {
157 | bodyContent
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:160: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
:
158 | }
159 | }
160 | .animation(.default)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | .onReceive(Just(isShowing), perform: { isShowing in
162 | onUpdateIsShowing(isShowing)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:160: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
:
158 | }
159 | }
160 | .animation(.default)
| |- error: 'default' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | .onReceive(Just(isShowing), perform: { isShowing in
162 | onUpdateIsShowing(isShowing)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:161: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
:
159 | }
160 | .animation(.default)
161 | .onReceive(Just(isShowing), perform: { isShowing in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | onUpdateIsShowing(isShowing)
163 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:161: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
:
159 | }
160 | .animation(.default)
161 | .onReceive(Just(isShowing), perform: { isShowing in
| |- error: 'Just' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | onUpdateIsShowing(isShowing)
163 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:164: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
:
152 | }
153 |
154 | public var body: some View {
| `- note: add @available attribute to enclosing property
155 | Group {
156 | if isShowing {
:
162 | onUpdateIsShowing(isShowing)
163 | })
164 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170:9: error: 'VStack' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | 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
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | 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
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:171: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | 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
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:171:13: error: 'Spacer' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | 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
173 | VStack {
174 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | 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
173 | VStack {
174 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | 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
173 | VStack {
174 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:172: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | 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
173 | VStack {
174 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:173:17: error: 'VStack' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | HStack {
175 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:173: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | 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
174 | HStack {
175 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:173: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | 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
174 | HStack {
175 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:174: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
174 | 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
175 | Spacer()
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:174:21: error: 'HStack' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
174 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | Spacer()
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:174: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
174 | 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
175 | Spacer()
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:175: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
173 | VStack {
174 | HStack {
175 | 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
176 | }
177 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:175:25: error: 'Spacer' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
173 | VStack {
174 | HStack {
175 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
176 | }
177 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:174: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | VStack {
174 | 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
175 | Spacer()
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:177:21: error: 'HStack' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
175 | Spacer()
176 | }
177 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | ZStack (alignment: .top){
179 | HStack (alignment: .top){
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:178:25: error: 'ZStack' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
176 | }
177 | HStack {
178 | ZStack (alignment: .top){
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | HStack (alignment: .top){
180 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:178:45: error: 'top' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
176 | }
177 | HStack {
178 | ZStack (alignment: .top){
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | HStack (alignment: .top){
180 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:179:29: error: 'HStack' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
177 | HStack {
178 | ZStack (alignment: .top){
179 | HStack (alignment: .top){
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | Button(action: {
181 | //
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:179:49: error: 'top' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
177 | HStack {
178 | ZStack (alignment: .top){
179 | HStack (alignment: .top){
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | Button(action: {
181 | //
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:180:33: error: 'Button' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
178 | ZStack (alignment: .top){
179 | HStack (alignment: .top){
180 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
181 | //
182 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:183:37: error: 'Image' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
181 | //
182 | }, label: {
183 | Image(systemName: "xmark")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
184 | .resizable()
185 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:183:37: error: 'init(systemName:)' is only available in macOS 11.0 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
181 | //
182 | }, label: {
183 | Image(systemName: "xmark")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
184 | .resizable()
185 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:184:42: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
182 | }, label: {
183 | Image(systemName: "xmark")
184 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
185 | .aspectRatio(contentMode: .fit)
186 | .frame(width: 14, height: 14)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:185:42: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
183 | Image(systemName: "xmark")
184 | .resizable()
185 | .aspectRatio(contentMode: .fit)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | .frame(width: 14, height: 14)
187 | .foregroundColor(.black)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:186:42: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
184 | .resizable()
185 | .aspectRatio(contentMode: .fit)
186 | .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
187 | .foregroundColor(.black)
188 | })
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:187:42: error: 'foregroundColor' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
185 | .aspectRatio(contentMode: .fit)
186 | .frame(width: 14, height: 14)
187 | .foregroundColor(.black)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
188 | })
189 | .frame(width: 20)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:187:59: error: 'black' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
185 | .aspectRatio(contentMode: .fit)
186 | .frame(width: 14, height: 14)
187 | .foregroundColor(.black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
188 | })
189 | .frame(width: 20)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:189:34: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
187 | .foregroundColor(.black)
188 | })
189 | .frame(width: 20)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
190 | .padding(.top, 2)
191 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:190:34: error: 'padding' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
188 | })
189 | .frame(width: 20)
190 | .padding(.top, 2)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
191 |
192 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:192: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
190 | .padding(.top, 2)
191 |
192 | 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
193 | }
194 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:192:33: error: 'Spacer' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
190 | .padding(.top, 2)
191 |
192 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
193 | }
194 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:179: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
177 | HStack {
178 | ZStack (alignment: .top){
179 | 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
180 | Button(action: {
181 | //
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:195: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
193 | }
194 |
195 | 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
196 | Text("Why do I need to connect to do the job?")
197 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:195:29: error: 'Spacer' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
193 | }
194 |
195 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | Text("Why do I need to connect to do the job?")
197 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:196:29: error: 'Text' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
194 |
195 | Spacer()
196 | 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
197 | .multilineTextAlignment(.center)
198 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:197:34: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
195 | Spacer()
196 | Text("Why do I need to connect to do the job?")
197 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
199 | .padding(.horizontal, 72)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:198:34: error: 'font' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
196 | Text("Why do I need to connect to do the job?")
197 | .multilineTextAlignment(.center)
198 | .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
199 | .padding(.horizontal, 72)
200 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:198:39: error: 'Font' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
196 | Text("Why do I need to connect to do the job?")
197 | .multilineTextAlignment(.center)
198 | .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
199 | .padding(.horizontal, 72)
200 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:198:44: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
196 | Text("Why do I need to connect to do the job?")
197 | .multilineTextAlignment(.center)
198 | .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
199 | .padding(.horizontal, 72)
200 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:199:34: error: 'padding' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
197 | .multilineTextAlignment(.center)
198 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
199 | .padding(.horizontal, 72)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
200 | .fixedSize(horizontal: false, vertical: true)
201 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:200:34: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
198 | .font(Font.system(size: 16.0, weight: .semibold, design: .rounded))
199 | .padding(.horizontal, 72)
200 | .fixedSize(horizontal: false, vertical: true)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
201 |
202 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:202: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
200 | .fixedSize(horizontal: false, vertical: true)
201 |
202 | 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
203 | }
204 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:202:29: error: 'Spacer' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
200 | .fixedSize(horizontal: false, vertical: true)
201 |
202 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
203 | }
204 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:178: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
176 | }
177 | HStack {
178 | 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
179 | HStack (alignment: .top){
180 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:178: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
176 | }
177 | HStack {
178 | 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
179 | HStack (alignment: .top){
180 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:205:22: error: 'padding' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
203 | }
204 | }
205 | .padding(.bottom, 20)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
206 | .padding(.horizontal, 18)
207 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:206:22: error: 'padding' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
204 | }
205 | .padding(.bottom, 20)
206 | .padding(.horizontal, 18)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
207 |
208 | 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:208:21: error: 'Text' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
206 | .padding(.horizontal, 18)
207 |
208 | 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
209 | .multilineTextAlignment(.leading)
210 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:209:26: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
207 |
208 | 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.")
209 | .multilineTextAlignment(.leading)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
210 | .fixedSize(horizontal: false, vertical: true)
211 | .padding(.horizontal, 40)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:210:26: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
208 | 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.")
209 | .multilineTextAlignment(.leading)
210 | .fixedSize(horizontal: false, vertical: true)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | .padding(.horizontal, 40)
212 | .foregroundColor(.gray)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:211:26: error: 'padding' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
209 | .multilineTextAlignment(.leading)
210 | .fixedSize(horizontal: false, vertical: true)
211 | .padding(.horizontal, 40)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
212 | .foregroundColor(.gray)
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:212:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
210 | .fixedSize(horizontal: false, vertical: true)
211 | .padding(.horizontal, 40)
212 | .foregroundColor(.gray)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
213 | }
214 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:212:43: error: 'gray' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
:
210 | .fixedSize(horizontal: false, vertical: true)
211 | .padding(.horizontal, 40)
212 | .foregroundColor(.gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
213 | }
214 |
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:173: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
173 | 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
174 | HStack {
175 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:170: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
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
170 | 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
171 | Spacer()
172 | ActionSheetCustomViewCard(content: {
[4/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:66: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
:
64 | }
65 |
66 | var topHalfMiddleBar: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
67 | Capsule()
68 | .frame(width: 36, height: 5)
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:75: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
:
73 |
74 |
75 | func dragGestureOnChange(_ value: DragGesture.Value) {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
76 | isDragging = true
77 | if value.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:91: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
:
89 | }
90 |
91 | var interactiveGesture: some Gesture {
| | `- error: 'Gesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
92 | DragGesture()
93 | .onChanged({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:101: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
:
99 | }
100 |
101 | var outOfFocusArea: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | Group {
103 | if isShowing {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:111: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
:
109 | }
110 |
111 | var customView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
112 | content
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:115: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
:
113 | }
114 |
115 | var sheetView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
116 | VStack {
117 | if !showFullScreen {
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:137: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
:
135 | }
136 |
137 | var bodyContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
138 | ZStack {
139 | outOfFocusArea
/Users/admin/builder/spi-builder-workspace/Sources/ActionSheetCustomViewCard.swift:154: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
:
152 | }
153 |
154 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
155 | Group {
156 | 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:169:31: error: 'View' is only available in macOS 10.15 or newer
166 | }
167 |
168 | struct ActionSheetCustomViewCard_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
169 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
170 | VStack {
171 | 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 | }
[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/Demo': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Resources': File not found.
BUILD FAILURE 6.2 macosSpm