Build Information
Failed to build AnimatedSwipeCard with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/arbyruns/AnimatedSwipeCard.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/arbyruns/AnimatedSwipeCard
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dbec682 Update README.md
Cloned https://github.com/arbyruns/AnimatedSwipeCard.git
Revision (git rev-parse @):
dbec682d76a4a1b0402fd028875e4d281ffaf109
SUCCESS checkout https://github.com/arbyruns/AnimatedSwipeCard.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/arbyruns/AnimatedSwipeCard.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module AnimatedSwipeCard
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:38:32: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
36 | imageHeight: CGFloat = 50,
37 | imageWidth: CGFloat = 50,
38 | showCardAlert: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
39 | bindingID: Binding<String>?,
40 | bindingText: Binding<String>?,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:39:28: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
37 | imageWidth: CGFloat = 50,
38 | showCardAlert: Binding<Bool>,
39 | bindingID: Binding<String>?,
| `- error: 'Binding' is only available in macOS 10.15 or newer
40 | bindingText: Binding<String>?,
41 | bindingSubText: Binding<String>?
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:40:30: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
38 | showCardAlert: Binding<Bool>,
39 | bindingID: Binding<String>?,
40 | bindingText: Binding<String>?,
| `- error: 'Binding' is only available in macOS 10.15 or newer
41 | bindingSubText: Binding<String>?
42 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:41:33: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
39 | bindingID: Binding<String>?,
40 | bindingText: Binding<String>?,
41 | bindingSubText: Binding<String>?
| `- error: 'Binding' is only available in macOS 10.15 or newer
42 | ) {
43 | self.animationShakeAmount = animationShakeAmount
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:68:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
66 | var cardID = ""
67 |
68 | @State var offset = CGSize.zero
| `- error: 'State' is only available in macOS 10.15 or newer
69 | @State var rotate = 00.0
70 | @State var animateReminder = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:69:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
67 |
68 | @State var offset = CGSize.zero
69 | @State var rotate = 00.0
| `- error: 'State' is only available in macOS 10.15 or newer
70 | @State var animateReminder = false
71 | @State var animateShake1 = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:70:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
68 | @State var offset = CGSize.zero
69 | @State var rotate = 00.0
70 | @State var animateReminder = false
| `- error: 'State' is only available in macOS 10.15 or newer
71 | @State var animateShake1 = false
72 | @State var animateShake2 = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:71:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
69 | @State var rotate = 00.0
70 | @State var animateReminder = false
71 | @State var animateShake1 = false
| `- error: 'State' is only available in macOS 10.15 or newer
72 | @State var animateShake2 = false
73 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:72:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
70 | @State var animateReminder = false
71 | @State var animateShake1 = false
72 | @State var animateShake2 = false
| `- error: 'State' is only available in macOS 10.15 or newer
73 |
74 | @Binding var showCardAlert: Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:74:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
72 | @State var animateShake2 = false
73 |
74 | @Binding var showCardAlert: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
75 | @Binding var bindingID: String
76 | @Binding var bindingText: String
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:75:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
73 |
74 | @Binding var showCardAlert: Bool
75 | @Binding var bindingID: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
76 | @Binding var bindingText: String
77 | @Binding var bindingSubText: String
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:76:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
74 | @Binding var showCardAlert: Bool
75 | @Binding var bindingID: String
76 | @Binding var bindingText: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
77 | @Binding var bindingSubText: String
78 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:77:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
75 | @Binding var bindingID: String
76 | @Binding var bindingText: String
77 | @Binding var bindingSubText: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
78 |
79 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:80:27: error: 'View' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:193:31: error: 'View' is only available in macOS 10.15 or newer
190 |
191 | @available(iOS 14.0, *)
192 | struct CardRowView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
193 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
194 | CardRowView(animationShakeAmount: 5.0, titleText: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium", subText: "subtext", color: "StatusCard", showCardAlert: .constant(false), bindingID: .constant("42"), bindingText: .constant(""), bindingSubText: .constant(""))
195 | }
[4/5] Compiling AnimatedSwipeCard Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:15:25: error: cannot find 'UINotificationFeedbackGenerator' in scope
13 | switch style {
14 | case "error":
15 | let generator = UINotificationFeedbackGenerator()
| `- error: cannot find 'UINotificationFeedbackGenerator' in scope
16 | generator.notificationOccurred(.error)
17 | case "heavy":
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:16:41: error: cannot infer contextual base in reference to member 'error'
14 | case "error":
15 | let generator = UINotificationFeedbackGenerator()
16 | generator.notificationOccurred(.error)
| `- error: cannot infer contextual base in reference to member 'error'
17 | case "heavy":
18 | let impactMed = UIImpactFeedbackGenerator(style: .heavy)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:18:25: error: cannot find 'UIImpactFeedbackGenerator' in scope
16 | generator.notificationOccurred(.error)
17 | case "heavy":
18 | let impactMed = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
19 | impactMed.impactOccurred()
20 | case "medium":
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:18:59: error: cannot infer contextual base in reference to member 'heavy'
16 | generator.notificationOccurred(.error)
17 | case "heavy":
18 | let impactMed = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot infer contextual base in reference to member 'heavy'
19 | impactMed.impactOccurred()
20 | case "medium":
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:21:25: error: cannot find 'UIImpactFeedbackGenerator' in scope
19 | impactMed.impactOccurred()
20 | case "medium":
21 | let impactMed = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
22 | impactMed.impactOccurred()
23 | default:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:21:59: error: cannot infer contextual base in reference to member 'medium'
19 | impactMed.impactOccurred()
20 | case "medium":
21 | let impactMed = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot infer contextual base in reference to member 'medium'
22 | impactMed.impactOccurred()
23 | default:
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:24:25: error: cannot find 'UIImpactFeedbackGenerator' in scope
22 | impactMed.impactOccurred()
23 | default:
24 | let impactMed = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
25 | impactMed.impactOccurred()
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/Haptics.swift:24:59: error: cannot infer contextual base in reference to member 'light'
22 | impactMed.impactOccurred()
23 | default:
24 | let impactMed = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot infer contextual base in reference to member 'light'
25 | impactMed.impactOccurred()
26 | }
[5/5] Compiling AnimatedSwipeCard CardRowView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:38:32: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
36 | imageHeight: CGFloat = 50,
37 | imageWidth: CGFloat = 50,
38 | showCardAlert: Binding<Bool>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
39 | bindingID: Binding<String>?,
40 | bindingText: Binding<String>?,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:39:28: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
37 | imageWidth: CGFloat = 50,
38 | showCardAlert: Binding<Bool>,
39 | bindingID: Binding<String>?,
| `- error: 'Binding' is only available in macOS 10.15 or newer
40 | bindingText: Binding<String>?,
41 | bindingSubText: Binding<String>?
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:40:30: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
38 | showCardAlert: Binding<Bool>,
39 | bindingID: Binding<String>?,
40 | bindingText: Binding<String>?,
| `- error: 'Binding' is only available in macOS 10.15 or newer
41 | bindingSubText: Binding<String>?
42 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:41:33: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
27 | /// - bindingText: pass State to store text. This maybe the same as titleText
28 | /// - bindingSubText: pass State to store text. This maybe the same as subText
29 | public init(animationShakeAmount: Double = 5.0,
| `- note: add @available attribute to enclosing initializer
30 | swipeScale: Double = 0.8,
31 | titleText: String,
:
39 | bindingID: Binding<String>?,
40 | bindingText: Binding<String>?,
41 | bindingSubText: Binding<String>?
| `- error: 'Binding' is only available in macOS 10.15 or newer
42 | ) {
43 | self.animationShakeAmount = animationShakeAmount
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:68:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
66 | var cardID = ""
67 |
68 | @State var offset = CGSize.zero
| `- error: 'State' is only available in macOS 10.15 or newer
69 | @State var rotate = 00.0
70 | @State var animateReminder = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:69:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
67 |
68 | @State var offset = CGSize.zero
69 | @State var rotate = 00.0
| `- error: 'State' is only available in macOS 10.15 or newer
70 | @State var animateReminder = false
71 | @State var animateShake1 = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:70:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
68 | @State var offset = CGSize.zero
69 | @State var rotate = 00.0
70 | @State var animateReminder = false
| `- error: 'State' is only available in macOS 10.15 or newer
71 | @State var animateShake1 = false
72 | @State var animateShake2 = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:71:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
69 | @State var rotate = 00.0
70 | @State var animateReminder = false
71 | @State var animateShake1 = false
| `- error: 'State' is only available in macOS 10.15 or newer
72 | @State var animateShake2 = false
73 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:72:6: error: 'State' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
70 | @State var animateReminder = false
71 | @State var animateShake1 = false
72 | @State var animateShake2 = false
| `- error: 'State' is only available in macOS 10.15 or newer
73 |
74 | @Binding var showCardAlert: Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:74:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
72 | @State var animateShake2 = false
73 |
74 | @Binding var showCardAlert: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
75 | @Binding var bindingID: String
76 | @Binding var bindingText: String
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:75:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
73 |
74 | @Binding var showCardAlert: Bool
75 | @Binding var bindingID: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
76 | @Binding var bindingText: String
77 | @Binding var bindingSubText: String
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:76:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
74 | @Binding var showCardAlert: Bool
75 | @Binding var bindingID: String
76 | @Binding var bindingText: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
77 | @Binding var bindingSubText: String
78 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:77:6: error: 'Binding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
75 | @Binding var bindingID: String
76 | @Binding var bindingText: String
77 | @Binding var bindingSubText: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
78 |
79 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:80:27: error: 'View' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:193:31: error: 'View' is only available in macOS 10.15 or newer
190 |
191 | @available(iOS 14.0, *)
192 | struct CardRowView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
193 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
194 | CardRowView(animationShakeAmount: 5.0, titleText: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium", subText: "subtext", color: "StatusCard", showCardAlert: .constant(false), bindingID: .constant("42"), bindingText: .constant(""), bindingSubText: .constant(""))
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:81:9: error: 'VStack' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:81:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:81:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:81:16: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
| |- warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:82:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .fill(Color(color))
84 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:83:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
84 | .padding(.horizontal)
85 | .shadow(radius: 2)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:83:23: error: 'Color' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | .padding(.horizontal)
85 | .shadow(radius: 2)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:83:23: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
| |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | .padding(.horizontal)
85 | .shadow(radius: 2)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:84:18: error: 'padding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
84 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .shadow(radius: 2)
86 | .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:85:18: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
83 | .fill(Color(color))
84 | .padding(.horizontal)
85 | .shadow(radius: 2)
| |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | .overlay(
87 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:86:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
84 | .padding(.horizontal)
85 | .shadow(radius: 2)
86 | .overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | VStack {
88 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:87:21: error: 'VStack' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
85 | .shadow(radius: 2)
86 | .overlay(
87 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | HStack {
89 | if !imageName.isEmpty{
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:87:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
85 | .shadow(radius: 2)
86 | .overlay(
87 | VStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
88 | HStack {
89 | if !imageName.isEmpty{
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:88:25: error: 'HStack' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
86 | .overlay(
87 | VStack {
88 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | if !imageName.isEmpty{
90 | Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:90:33: error: 'Image' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
88 | HStack {
89 | if !imageName.isEmpty{
90 | Image(imageName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .resizable()
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:90:33: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
88 | HStack {
89 | if !imageName.isEmpty{
90 | Image(imageName)
| |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .resizable()
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:91:38: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
89 | if !imageName.isEmpty{
90 | Image(imageName)
91 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:92:38: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
90 | Image(imageName)
91 | .resizable()
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | }
94 | Text(titleText)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:92:96: error: 'center' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
90 | Image(imageName)
91 | .resizable()
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | }
94 | Text(titleText)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:89:50: error: 'buildIf' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
87 | VStack {
88 | HStack {
89 | if !imageName.isEmpty{
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | Image(imageName)
91 | .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:93:29: error: 'buildIf' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
91 | .resizable()
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
93 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | Text(titleText)
95 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:94:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
93 | }
94 | Text(titleText)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
95 | .fontWeight(.semibold)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:94:29: error: 'Text' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
92 | .frame(width: imageWidth, height: imageHeight, alignment: .center)
93 | }
94 | Text(titleText)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .fontWeight(.semibold)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:95:34: error: 'fontWeight' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
93 | }
94 | Text(titleText)
95 | .fontWeight(.semibold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:88:32: 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
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
86 | .overlay(
87 | VStack {
88 | HStack {
| |- 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
89 | if !imageName.isEmpty{
90 | Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:88:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
86 | .overlay(
87 | VStack {
88 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | if !imageName.isEmpty{
90 | Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:97:26: error: 'padding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
95 | .fontWeight(.semibold)
96 | }
97 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | HStack {
99 | Text(subText)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:98:25: error: 'HStack' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
96 | }
97 | .padding(.horizontal)
98 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | Text(subText)
100 | .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:98:25: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
96 | }
97 | .padding(.horizontal)
98 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
99 | Text(subText)
100 | .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:99:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
97 | .padding(.horizontal)
98 | HStack {
99 | Text(subText)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
100 | .font(.subheadline)
101 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:99:29: error: 'Text' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
97 | .padding(.horizontal)
98 | HStack {
99 | Text(subText)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | .font(.subheadline)
101 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:100:34: error: 'font' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
98 | HStack {
99 | Text(subText)
100 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .foregroundColor(.secondary)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:100:40: error: 'subheadline' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
98 | HStack {
99 | Text(subText)
100 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | .foregroundColor(.secondary)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:101:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
99 | Text(subText)
100 | .font(.subheadline)
101 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | }
103 | .padding(.top)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:101:51: error: 'secondary' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
99 | Text(subText)
100 | .font(.subheadline)
101 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | }
103 | .padding(.top)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:98:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
96 | }
97 | .padding(.horizontal)
98 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
99 | Text(subText)
100 | .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:103:26: error: 'padding' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
101 | .foregroundColor(.secondary)
102 | }
103 | .padding(.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | }
105 | )
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:106:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
104 | }
105 | )
106 | .offset(x: offset.width)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | .scaleEffect(animateReminder ? swipeScale : 1.0)
108 | .rotationEffect(.degrees(animateShake1 ? animationShakeAmount : 0))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:107:18: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
105 | )
106 | .offset(x: offset.width)
107 | .scaleEffect(animateReminder ? swipeScale : 1.0)
| |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .rotationEffect(.degrees(animateShake1 ? animationShakeAmount : 0))
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:108:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
106 | .offset(x: offset.width)
107 | .scaleEffect(animateReminder ? swipeScale : 1.0)
108 | .rotationEffect(.degrees(animateShake1 ? animationShakeAmount : 0))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:109:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
107 | .scaleEffect(animateReminder ? swipeScale : 1.0)
108 | .rotationEffect(.degrees(animateShake1 ? animationShakeAmount : 0))
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
111 | .gesture(DragGesture(minimumDistance: 30, coordinateSpace: .local)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:110:18: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
108 | .rotationEffect(.degrees(animateShake1 ? animationShakeAmount : 0))
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
| |- error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | .gesture(DragGesture(minimumDistance: 30, coordinateSpace: .local)
112 | .onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:111:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
111 | .gesture(DragGesture(minimumDistance: 30, coordinateSpace: .local)
| |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | .onChanged { gesture in
113 | if gesture.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:111:26: error: 'DragGesture' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
111 | .gesture(DragGesture(minimumDistance: 30, coordinateSpace: .local)
| |- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | .onChanged { gesture in
113 | if gesture.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:111:26: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
109 | .rotationEffect(.degrees(animateShake2 ? -animationShakeAmount : 0))
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
111 | .gesture(DragGesture(minimumDistance: 30, coordinateSpace: .local)
| |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | .onChanged { gesture in
113 | if gesture.translation.width < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:112:22: error: 'onChanged' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
110 | .rotation3DEffect(.degrees(rotate / 2), axis: (x: 1, y: 0, z: 0))
111 | .gesture(DragGesture(minimumDistance: 30, coordinateSpace: .local)
112 | .onChanged { gesture in
| |- error: 'onChanged' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | if gesture.translation.width < 0 {
114 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:114:29: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
112 | .onChanged { gesture in
113 | if gesture.translation.width < 0 {
114 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
115 | offset = gesture.translation
116 | while rotate < 90.0 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:115:33: error: setter for 'offset' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
113 | if gesture.translation.width < 0 {
114 | withAnimation {
115 | offset = gesture.translation
| |- error: setter for 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
116 | while rotate < 90.0 {
117 | rotate += 10.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:117:37: error: cannot pass as inout because setter for 'rotate' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
115 | offset = gesture.translation
116 | while rotate < 90.0 {
117 | rotate += 10.0
| |- error: cannot pass as inout because setter for 'rotate' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:121:29: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
119 | }
120 | } else if gesture.translation.width > 0 {
121 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | offset = gesture.translation
123 | while rotate < 90.0 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:122:33: error: setter for 'offset' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
120 | } else if gesture.translation.width > 0 {
121 | withAnimation {
122 | offset = gesture.translation
| |- error: setter for 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | while rotate < 90.0 {
124 | rotate += 0.06
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:124:37: error: cannot pass as inout because setter for 'rotate' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
122 | offset = gesture.translation
123 | while rotate < 90.0 {
124 | rotate += 0.06
| |- error: cannot pass as inout because setter for 'rotate' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:128:23: error: 'onEnded' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
126 | }
127 | }
128 | }.onEnded{ value in
| |- error: 'onEnded' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | print(value.translation.width)
130 | if value.translation.width > 150 {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:132:29: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
130 | if value.translation.width > 150 {
131 | print(value.translation.width)
132 | withAnimation(.spring()) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
133 | offset = .zero
134 | rotate = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:132:44: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
130 | if value.translation.width > 150 {
131 | print(value.translation.width)
132 | withAnimation(.spring()) {
| |- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
133 | offset = .zero
134 | rotate = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:133:33: error: setter for 'offset' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
131 | print(value.translation.width)
132 | withAnimation(.spring()) {
133 | offset = .zero
| |- error: setter for 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
134 | rotate = 1.0
135 | playHaptic(style: "medium")
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:134:33: error: setter for 'rotate' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
132 | withAnimation(.spring()) {
133 | offset = .zero
134 | rotate = 1.0
| |- error: setter for 'rotate' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | playHaptic(style: "medium")
136 | showCardAlert = true
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:136:33: error: setter for 'showCardAlert' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
134 | rotate = 1.0
135 | playHaptic(style: "medium")
136 | showCardAlert = true
| |- error: setter for 'showCardAlert' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
137 | animateReminder = true
138 | animateShake1 = true
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:137:33: error: setter for 'animateReminder' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
135 | playHaptic(style: "medium")
136 | showCardAlert = true
137 | animateReminder = true
| |- error: setter for 'animateReminder' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | animateShake1 = true
139 | bindingID = cardID
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:138:33: error: setter for 'animateShake1' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
136 | showCardAlert = true
137 | animateReminder = true
138 | animateShake1 = true
| |- error: setter for 'animateShake1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | bindingID = cardID
140 | bindingText = titleText
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:139:33: error: setter for 'bindingID' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
137 | animateReminder = true
138 | animateShake1 = true
139 | bindingID = cardID
| |- error: setter for 'bindingID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
140 | bindingText = titleText
141 | bindingSubText = subText
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:140:33: error: setter for 'bindingText' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
138 | animateShake1 = true
139 | bindingID = cardID
140 | bindingText = titleText
| |- error: setter for 'bindingText' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | bindingSubText = subText
142 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:141:33: error: setter for 'bindingSubText' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
139 | bindingID = cardID
140 | bindingText = titleText
141 | bindingSubText = subText
| |- error: setter for 'bindingSubText' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
143 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:143:37: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
141 | bindingSubText = subText
142 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
143 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | animateShake1 = false
145 | animateShake2 = true
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:144:41: error: setter for 'animateShake1' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
142 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
143 | withAnimation {
144 | animateShake1 = false
| |- error: setter for 'animateShake1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | animateShake2 = true
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:145:41: error: setter for 'animateShake2' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
143 | withAnimation {
144 | animateShake1 = false
145 | animateShake2 = true
| |- error: setter for 'animateShake2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:149:37: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
147 | }
148 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {
149 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | animateShake2 = false
151 | animateReminder = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:150:41: error: setter for 'animateShake2' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
148 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {
149 | withAnimation {
150 | animateShake2 = false
| |- error: setter for 'animateShake2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
151 | animateReminder = false
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:151:41: error: setter for 'animateReminder' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
149 | withAnimation {
150 | animateShake2 = false
151 | animateReminder = false
| |- error: setter for 'animateReminder' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:157:29: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
155 | } else if value.translation.width < 50 {
156 | print(value.translation.width)
157 | withAnimation(.spring()) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | offset = .zero
159 | rotate = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:157:44: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
155 | } else if value.translation.width < 50 {
156 | print(value.translation.width)
157 | withAnimation(.spring()) {
| |- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | offset = .zero
159 | rotate = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:158:33: error: setter for 'offset' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
156 | print(value.translation.width)
157 | withAnimation(.spring()) {
158 | offset = .zero
| |- error: setter for 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | rotate = 1.0
160 | playHaptic(style: "medium")
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:159:33: error: setter for 'rotate' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
157 | withAnimation(.spring()) {
158 | offset = .zero
159 | rotate = 1.0
| |- error: setter for 'rotate' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
160 | playHaptic(style: "medium")
161 | showCardAlert = true
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:161:33: error: setter for 'showCardAlert' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
159 | rotate = 1.0
160 | playHaptic(style: "medium")
161 | showCardAlert = true
| |- error: setter for 'showCardAlert' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | animateReminder = true
163 | animateShake2 = true
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:162:33: error: setter for 'animateReminder' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
160 | playHaptic(style: "medium")
161 | showCardAlert = true
162 | animateReminder = true
| |- error: setter for 'animateReminder' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
163 | animateShake2 = true
164 | bindingID = cardID
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:163:33: error: setter for 'animateShake2' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
161 | showCardAlert = true
162 | animateReminder = true
163 | animateShake2 = true
| |- error: setter for 'animateShake2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
164 | bindingID = cardID
165 | bindingText = titleText
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:164:33: error: setter for 'bindingID' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
162 | animateReminder = true
163 | animateShake2 = true
164 | bindingID = cardID
| |- error: setter for 'bindingID' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 | bindingText = titleText
166 | bindingSubText = subText
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:165:33: error: setter for 'bindingText' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
163 | animateShake2 = true
164 | bindingID = cardID
165 | bindingText = titleText
| |- error: setter for 'bindingText' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
166 | bindingSubText = subText
167 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:166:33: error: setter for 'bindingSubText' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
164 | bindingID = cardID
165 | bindingText = titleText
166 | bindingSubText = subText
| |- error: setter for 'bindingSubText' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
167 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
168 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:168:37: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
166 | bindingSubText = subText
167 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
168 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 | animateShake2 = false
170 | animateShake1 = true
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:169:41: error: setter for 'animateShake2' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
167 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
168 | withAnimation {
169 | animateShake2 = false
| |- error: setter for 'animateShake2' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
170 | animateShake1 = true
171 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:170:41: error: setter for 'animateShake1' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
168 | withAnimation {
169 | animateShake2 = false
170 | animateShake1 = true
| |- error: setter for 'animateShake1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
171 | }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:174:37: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
172 | }
173 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {
174 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | animateShake1 = false
176 | animateReminder = false
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:175:41: error: setter for 'animateShake1' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
173 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {
174 | withAnimation {
175 | animateShake1 = false
| |- error: setter for 'animateShake1' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
176 | animateReminder = false
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:176:41: error: setter for 'animateReminder' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
174 | withAnimation {
175 | animateShake1 = false
176 | animateReminder = false
| |- error: setter for 'animateReminder' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:181:29: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
179 | }
180 | } else {
181 | withAnimation(.spring()) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | offset = .zero
183 | rotate = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:181:44: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
179 | }
180 | } else {
181 | withAnimation(.spring()) {
| |- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | offset = .zero
183 | rotate = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:182:33: error: setter for 'offset' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
180 | } else {
181 | withAnimation(.spring()) {
182 | offset = .zero
| |- error: setter for 'offset' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | rotate = 1.0
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedSwipeCard/CardRowView.swift:183:33: error: setter for 'rotate' is only available in macOS 10.15 or newer
12 | @available(iOS 14.0, *)
13 |
14 | public struct CardRowView: View {
| `- note: add @available attribute to enclosing struct
15 |
16 |
:
78 |
79 |
80 | public var body: some View {
| `- note: add @available attribute to enclosing property
81 | VStack {
82 | RoundedRectangle(cornerRadius: 13)
:
181 | withAnimation(.spring()) {
182 | offset = .zero
183 | rotate = 1.0
| |- error: setter for 'rotate' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
184 | }
185 | }
BUILD FAILURE 6.0 macosSpm